Hi All -

  I'm parsing a network streamed MP3 using Audio File Stream Services.
 I'd like to use an offline Audio Queue to write a LPCM version of this to
a file.

  However, to enable offline AQ rendering I must call

OSStatus AudioQueueSetOfflineRenderFormat ( AudioQueueRef inAQ, const
AudioStreamBasicDescription *inFormat, const AudioChannelLayout *inLayout );

..  and this function requires an AudioChannelLayout.

I've tried to obtain AudioChannelLayout by using
 AudioFileStreamGetProperty with kAudioFileStreamProperty_ChannelLayout.
However, I always receive kAudioFileStreamError_ValueUnknown

Is there another way to obtain an AudioChannelLayout or will I need to
construct one myself?


I have code that loads the network stream, runs it through the Audio File
Stream Services parser & runs parsed packets through an AQ playback queue.
I can hear the stream so I know that work.

Thank you-
Matt
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/coreaudio-api/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to