offline render of an audio file stream?
offline render of an audio file stream?
- Subject: offline render of an audio file stream?
- From: Matthew Pease <email@hidden>
- Date: Sun, 26 Jul 2015 18:04:58 +0200
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden