• 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
Newbie trying to play mp3 files instead wav files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Newbie trying to play mp3 files instead wav files


  • Subject: Newbie trying to play mp3 files instead wav files
  • From: "Ignacio Enriquez" <email@hidden>
  • Date: Fri, 24 Oct 2008 17:51:22 +0900

Hi everyone.

I am very new to CoreAudio API, and trying to make my program play
*.mp3 files instead *.wav files.
As you know a *.wav file is like 10 times bigger than a mp3, so that's
my principal reason.

I am basically using iPhone's sample code. SpeakHere Classes.

At first I thought it would be enough to change the 3rd parameter of
AudioFileOpenURL function  from "kAudioFileCAFType" to
"kAudioFileMP3Type", but it seems that this is just for opening the
file. So the mp3 file is not being played.

I wonder what other changes do I need to do in order to accomplish
mp3 files being played?

Thanks in Advance.
Ignacio.
 _______________________________________________
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: Newbie trying to play mp3 files instead wav files
      • From: William Stewart <email@hidden>
  • Prev by Date: Re: Problems implementing kAudioDevicePropertyIOProcStreamUsage property in a user-land CoreAudio device
  • Next by Date: RE: iPhone audio decompression
  • Previous by thread: Re: Problems implementing kAudioDevicePropertyIOProcStreamUsage property in a user-land CoreAudio device
  • Next by thread: Re: Newbie trying to play mp3 files instead wav files
  • Index(es):
    • Date
    • Thread