13
0
livetrax/libs
Robin Gareus 9f668ceed2
AU: fix optional buffers
The spec [1] says:
 "If the mData pointers are null, the audio unit can
  provide pointers to its own buffers. In this case,
  the audio unit must keep those buffers valid for
  the duration of the calling thread’s I/O cycle."

A plugin *can* do this, but it does not need to. An extra
NULL test is required.

furthermore [2] specifies

 "mDataByteSize -  The number of bytes in the buffer pointed
  at by the mData field."

In case the host does not provide any buffers, this is obviously zero.


[1] https://developer.apple.com/documentation/audiotoolbox/1438430-audiounitrender?language=objc
[2] https://developer.apple.com/documentation/coreaudiotypes/audiobuffer?language=objc
2019-09-11 02:56:08 +02:00
..
appleutility
ardour AU: fix optional buffers 2019-09-11 02:56:08 +02:00
ardouralsautil Suffix complete hw: ID to make ALSA card names unique 2019-08-16 20:00:29 +02:00
audiographer Engage thread-safe fftw planner in libardour 2019-09-10 03:06:21 +02:00
backends Use preferred pa_context_new_with_proplist API 2019-09-01 19:01:18 +02:00
canvas Update canvas/UI lib GPL boilerplate and (C) from git log 2019-08-03 15:53:17 +02:00
clearlooks-newer
evoral Unit-test: parameter ranges outside [0..1] 2019-09-05 22:42:08 +02:00
fluidsynth Update Fluidsynth to v2.0.6-git 2019-09-04 04:35:59 +02:00
fst Update utility and tools GPL boilerplate and (C) from git log 2019-08-03 15:53:17 +02:00
gtkmm2ext Update canvas/UI lib GPL boilerplate and (C) from git log 2019-08-03 15:53:17 +02:00
hidapi
libltc
lua Update core library GPL boilerplate and (C) from git log 2019-08-03 15:53:17 +02:00
midi++2 Ignore <ExtendingDeviceNames> midnam during unit-test 2019-09-05 17:45:58 +02:00
panners Update plugins/addons GPL boilerplate and (C) from git log 2019-08-03 15:53:18 +02:00
pbd Reduce stdout/stderr clutter, prefer DEBUG_TRACE 2019-09-05 19:29:19 +02:00
plugins Amend 69a3b0b46e, remove CCs not used by fluidsynth 2019-09-04 22:56:31 +02:00
ptformat ptformat: Update to upstream 8d29d79 (drop fades && fix offsets) 2019-08-10 12:34:45 +10:00
qm-dsp
surfaces NO-OP: whitespace 2019-09-06 20:43:20 +02:00
temporal Update core library GPL boilerplate and (C) from git log 2019-08-03 15:53:17 +02:00
vamp-plugins Fix memory-leak in case of Vamp plugin setup error 2019-08-24 03:31:49 +02:00
vamp-pyin Fix -Wsign-compare 2019-09-03 05:01:59 +02:00
vfork Update utility and tools GPL boilerplate and (C) from git log 2019-08-03 15:53:17 +02:00
waveview Update canvas/UI lib GPL boilerplate and (C) from git log 2019-08-03 15:53:17 +02:00
widgets Allow to un-set custom Ardour-button colors 2019-09-01 16:57:48 +02:00
zita-convolver
zita-resampler