• juan.azcarreta.ortiz's avatar
    Add playback function (#3026) · 2ead941e
    juan.azcarreta.ortiz authored
    Summary:
    Allows user to play audio through the
    device speaker.
    
    Pull Request resolved: https://github.com/pytorch/audio/pull/3026
    
    Test Plan:
    Created a new test that mocks a call to the write audio chunk method from StreamWriter. To run the test:
    
    `pytest test/torchaudio_unittest/io/_playback_test.py`
    
    Reviewed By: mthrok
    
    Differential Revision: D43082062
    
    Pulled By: jazcarretao
    
    fbshipit-source-id: 01a85b32ce925687a633d1208d15d54556e89dd8
    2ead941e
playback_test.py 2.17 KB