We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa10ed1 commit dfa5bcbCopy full SHA for dfa5bcb
src/torchcodec/_core/pybind_ops.cpp
@@ -46,7 +46,7 @@ int64_t encode_audio_to_file_like(
46
uintptr_t data_ptr,
47
py::list shape,
48
int64_t sample_rate,
49
- const std::string& format,
+ std::string_view format,
50
py::object file_like,
51
std::optional<int64_t> bit_rate = std::nullopt,
52
std::optional<int64_t> num_channels = std::nullopt) {
0 commit comments