| 51 | } |
| 52 | |
| 53 | std::filesystem::path output_path_for( |
| 54 | const std::filesystem::path & input_file, |
| 55 | const std::filesystem::path & output_dir, |
| 56 | const std::string & suffix) { |
| 57 | std::filesystem::create_directories(output_dir); |
| 58 | return output_dir / (input_file.stem().string() + suffix + ".wav"); |
| 59 | } |
| 60 | |
| 61 | void create_output_parent(const std::filesystem::path & output_wav) { |
| 62 | const auto parent = output_wav.parent_path(); |
no outgoing calls
no test coverage detected