Re: RemoteIO unit at beginning and end of an AUGraph
Re: RemoteIO unit at beginning and end of an AUGraph
- Subject: Re: RemoteIO unit at beginning and end of an AUGraph
- From: tahome izwah <email@hidden>
- Date: Tue, 14 Apr 2009 16:54:59 +0200
What does "mFormatFlags == 3116" stand for? I've never seen that
particular combo of flags before.
--th
2009/4/14 Chris Adamson <email@hidden>:
> 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