diff options
author | Hans Petter Selasky <[email protected]> | 2021-11-26 18:27:53 +0100 |
---|---|---|
committer | Matthew Gregan <[email protected]> | 2021-11-29 12:36:19 +1300 |
commit | 5b0b7f6bf7c7a874abcb31de8dd386f147bab539 (patch) | |
tree | 578ed2767f7967500b35eb370f26a7fb512ef3eb /src/cubeb_mixer.cpp | |
parent | dcc5cb5c15a0ee0ea0f9f9a04d4cd48af6714501 (diff) | |
download | cubeb-5b0b7f6bf7c7a874abcb31de8dd386f147bab539.tar.gz cubeb-5b0b7f6bf7c7a874abcb31de8dd386f147bab539.zip |
cubeb_oss: Fix for buffer overrun.
The hardware buffer is typically bigger than the software buffer.
Make sure to properly limit the available buffer size values
obtained from the DSP device.
While at it ensure to retry-polling in case either recording or
playback cannot move any data.
Diffstat (limited to 'src/cubeb_mixer.cpp')
0 files changed, 0 insertions, 0 deletions