How do you control the playback levels (decibles?) using the iPhone AVAudioPlayer? Or do I need to u

Posted by Joshua on Stack Overflow See other posts from Stack Overflow or by Joshua
Published on 2010-03-14T00:05:11Z Indexed on 2010/03/14 0:35 UTC
Read the original article Hit count: 322

Filed under:
|
|
|
|

My audio clips sound perfect when I upload them to the iPhone via iTunes. And I am pretty sure it is because the iPod has a maximum playback level, so the audio doesn't sound overdriven. In my app, I include the same audio files, and when I play them [myAudio play]; the levels are so high that the audio becomes indiscernible.

I found in the library

http://developer.apple.com/iphone/library/documentation/AVFoundation/Reference/AVAudioPlayerClassReference/Reference/Reference.html#//apple_ref/doc/uid/TP40008067-CH1-SW2

that it says that you can "Control relative playback level for each sound you are playing" but I've been searching this issue out for hours and I haven't gotten anywhere.

Any help would be wonderful!

© Stack Overflow or respective owner

Related posts about iphone

Related posts about audio