Re: Playing a mp3 File.
Re: Playing a mp3 File.
- Subject: Re: Playing a mp3 File.
- From: "SridharRao M" <email@hidden>
- Date: Mon, 14 Jul 2008 10:08:47 +0530
Hi,
The System Audio Services API plays audio in PCM or IMA ,caf,aif and wav of 2 to 5 seconds length.not more than that.These services are used to play short audio files for alerts and system sounds.
You need to use audio file services and audio queue services play the audio file .
Regards,
Sridhar.
On Mon, Jul 14, 2008 at 9:59 AM, <
email@hidden> wrote:
Hi all,
I can play a audio file [system sound file] by using this
Code snippets;
OSStatus error = AudioServicesCreateSystemSoundID((CFURLRef)aFileURL,
&aSoundID);
but i can't play a mp3 file which plays for 1min.
so can any one suggest how to play and stop a audio file programmatically.
Requirement:
A play button in the screen, if user presses the button the mp3 file
should start play.
Best regards,
mathan
_______________________________________________
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
_______________________________________________
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