adjust sound volume in-app only
Hi,
i currently wonder how to
a) Play a sound next to iPod/Other music sources
b) beeing able to control the volume of that played sound (only)
c) **important** both combined!!
I am able to do both a+b sepperate by using AudioSession for a) and MPVolumeView for b).
now i read, that i cannot set volume for AudioSessions, since their volume is based on systems volume, which is bad in my base. Stopping the iPod music while having volume-controled playback is even worse.
i noticed that runmeter (dont want to ad, just as an example) for example has a slider, that controls the apps volume regardless of what the systems volume and/or ipods volume is.
so i can nearly mute the phone, middle the ipod and maximize the apps-volume, working fine.
is there any way/hint how to get this done w/o getting dropped by apple?
any suggestions?
Thanks.
|