Re: ExtAudioFileRead
Re: ExtAudioFileRead
- Subject: Re: ExtAudioFileRead
- From: Jean-Daniel Dupas <email@hidden>
- Date: Tue, 3 Aug 2010 09:12:58 +0200
Le 3 août 2010 à 01:12, Edwards, Waverly a écrit : I’ve been going through the documentation and something is not clear to me. When using ExtAudioFileRead to read from a file into a buffer, how do you separate the left channel from the right? I am working to read a stereo wav file into memory but as I read it, I am reading the file into a single buffer. I’ve been unable to see where you would read the left and right channels. I looked at AudioFileReadPackets also, since I wish to read the file into memory but may not wish to read the entire file into memory. Unfortunately, I seem to have encountered the same issue of not being able to see how to separate the left from the right since there is only one buffer.
Usually, audio is stored using an interleaved format. If you want planar audio format, you have to tell it explicitly by setting the client stream description property of your ExtAudioFile.
|
_______________________________________________
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