• 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
Getting Audio Stream/File info
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Getting Audio Stream/File info


  • Subject: Getting Audio Stream/File info
  • From: Jarek M <email@hidden>
  • Date: Fri, 13 Feb 2009 16:33:28 +0100

Howdy. We're working on a project that involves playing audio streams (local files or buffered streams)
using AudioQueue. Such audio stream can contain an mp3, aac or a pcm. Stream can be CBR or a VBR.

I'm using Carbon/AudioQueue interface to get the audio played.

What I'm wondering about is how to obtain

1) time in seconds since audio playing began
3) Duration of the stream being played (if exists, it may be a continuous stream)
2) sampling rate of the stream being played
3) bitrate of the stream being played ( this may vary in VBR, I understand)

I think I know how to obtain time; however it is a sampling time that has to be calculated
based on "Hardware" sampling rate. Is there a simpler way to obtain such info?

Best Regards and Thanks
Jarek
 _______________________________________________
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

  • Follow-Ups:
    • Re: Getting Audio Stream/File info
      • From: Hamish Allan <email@hidden>
    • Re: Getting Audio Stream/File info
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Re: Trimming audio
  • Next by Date: How do I set the sample rate of the output in a play-only audio unit iPhone app?
  • Previous by thread: Re: Trimming audio
  • Next by thread: Re: Getting Audio Stream/File info
  • Index(es):
    • Date
    • Thread