Re: Getting the length in seconds of a track
Re: Getting the length in seconds of a track
- Subject: Re: Getting the length in seconds of a track
- From: tahome izwah <email@hidden>
- Date: Thu, 4 Nov 2010 01:48:09 +0100
Sorry, I hit "send" to soon... but from there the duration in seconds
is only a multiplication away.
--th
2010/11/4 tahome izwah <email@hidden>:
> SInt64 nf=0;
> UInt32 propSize = sizeof(SInt64);
> OSStatus err = ExtAudioFileGetProperty(extAFRef,
> kExtAudioFileProperty_FileLengthFrames, &propSize, &nf);
>
> HTH
> --th
_______________________________________________
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