summaryrefslogtreecommitdiffstats
path: root/media/libcubeb/src/cubeb_audiounit.cpp
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-03-18 08:14:23 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-03-18 08:14:23 +0100
commita36c3f69c82e1a38b43f0c5f36c562fb08615c62 (patch)
tree78f9875465a215447e28f1a2c8363c2ea05b3a87 /media/libcubeb/src/cubeb_audiounit.cpp
parentc7c3c8600febd196152e5b23f687cbe8aa493627 (diff)
parentb0c7cca308a4321dea734044ccdb511dbedea83b (diff)
downloadUXP-a36c3f69c82e1a38b43f0c5f36c562fb08615c62.tar
UXP-a36c3f69c82e1a38b43f0c5f36c562fb08615c62.tar.gz
UXP-a36c3f69c82e1a38b43f0c5f36c562fb08615c62.tar.lz
UXP-a36c3f69c82e1a38b43f0c5f36c562fb08615c62.tar.xz
UXP-a36c3f69c82e1a38b43f0c5f36c562fb08615c62.zip
Merge branch 'master' of https://github.com/MoonchildProductions/UXP
Diffstat (limited to 'media/libcubeb/src/cubeb_audiounit.cpp')
-rw-r--r--media/libcubeb/src/cubeb_audiounit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libcubeb/src/cubeb_audiounit.cpp b/media/libcubeb/src/cubeb_audiounit.cpp
index f24dfbff2..9483c2795 100644
--- a/media/libcubeb/src/cubeb_audiounit.cpp
+++ b/media/libcubeb/src/cubeb_audiounit.cpp
@@ -1443,12 +1443,12 @@ audiounit_set_buffer_size(cubeb_stream * stm, uint32_t new_size_frames, set_buff
buffer_size_changed_callback,
stm);
if (r != noErr) {
- return CUBEB_ERROR;
if (set_side == INPUT) {
PRINT_ERROR_CODE("AudioUnitAddPropertyListener/input/kAudioDevicePropertyBufferFrameSize", r);
} else {
PRINT_ERROR_CODE("AudioUnitAddPropertyListener/output/kAudioDevicePropertyBufferFrameSize", r);
}
+ return CUBEB_ERROR;
}
if (!stm->buffer_size_change_state && count >= 30) {