Re: QuickTime Music Synthesizer + Core Audio
Re: QuickTime Music Synthesizer + Core Audio
- Subject: Re: QuickTime Music Synthesizer + Core Audio
- From: Doug Wyatt <email@hidden>
- Date: Wed, 14 Dec 2005 12:29:18 -0800
On Dec 14, 2005, at 11:29, Jeremy Sagan wrote:
I just noticed today, since I now have the
kAudioUnitProperty_MaximumFramesPerSlice working, that if I set the
built-in audio device via kAudioDevicePropertyBufferFrameSize to a
value greater than 1024 then the internal voices (i.e QuickTime
Music synth) will be silent even when configured properly and sent
NAPlayNote events. I am using OS 10.4.3.
I suspect that this may be due to the fact that QT is not setting
the DLS MusicDevice to the correct slice size and the DLS
MusicDevice is in turn returning
kAudioUnitErr_TooManyFramesToProcess errors. However NAPlayNote is
not returning any errors.
If I then revert to setting the kAudioDevicePropertyBufferFrameSize
<= 1024 then QT starts working again, although I have to deallocate
all voices and reallocate them.
Any ideas?
Should I cross post to the QuickTime mailing list?
Maybe, but first, do you have a really good reason to be using the QT
Music APIs instead of AudioToolbox/MusicPlayer to play MIDI Files?
(That same bug may exist with the default MusicSequence graph, but
we'd be eager to fix *that*, and it can be worked around since the
graph is exposed for you to manipulate).
Doug
--
Doug Wyatt
Core Audio, Apple
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden