Remove dynamic memory allocations and locks from real-time audio path on Mac |
|
Issue descriptionExamples: FIFO https://cs.chromium.org/chromium/src/media/audio/mac/audio_auhal_mac.cc?l=309 https://cs.chromium.org/chromium/src/media/audio/mac/audio_low_latency_input_mac.cc?l=980 lock https://cs.chromium.org/chromium/src/media/audio/mac/audio_auhal_mac.cc?l=331 PostTask (involves locks and memory allocation; we probably can't get rid of it but at least minimize its usage) https://cs.chromium.org/chromium/src/media/audio/mac/audio_low_latency_input_mac.cc?l=823
,
May 30 2017
Removal of the restart mechanism removed one post task (and one atomic write) each callback. https://codereview.chromium.org/2896423003/ |
|
►
Sign in to add a comment |
|
Comment 1 by dalecur...@chromium.org
, May 15 2017