Re: time vs packets
Re: time vs packets
- Subject: Re: time vs packets
- From: Torsten Curdt <email@hidden>
- Date: Tue, 14 Dec 2010 23:52:32 +0100
So based on Mo's code and Wil's suggestion to use the ExtAudioFile API
I came up with this
https://gist.github.com/741271
...but something is still missing. The ExtAudioFileRead fails with -50.
Any further pointers?
cheers,
Torsten
On Tue, Dec 14, 2010 at 04:50, Wil Macaulay <email@hidden> wrote:
> No, you read as much as you need.
>
> On Monday, December 13, 2010, Torsten Curdt <email@hidden> wrote:
>> Thanks for the quick reply, Wil.
>>
>>> If you use the ExtAudioFile APIs, you can extract your file into LPCM, in
>>> which case the conversion from packets to time becomes trivial...
>>
>> ...but doesn't that mean keeping all the LPCM audio data in memory?
>>
>> cheers,
>> Torsten
>>
>
> --
> Products and services: http://flagpig.com
> Blog: http://flagpig.tumblr.com
>
_______________________________________________
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