• hwangjeff's avatar
    Revise encoder config arg and docstrings (#3203) · b1de9f1a
    hwangjeff authored
    Summary:
    For `StreamWriter`,
    * Renames arg `config` to codec_config`.
    * Renames struct `EncodingConfig` and dataclass `EncodeConfig` to `CodecConfig`.
    * Adds docstrings for arg codec_config`.
    * Updates `chunk` to `frames` in `write_*_chunk` methods.
    
    Pull Request resolved: https://github.com/pytorch/audio/pull/3203
    
    Reviewed By: mthrok
    
    Differential Revision: D44350153
    
    Pulled By: hwangjeff
    
    fbshipit-source-id: 1b940b1366a43ec0565c362bfcbf62744088b343
    b1de9f1a
io_class.rst 1.72 KB