views:

20

answers:

1

Hi IPhone Developers,

I am currently developing a game for iPhone/iPod touch. For short sounds I am using the AudioServicesPlaySystemSound function. I know that I can't control the volume of these sounds programmatically, but on my iPod touch 3rd gen these sounds respect the overall sound volume. On my new iPod touch 4th gen, these sounds are always played at the same volume, no matter to which value the overall volume is set. They even play if the volume is turned down to 0. The AVAudioPlayer on the other hand works as expected. Both devices are upgraded to iOS 4.1.

Has anyone else noticed this? Any suggestions what's happening here?

A: 

Just in case someone has the same issue / is interested: If you have an AVAudioPlayer playing at the same time, this problem goes away, that means, the systemsounds behave correctly again. In my case I play an empty mp3 in an infinite loop now. Not the nicest solution but one that works.

huesforalice