• 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: Playing a mp3 File.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Playing a mp3 File. (From: email@hidden)

  • Prev by Date: Playing a mp3 File.
  • Next by Date: Re: Playing a mp3 File.
  • Previous by thread: Playing a mp3 File.
  • Next by thread: Re: Playing a mp3 File.
  • Index(es):
    • Date
    • Thread