3DMixer and AudioFile crash
3DMixer and AudioFile crash
- Subject: 3DMixer and AudioFile crash
- From: Corwin Light-Williams <email@hidden>
- Date: Mon, 15 May 2006 00:13:52 -0700
I have an app that works fine using the AudioFile API and a
kAudioUnitSubType_StereoMixer. I can play sounds, update, stop,
start, etc. On a whim, I copied the code from TN2112 and made the
mixer a kAudioUnitSubType_3DMixer. However, this causes a crash.
Shortly after I call AUGraphUpdate to reflect a new connection to the
graph, I get a crash in another thread.
I also tried just adding a mixer unit in between the output and
audiofile of the PlayFile example code, and it crashes there too.
I have no idea what I'm doing wrong, but I'm sure it's something
pretty silly.
Thanks!
Corwin
(here's the stack trace of the crash.)
#0 0xffff06b0 in ___bzero () at /System/Library/Frameworks/
System.framework/PrivateHeaders/i386/cpu_capabilities.h:184
#1 0x700814f8 in AUScheduledSoundPlayerEntry ()
#2 0x700085ac in DefaultOutputAUEntry ()
#3 0x7000fa5c in AUHighShelfFilterEntry ()
#4 0x70042b0d in AUPeakLimiterEntry ()
#5 0x70042c5e in AUPeakLimiterEntry ()
#6 0x7004650a in AUMixer3DEntry ()
#7 0x7004752e in AUMixer3DEntry ()
#8 0x700085ac in DefaultOutputAUEntry ()
#9 0x7000fa5c in AUHighShelfFilterEntry ()
#10 0x70008e45 in DefaultOutputAUEntry ()
#11 0x700d9e09 in AUNetSendEntry ()
#12 0x700d94bb in AUNetSendEntry ()
#13 0x93e79e81 in AudioConverterChain::CallInputProc ()
#14 0x93e79b1e in AudioConverterChain::FillBufferFromInputProc ()
#15 0x93e79ac2 in BufferedInputAudioConverter::CallInputProc ()
#16 0x93e79822 in BufferedInputAudioConverter::GetAllInputBytes ()
#17 0x93e79755 in Resampler2Wrapper::RenderOutput ()
#18 0x93e78f6b in BufferedAudioConverter::FillBuffer ()
#19 0x93e7932a in BufferedAudioConverter::GetInputBytes ()
#20 0x93e79207 in CBRConverter::RenderOutput ()
#21 0x93e78f6b in BufferedAudioConverter::FillBuffer ()
#22 0x93e790f9 in AudioConverterChain::RenderOutput ()
#23 0x93e78f6b in BufferedAudioConverter::FillBuffer ()
#24 0x93e78df8 in AudioConverterFillComplexBuffer ()
#25 0x700089dd in DefaultOutputAUEntry ()
#26 0x700085ac in DefaultOutputAUEntry ()
#27 0x70007a51 in DefaultOutputAUEntry ()
#28 0x91462c76 in HP_IOProc::Call ()
#29 0x9146229e in IOA_Device::CallIOProcs ()
#30 0x91462029 in HP_IOThread::PerformIO ()
#31 0x9146057b in HP_IOThread::WorkLoop ()
#32 0x914601d1 in HP_IOThread::ThreadEntry ()
#33 0x9145480d in CAPThread::Entry ()
#34 0x90024a27 in _pthread_body ()
_______________________________________________
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