aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/cubeb_mixer.cpp
diff options
context:
space:
mode:
authorHans Petter Selasky <[email protected]>2021-11-26 18:27:53 +0100
committerMatthew Gregan <[email protected]>2021-11-29 12:36:19 +1300
commit5b0b7f6bf7c7a874abcb31de8dd386f147bab539 (patch)
tree578ed2767f7967500b35eb370f26a7fb512ef3eb /src/cubeb_mixer.cpp
parentdcc5cb5c15a0ee0ea0f9f9a04d4cd48af6714501 (diff)
downloadcubeb-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