Advertise Books Events Forum News Social Networking Support Us

sdkIQ for iPhone
($4.99)

Shape Up
($0.99)

Your First iPhone App
($1.99)

iVidCam Free
(free)

Kid Art
($0.99)

iPUBQUIZ
(£1.19)

ArtStudio
($3.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

Thread: Mp3 Playback
View Single Post
Old 07-24-2008, 11:00 AM   #3 (permalink)
MaCeXpErTo
Senior Member
 
MaCeXpErTo's Avatar
 
Join Date: Jul 2008
Posts: 146
Smile Well...

Quote:
Originally Posted by StrAbZ View Post
I everybody.

I have question about the mp3 playback with the audio queue services.
I've take the SpeakHere Sample, and I just kept the AudioPlayer part since I don't need to record audio.

With it I've been able to play wav files without problem, but that don't work with mp3 or aac files. The playbackCallback function is only called when the setupAudioQueueBuffers is called and never again...

So is their anything I need to change this sample in order to play mp3 files...?

Thanks
I wouldn't recommend using mp3 period. I don't think the iphone likes mp3 files very well. I would use .caf files for sound only. Just convert your mp3 to caf. It's the best bet since you only can play 5 sec files anyway. Hope this helps.
MaCeXpErTo is offline   Reply With Quote
 
Enter the iPhone App Challenge!  Win $500!
» Advertisements
» Online Users: 251
20 members and 231 guests
bbc z, benoitr007, cparker101, csnplt, donbhar, dre, georgeburns, icordoba, iTrackiGiveaway, MrMattMac, numnEsoff, Nuncha, pcgeek, penjettti, Sara Paul, scotopia, shan, smasher, _nivek
Most users ever online was 779, 05-11-2009 at 09:55 AM.
» Stats
Members: 24,267
Threads: 39,062
Posts: 171,293
Top Poster: smasher (2,575)
Welcome to our newest member, nvrendingsoft
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 09:15 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.