• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Getting the length in seconds of a track
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Getting the length in seconds of a track (From: Development <email@hidden>)
 >Re: Getting the length in seconds of a track (From: tahome izwah <email@hidden>)

  • Prev by Date: Re: Getting the length in seconds of a track
  • Next by Date: AUFormatConverter sampleRate is zero
  • Previous by thread: Re: Getting the length in seconds of a track
  • Next by thread: AUFormatConverter sampleRate is zero
  • Index(es):
    • Date
    • Thread