Mirror of Ardour Source Code
Find a file
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
doc initial version of transport state machine diagram 2019-02-26 09:27:20 -07:00
export FFmpeg/MP3 export supports tagging 2019-03-02 14:38:19 +01:00
gtk2_ardour Foldback GUI: size and position tweaks 2019-09-10 16:09:26 -07:00
headless Update utility and tools GPL boilerplate and (C) from git log 2019-08-03 15:53:17 +02:00
libs AU: fix optional buffers 2019-09-11 02:56:08 +02:00
mcp Add device file for Behringer X-Touch One 2019-07-24 11:50:13 -05:00
midi_maps Fix dead-link to manual 2018-12-23 04:50:58 +01:00
msvc_extra_headers Update core library GPL boilerplate and (C) from git log 2019-08-03 15:53:17 +02:00
MSVCardour3 Add/remove source(s) in our MSVC project (gtk2_ardour) 2019-08-27 15:10:00 +01:00
MSVCMixbus3 Initial changes needed for building Mixbus (with MSVC) as version 5 2018-09-10 07:14:59 +01:00
MSVCvst_scan Adapt our remaining MSVC projects for 'boost::atomic' (in case it later gets extended to the other libs) 2018-09-30 09:19:28 +01:00
nutemp additional changes to follow library name change from timecode -> temporal 2017-09-25 12:13:54 -04:00
osc OSC: Add send/plugin page values to GUI 2017-06-14 10:28:45 -07:00
osc_interfaces/touchosc prh: Added version 1b of my Mixbus Mix controller. 2017-08-18 23:03:58 +02:00
patches
patchfiles Add patchfiles/Moog_Slim_Phatty.midnam 2019-09-06 18:39:17 +02:00
plugin_metadata check-in of cleaned up plugin tags by Harrison Consoles intern Chris Hickman 2018-06-20 14:15:18 -05:00
scripts Add Readme to the Lua script folder 2019-09-06 18:18:29 +02:00
session_utils Don't print usage to stdout for invalid parameters 2019-08-15 01:09:26 +02:00
templates Deploy Session-templates 2017-08-23 23:55:00 +02:00
tools Update Fluidsynth to v2.0.6-git 2019-09-04 04:35:59 +02:00
us2400 switch remaining use of Common/ToggleMixerList to Mixer/ToggleMixerList 2019-03-18 10:58:02 -07:00
vst
.dir-locals.el
.gitattributes Add a Readme pertaining to GH release tarballs 2017-04-22 16:04:35 +02:00
.gitignore add .vscode editor data to gitignore 2019-08-28 10:07:41 -05:00
ardour.1 fix link in manpage 2016-10-18 22:26:23 +02:00
ardour.1.es
ardour.1.fr
ardour.1.ru
COPYING
instant.xml.sae
msvc32-fixup.pl Initial changes needed for building Mixbus (with MSVC) as version 5 2018-09-10 07:14:59 +01:00
PACKAGER_README
README
README-GITHUB.txt Add a Readme pertaining to GH release tarballs 2017-04-22 16:04:35 +02:00
system_config Empty system_config (pre-seed XML nodes, use built-in settings) 2017-03-02 19:37:36 +01:00
testfile.flac
testfile.ogg
TRANSLATORS Update TRANSLATORS 2017-01-05 09:21:12 +00:00
waf
wscript Report whether arlua is being built 2019-09-09 04:15:20 +02:00

Please see the Ardour web site at http://ardour.org/ for all documentation..

For information on building ardour: 
      
     http://ardour.org/development.html