• 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
CoreAudio borked in the iPhone simulator!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CoreAudio borked in the iPhone simulator!


  • Subject: CoreAudio borked in the iPhone simulator!
  • From: Joel Reymont <email@hidden>
  • Date: Fri, 13 Feb 2009 17:34:58 +0000

Here's another tasty morsel. Works perfectly on the iPhone.

All I'm doing is using kAudioFormatFlagIsSignedInteger | kAudioFormatFlagIsPacked | kAudioFormatFlagIsNonInterleaved for the mic output and speaker/headphone input of the audio unit that I obtain like this:

    // Get component

AudioComponent inputComponent = AudioComponentFindNext(NULL, &desc);

    // Get audio units

    status = AudioComponentInstanceNew(inputComponent, &_audioUnit);

Am I the only one with this issue?

	Thanks, Joel

---

[Switching to process 16142 thread 0x490b]
(gdb) where
#0 0x919b620e in semaphore_wait_signal_trap ()
#1 0x919bdce5 in pthread_mutex_lock ()
#2 0x34882c2b in CAMutex::Lock ()
#3 0x34954a43 in AUConverterBase::Reset ()
#4 0x3495667b in AUGenericOutput::Start ()
#5 0x349499c1 in AudioOutputUnitStart ()
#6 0x00003cde in -[AudioEngine startAudio] (self=0x525480, _cmd=0x45f4) at /Users/joelr/Work/Talkie/Classes/AudioEngine.m:382
#7 0x00002594 in -[TalkieAppDelegate setupAudio] (self=0x525d70, _cmd=0x9422fe30) at /Users/joelr/Work/Talkie/Classes/ TalkieAppDelegate.m:82
#8 0x000023a5 in -[TalkieAppDelegate applicationDidFinishLaunching:] (self=0x525d70, _cmd=0x94285944, application=0x522270) at /Users/joelr/ Work/Talkie/Classes/TalkieAppDelegate.m:50
#9 0x30a4e022 in -[UIApplication performInitializationWithURL:asPanel:] ()
#10 0x30a5736b in -[UIApplication _runWithURL:] ()
#11 0x96fac22e in __NSFireDelayedPerform ()
#12 0x94975b25 in CFRunLoopRunSpecific ()
#13 0x94975cd8 in CFRunLoopRunInMode ()
#14 0x31566600 in GSEventRunModal ()
#15 0x315666c5 in GSEventRun ()
#16 0x30a4eca0 in -[UIApplication _run] ()
#17 0x30a5a09c in UIApplicationMain ()
#18 0x00002198 in main (argc=1, argv=0xbfffe544) at /Users/joelr/Work/ Talkie/main.m:14


---
http://tinyco.de
--- Mac & iPhone

_______________________________________________
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


  • Prev by Date: Re: Copy iPhone microphone to output: Only kAudioFormatFlagsAudioUnitCanonical works?
  • Next by Date: Pre-allocating buffers for the AU callbacks
  • Previous by thread: Re: Copy iPhone microphone to output: Only kAudioFormatFlagsAudioUnitCanonical works?
  • Next by thread: Pre-allocating buffers for the AU callbacks
  • Index(es):
    • Date
    • Thread