#ifndef TORCHAUDIO_SOX_IO_H #define TORCHAUDIO_SOX_IO_H #include #include namespace torchaudio::sox { auto get_effects( const c10::optional& frame_offset, const c10::optional& num_frames) -> std::vector>; std::tuple get_info_file( const std::string& path, const c10::optional& format); std::tuple load_audio_file( const std::string& path, const c10::optional& frame_offset, const c10::optional& num_frames, c10::optional normalize, c10::optional channels_first, const c10::optional& format); void save_audio_file( const std::string& path, torch::Tensor tensor, int64_t sample_rate, bool channels_first, c10::optional compression, c10::optional format, c10::optional encoding, c10::optional bits_per_sample); } // namespace torchaudio::sox #endif