• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Development vs Deployment
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Development vs Deployment


  • Subject: Development vs Deployment
  • From: Dominic Feira <email@hidden>
  • Date: Mon, 2 Aug 2004 11:56:48 -0400

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.


  • Prev by Date: Re: kAudioHardwareBadDeviceError
  • Next by Date: Is CoreAudio Open Source?
  • Previous by thread: Re: kAudioHardwareBadDeviceError
  • Next by thread: Is CoreAudio Open Source?
  • Index(es):
    • Date
    • Thread