Add query methods to FilterGraph (#2976)
Summary: This commit add methods to query output configuration from FilterGraph object. * time_base -> required to compute PTS of output frame * sample_rate, num_channels -> required to compute PTS and pre allocate buffers for audio. Pull Request resolved: https://github.com/pytorch/audio/pull/2976 Reviewed By: xiaohui-zhang Differential Revision: D42466744 Pulled By: mthrok fbshipit-source-id: dd27109819bfb1fbe37b8233dd6a5e4224fe3f6c
Showing
Please register or sign in to comment