Getting Audio Stream/File info
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