Add TorchScript-able "info" func to sox_io backend (#728)
This is a part of PRs to add new "sox_io" backend #726, and depends on #718. This PR adds `info` function to "sox_io" backend, which allows users to fetch some metadata of an audio file. At this moment, the information retrieved are; - Number of samples in the audio file - Sampling rate - Number of channels
Showing
torchaudio/csrc/sox_io.cpp
0 → 100644
torchaudio/csrc/sox_io.h
0 → 100644
Please register or sign in to comment