• phoglund's avatar
    Moved the fake input stream's processing onto the audio worker thread. · 9e0a7c10
    phoglund authored
    The reason for this is that the fake input stream would not work on Mac
    where the audio non-worker code runs on the UI thread. Therefore, the
    fake input stream would get starved for instance in the WebRTC audio
    quality tests and not play any audio (those tests block the UI thread
    while recording).
    
    This patch introduces a worker precisely like the fake audio consumer
    used by the fake output stream.
    
    BUG=453907,446859
    
    Review URL: https://codereview.chromium.org/922663002
    
    Cr-Commit-Position: refs/heads/master@{#317557}
    9e0a7c10
fake_audio_worker.h 1.87 KB