• 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: RemoteIO unit at beginning and end of an AUGraph
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RemoteIO unit at beginning and end of an AUGraph


  • Subject: Re: RemoteIO unit at beginning and end of an AUGraph
  • From: Chris Adamson <email@hidden>
  • Date: Tue, 14 Apr 2009 09:08:52 -0400

On Apr 13, 2009, at 2:01 PM, Chris Adamson wrote:
The mixer won't take 32-bit input (OSStatus -10868, format not supported, when setting the mixer's input format), so I tried adding an AUConverter to downsample 32-to-16 on the simulator (presumably a nice future-proof defense for future hardware changes). However, once I added a converter node to the graph, AUGraphOpen started failing with OSStatus -2005 (badComponentType).


OK, I'm an idiot. I committed copy-and-paste code mistakes creating the converter unit and connecting it. Both now marked in the pastie. Fixing those, the graph now runs all the way through, with the converter between the RemoteIO device input and the mixer. Yay. Though on the simulator, I still have to set the RemoteIO bus 1 output ASBD to 16-bit.

I still find the ASBD reported by the RIO bus 1 input (ie, from H/W) on the simulator to not make sense:

mBitsPerChannel == 32
mBytesPerFrame == 4
mBytesPerPacket == 4
mChannelsPerFrame == 2
mFormatFlags == 3116
mFormatID == 1819304813  (kAudioFormatLinearPCM)
mFramesPerPacket == 1
mReserved == 0
mSampleRate == 0

Shouldn't 32 bits/channel * 2 channels/frame be 64 bits/frame, therefore 8 bytes/frame rather than 4?

--Chris

_______________________________________________
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


  • Follow-Ups:
    • Re: RemoteIO unit at beginning and end of an AUGraph
      • From: tahome izwah <email@hidden>
References: 
 >RemoteIO unit at beginning and end of an AUGraph (From: Chris Adamson <email@hidden>)
 >Re: RemoteIO unit at beginning and end of an AUGraph (From: Chris Adamson <email@hidden>)
 >Re: RemoteIO unit at beginning and end of an AUGraph (From: William Stewart <email@hidden>)
 >Re: RemoteIO unit at beginning and end of an AUGraph (From: Chris Adamson <email@hidden>)
 >Re: RemoteIO unit at beginning and end of an AUGraph (From: William Stewart <email@hidden>)
 >Re: RemoteIO unit at beginning and end of an AUGraph (From: Chris Adamson <email@hidden>)

  • Prev by Date: Re: iPhone synth starting point...
  • Next by Date: Re: RemoteIO unit at beginning and end of an AUGraph
  • Previous by thread: Re: RemoteIO unit at beginning and end of an AUGraph
  • Next by thread: Re: RemoteIO unit at beginning and end of an AUGraph
  • Index(es):
    • Date
    • Thread