• 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
Re: iPhone Remote IO Audio Unit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iPhone Remote IO Audio Unit


  • Subject: Re: iPhone Remote IO Audio Unit
  • From: "Inca R" <email@hidden>
  • Date: Thu, 2 Oct 2008 13:19:43 +0300

Hi wiliams,
Now that the NDA was dropped, can you pls help with the use of Remote IO Audio Units ?
Any sample code or pointer to some documentation will help

Thanks
Inca

On Mon, Sep 29, 2008 at 10:25 PM, William Stewart <email@hidden> wrote:
You do realise that iPhone development is covered by a non-disclosure agreement, that you agreed to, and that means that you cannot discuss details of iPhone development in public (and neither can anyone else).

Bill

On Sep 28, 2008, at 7:36 AM, Inca R wrote:

Hi Again;
I manage to get the stack trace of the offending thread.
This is what I get when trying to run a very simple sample.

I will appreciate your help 

thanks
Inca


Thread 4 Crashed:
0   libSystem.B.dylib              0xffff0ed4 __memcpy + 1844
1   AudioToolbox                   0x315f495f RemoteIOClient::EnqueueInput(XAudioTimeStamp const&, int, AudioBufferList const&) + 191
2   AudioToolbox                   0x315e2536 AQMEDevice::IO_PerformInput(AudioBufferList const&, AudioTimeStamp const&, unsigned long) + 438
3   AudioToolbox                   0x315e9557 AQMEIO_AU::InputIsAvailable(void*, unsigned long*, AudioTimeStamp const*, unsigned long, unsigned long, AudioBufferList*) + 103
4   AudioToolbox                   0x31612f32 AUHAL::AUIOProc(unsigned long, AudioTimeStamp const*, AudioBufferList const*, AudioTimeStamp const*, AudioBufferList*, AudioTimeStamp const*, void*) + 738
5   com.apple.audio.CoreAudio      0x000fdc88 HP_IOProc::Call(AudioTimeStamp const&, AudioTimeStamp const&, AudioBufferList const*, AudioTimeStamp const&, AudioBufferList*) + 322
6   com.apple.audio.CoreAudio      0x000fd970 IOA_Device::CallIOProcs(AudioTimeStamp const&, AudioTimeStamp const&, AudioTimeStamp const&) + 292
7   com.apple.audio.CoreAudio      0x00112d52 HP_IOThread::PerformIO(AudioTimeStamp const&, double) + 1186
8   com.apple.audio.CoreAudio      0x000fc762 HP_IOThread::WorkLoop() + 1518
9   com.apple.audio.CoreAudio      0x000fc16f HP_IOThread::ThreadEntry(HP_IOThread*) + 17
10  com.apple.audio.CoreAudio      0x000eca30 CAPThread::Entry(CAPThread*) + 96
11  libSystem.B.dylib              0x94ae46f5 _pthread_start + 321
12  libSystem.B.dylib              0x94ae45b2 thread_start + 34

Thread 4 crashed with X86 Thread State (32-bit):
  eax: 0xffff07a0  ebx: 0x315f48b9  ecx: 0x00000000  edx: 0xfffbaa00
  edi: 0x00046000  esi: 0xfffba600  ebp: 0xb02067d8  esp: 0xb02067d0
   ss: 0x0000001f  efl: 0x00010246  eip: 0xffff0ed4   cs: 0x00000017
   ds: 0x0000001f   es: 0x0000001f   fs: 0x0000001f   gs: 0x00000037
  cr2: 0xfff74ff0


On Sun, Sep 28, 2008 at 11:59 AM, Inca R <email@hidden> wrote:
Hi;
Thanks William.

I'm trying to use Audio Units with remote IO but
is very frustrating. There is no documentation and
no sample code on how to use the Remote IO AudioUnit

I had write some code but after I call AudioOutputUnitStart( AudioUnit )
I get a bad access expection and I have no idea from where it comes.

If you have some sample code
or any pointer to documentation for iPhone will be grat.

Thanks
Inca

On Wed, Sep 24, 2008 at 11:54 PM, William Stewart <email@hidden> wrote:
nope

for a VoIP client you should be using the AU Remote IO audio unit - you have one that you use for both input and output and it will give you a much lower latency than you can get from using audio queue for duplex I/O

On Sep 24, 2008, at 1:47 PM, Inca R wrote:

Hi;
Is Audio Queues for iPhone the best interface API to get 
Audio Input  ( mic ) samples for a real time App ? ( VoIP client )



 _______________________________________________
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: iphone audiounit mixers
  • Next by Date: Fw: iphone audiounit mixers
  • Previous by thread: Re: iphone audiounit mixers
  • Next by thread: Custom AU Cocoa Views and Carbon Host applications in 10.5
  • Index(es):
    • Date
    • Thread