aboutsummaryrefslogtreecommitdiffstats
path: root/presets/itu5.1.ambdec
diff options
context:
space:
mode:
authoralexey.lysiuk <[email protected]>2021-06-21 12:42:47 +0300
committeralexey.lysiuk <[email protected]>2021-06-21 13:24:45 +0300
commit375838c4735e001cc62f820adc199c7a80179c86 (patch)
tree3489dc8d9bf03218a767f549be1b1e3ba1599218 /presets/itu5.1.ambdec
parent04a6e418d7c614e7ccab560d4f0084fa50587e26 (diff)
Fix getting of device channel count in CoreAudio backend
AudioBufferList contains a variable length array of mNumberBuffers elements, so it should not be created with the default constructor like usual class instances. Unfortunately, Apple developer site documentation is literally empty for this API. There is a bunch of comments in framework's header files. Here is the correct usage of AudioBufferList pointer from Chromium: https://chromium.googlesource.com/chromium/src/media/+/008a1abc573e1f8bcf513b50ce48a923b30ef130/audio/mac/audio_manager_mac.cc#266 There were occasional crashes because of memory corruption which was confirmed by address sanitizer
Diffstat (limited to 'presets/itu5.1.ambdec')
0 files changed, 0 insertions, 0 deletions