 |
 |
|
 |
05-10-2009, 06:15 AM
|
#1 (permalink)
|
|
Registered Member
Join Date: May 2009
Posts: 19
|
AudioServicesPlaySystemSound not playing long wavs
Hi there,
I'm having problems using AudioServicesPlaySystemSound function for wav file about 10 seconds in duration. In iPhone simulator, I don't hear anything. I don't have real iPhone device yet, so I can not test it in real conditions, but when using i.e. 2 seconds long wav file, sound works.
According to the Reference Library, AudioServicesPlaySystemSound should play wav file of duration less than 30 seconds, which my wav file is.
Do I have to specify the max duration of wav file for AudioServicesPlaySystemSound, or this is some iPhone simulator issue?
I tried to convert wav files to caff, but the result is the same.
Thank you for your help.
|
|
|
05-10-2009, 12:31 PM
|
#2 (permalink)
|
|
Senior Member
iPhone Dev SDK Supporter
Join Date: Jul 2008
Location: San Mateo, CA (San Fran)
Posts: 2,449
|
I believe this is just a simulator issue. Real phone should be fine.
__________________
|
|
|
 |
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
» Advertisements |
» Online Users: 493 |
| 48 members and 445 guests |
| Abdel, ackpth, activ8, AjohnB, Alchemda, BostonMerlin, BrianSlick, Centurion Games, ChrisMayer, CoolApps, Corey, dbarrett, dda, designomatt, dmf1978, eatenbyrats, Gamer211, gonk, greenuns, Gudus, imsatasia, IphoneSdk, jharrah, Kalimba, Knertified, LemonMeringue, Link, markbuchanan, MiniRobinho, montage, msudan, naomipunkclan, NeilB, nibby, Noise, P2k, pashik, simpsonaty, Snappy, StefanL, svguerin3, tcarte04, the1nz4ne, treazer, TunaNugget, Tuszy, victorsk, ZunePod |
| Most users ever online was 779, 05-11-2009 at 10:55 AM. |
» Stats |
Members: 21,510
Threads: 35,793
Posts: 156,804
Top Poster: smasher (2,449)
|
| Welcome to our newest member, dmf1978 |
|