Clean-up StreamReader/StreamWriter interface (#3328)
Summary: Pull Request resolved: https://github.com/pytorch/audio/pull/3328 Make the `AVIOContext`-based constructor protected for better encapsulation. AVFormatContext and optional AVIOContext are managed by StreamReader/Writer, so it's better that they are abstracted away from client code. Reviewed By: hwangjeff Differential Revision: D45779629 fbshipit-source-id: 44c31e8af785447cb47aad0c44bf4ecf1aeebeaa
Showing
Please register or sign in to comment