JUCE/Ableton Live/AU 1.1(2014) not handling samplerate correctly


#1

When switching Sample Rate in Ableton Live (9.x - 9.2 betas) I'm getting mutes/feedbacks.

I've compiled the JuceDemoPlugin for all tests.

- It only happens with Audio Units compiled against JUCE (tested few 3.1.1 versions including master) and Core Audio Utility Classes 1.1 (2014) SDK.

(https://developer.apple.com/library/mac/samplecode/CoreAudioUtilityClasses/Introduction/Intro.html)


- It DOES NOT happen with CoreAudio SDK 1.0.3
- PluginProcessor receives the correct updates (meaning that prepareToPlay gets the new SampleRate and processBlock seems to be getting the right i/o count and buffer size).

- It DOES NOT happen with MainStage 3.1.1, StudioOne V3, Reaper.

 

Any advise would be appreciated though diffing the CoreAudio SDK seems to be worthless without fully understanding it :)

 

Thanks!


#2

Not sure what you mean about the version of CoreAudio making a difference? This is a plugin so CoreAudio isn't directly involved (?)


#3

Not sure what you mean about the version of CoreAudio

Called "AU SDK" ("Apple's AudioUnit SDK's 'CoreAudio' folder") in the Introjucer