torchaudio/csrc/pybind/sox/effects.h (12 lines of code) (raw):

#ifndef TORCHAUDIO_PYBIND_SOX_EFFECTS_H #define TORCHAUDIO_PYBIND_SOX_EFFECTS_H #include <torch/extension.h> namespace torchaudio::sox_effects { auto apply_effects_fileobj( py::object fileobj, const std::vector<std::vector<std::string>>& effects, c10::optional<bool> normalize, c10::optional<bool> channels_first, c10::optional<std::string> format) -> std::tuple<torch::Tensor, int64_t>; } // namespace torchaudio::sox_effects #endif