Re: ExtAudioFile Basics
Re: ExtAudioFile Basics
- Subject: Re: ExtAudioFile Basics
- From: Heinrich Fink <email@hidden>
- Date: Wed, 18 May 2011 10:29:06 +0200
Hi Jens, Second question: as you can see below, I'm reading into a temporary byte/char buffer which is then converted into a float array. Is there a way to read float directly (I noticed the kAudioFormatIsFloat flag ...)?
Yes, that is possible. You can check out our simple wrapper class for an example implementation for that:
This implementation is very similar to DiracLE implementation posted in this thread previously, with the following minor differences:
It reads float directly, i.e. you don't have to deal with the float conversion by yourself You can specify seek times in seconds It's a C++ class
best regards,
Heinrich |
_______________________________________________
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