Older music device crashes
Older music device crashes
- Subject: Older music device crashes
- From: Chris Reed <email@hidden>
- Date: Mon, 20 Jan 2003 15:56:02 -0600
Recently I've been working on a new program that uses audio units as
the primary synthesis engine. MIDI data is sent directly to the music
device, and rendering is done manually instead of using an AUGraph. I'm
running 10.2.3.
For every non-Apple music device AU I've tried, when I try to call
MusicDeviceMIDIEvent during an IOProc I see a crash. The log is at the
end of this message.
The interesting thing is that I tried recompiling AirySynth myself so I
could step through the call and try to figure out what was happening.
But the recompiled AirySynth never crashes anymore. I think the
AUPublic framework in the Dec 2002 devtools fixed this problem.
Another data point for this is that a pre-release version of Urs' zoyd
synth used to exhibit the same crash. But the beta version he just
released does not crash anymore, presumably because it was compiled
with the Dec 2002 SDK.
So... I think it would be a good idea for everyone who has released an
Music Device audio unit to rebuild with the latest AUPublic framework
an release an updated version.
My only real question is why this does not happen in Logic? I would
assume they are using AUs directly too (not in a graph).
Cheers
-chris
Thread 3 Crashed:
#0 0x7c3e0b78 in 0x7c3e0b78
#1 0x01b46008 in
MusicDeviceBase::ComponentEntryDispatch(ComponentParameters*,
MusicDeviceBase*)
#2 0x01b7cbf4 in
ComponentEntryPoint<PhatmatikAU>::Dispatch(ComponentParameters*,
PhatmatikAU*)
#3 0x91eb075c in MusicDeviceMIDIEvent
#4 0x0002a958 in -[CMIDIAudioUnit
midiEventWithStatus:data1:data2:sampleFrameOffset:]
(CMIDIAudioUnit.m:16)
#5 0x00019634 in -[LGMusicDeviceAUOutputDevice
prerenderAction:actionFlags:timeStamp:busNumber:numberOfFrames:data:]
(LGMusicDeviceAUOutputDevice.m:326)
#6 0x0001975c in -[LGMusicDeviceAUOutputDevice
fillBuffers:forBuss:nowTime:outputTime:]
(LGMusicDeviceAUOutputDevice.m:347)
#7 0x9068c258 in objc_msgSendv
#8 0x907ed244 in -[NSInvocation invoke]
#9 0x0000d548 in -[LGBuss
ioCycleForDevice:timeStamp:input
Data:inputTime:outputData:outputTime:cli
entData:] (LGBuss.m:455)
#10 0x9068c258 in objc_msgSendv
#11 0x907ed244 in -[NSInvocation invoke]
#12 0x200036f0 in
-[MTCoreAudioDevice(MTCoreAudioDevicePrivateAdditions)
dispatchIOProcWithTimeStamp:input
Data:inputTime:outputData:outputTime:]
#13 0x2000643c in -[MTCoreAudioIOProcMux
dispatchIOProcsWithTimeStamp:input
Data:inputTime:outputData:outputTime:]
#14 0x94d84174 in XBasicDevice::CallIOProcs(AudioTimeStamp const*,
AudioTimeStamp const*, AudioTimeStamp const*)
#15 0x94d82ac8 in XThreadedDevice::HandleIO(AudioTimeStamp const&,
bool)
#16 0x94d82534 in XThreadedDevice::IOThread()
#17 0x94d95a24 in XThreadedDevice::IOThreadEntry(void*)
#18 0x94d911b0 in CAPThread::Entry(CAPThread*)
#19 0x90020d48 in _pthread_body
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.