Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Development vs Deployment



Sorry to bombard the list with questions, but it seems I am running into every possible issue along the way. Hey I've got a great idea! Better documentation might help! : P

Anyway, my question this time is this:
I am successfully using an AUHAL to get input from any audio input device connected to the machine now. However, this is only when I build as a deployment version. When I build as development I receive a seg fault in my InputProc for the AUHAL for no apparent reason.

Everything looks fine when I check it out in the debugger. All of the variables that I am giving to AudioUnitRender are correct (as far as I can tell). I still manage to get a seg fault that looks like this:

#0 0xffff8a48 in __memcpy
#1 0x0074724c in AUBufferList::CopyBufferContentsTo(AudioBufferList&) const
#2 0x007471b8 in AUBase::DoRenderBus(unsigned long&, AudioTimeStamp const&, unsigned long, AUOutputElement*, unsigned long, AudioBufferList&)
#3 0x006c9eb0 in vtable for CACFLocalMessagePort
#4 0x006eb8b0 in SystemOutputAUEntry
#5 0x006cda60 in AUGenericOutputEntry
#6 0x00749038 in ComponentEntryPoint<AUHAL>::Dispatch(ComponentParameters*, AUHAL*)
#7 0x90281278 in CallComponent
#8 0x91a90f20 in AudioUnitRender
#9 0x0009b97c in InputProc at AudioInput.c:471
#10 0x006d1778 in AUHALEntry
#11 0x9072360c in IOADevice::CallIOProcs(AudioTimeStamp const&, AudioTimeStamp const&, AudioTimeStamp const&)
#12 0x90723a60 in HPIOThread::PerformIO(AudioTimeStamp const&)
#13 0x90722c14 in HPIOThread::WorkLoop()
#14 0x9073919c in HPIOThread::ThreadEntry(HPIOThread*)
#15 0x907391e0 in CAPThread::Entry(CAPThread*)
#16 0x900246e8 in _pthread_body

Yes, the AudioBufferList is created and allocated properly. And they are huge just to make sure that there is enough room.

I'm confused. Last week everything seemed to be fine in both modes.

Thank you so much for the help that I have received on this list.

Dominic Feira / Ambrosia Software, Inc. / Code Monkey
_______________________________________________
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.




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.