Hi @ewing ,
Firstly, thank you very much for the attention.
So I would like to explain you and others that may be having the same audio/sound problems (stuttering) when using the audio.loadStream API.
Ive been in trouble with that API when trying to play a background sound (37s lenght, .mp3, 128Kbps). So after research the most part of the forum Ive seen that it was a regression bug of Apple. :\
So after reading so many posts I have tried all the following trying to get the problem solved:
1) Changed the .mp3 file for a .aac file (DID NOT SOLVE);
2) Changed the .aac file for a .wav file (DID NOT SOLVE);
3) Followed all the very helpfull @ingemar member “solution” that he explained on other thread. That speaks about hard-coding the audio.reserveChannels() and declaring which channel to play for each audio file as well. (DID NOT SOLVE);
4) Finally I have followed line-by-line of your beautiful explanation on this thread/post #15 (http://developer.anscamobile.com/forum/2011/04/11/warning-failed-create-audio-sound#comment-60474) and VOILÁ , after setting as you`ve mentioned about the “secret audio API” -> [lua]audio.loadStream(file, {bufferSize=8192, maxQueueBuffers=12, startupBuffers=4, buffersQueuedPerUpdate=2})[/lua] ALL the audio files using the [lua]audio.loadStream[/lua] API STARTED WORKING BEAUTIFULLY! :-]
So THANK YOU so much for sharing your audio API`s Secret @ewing! It killed the stuttering sound with one right shot! haha
PS.1: I was under daily-build versions (2011.698/699/700) when seeing and resolving this audio`s problem.
PS.2: My tech specs:
Running OS X Lion Version 10.7.2
Model Name: MacBook Pro
Model Identifier: MacBookPro8,1
Processor Name: Intel Core i5
Processor Speed: 2.3 GHz
Number of Processors: 1
Total Number of Cores: 2
L2 Cache (per Core): 256 KB
L3 Cache: 3 MB
Memory: 4 GB
- MacBook Pro (13-inch, Early 2011)
PS.3: @ewing, with your solution I got to be able to use ANY type of audio file as well (I mean .mp3, .aac, .wav).
So I hope it does help other members as well. 
Cheers,
Rodrigo.
[import]uid: 89165 topic_id: 17528 reply_id: 71116[/import]