• moto's avatar
    Remove mad (#2428) · d2ecba98
    moto authored
    Summary:
    Remove the code related to libmad, which had been disabled in https://github.com/pytorch/audio/issues/2354
    
    In https://github.com/pytorch/audio/issues/2419, we mp3 decoding to ffmpeg. But CI tests were still using libmad.
    This commit completely removes libmad from torchaudio.
    
    This is BC-breaking change as `apply_sox_effects_file` function cannot handle MP3, and it cannot fallback to ffmpeg.
    The workaround for this is to use `torchaudio.load` then `apply_sox_effects_tensor`.
    
    Pull Request resolved: https://github.com/pytorch/audio/pull/2428
    
    Reviewed By: carolineechen
    
    Differential Revision: D36851805
    
    Pulled By: mthrok
    
    fbshipit-source-id: f98795c59a1ac61cef511f2bbeac37f7c3c69d55
    d2ecba98
extension.py 6.33 KB