I create an audio player where the sound can be turned on and off. When the sound on the volume control button on the phone correctly adjusts the volume of the media.
However, when the sound is turned off, the volume button adjusts the volume of the phone ringer.
Is it possible to adjust the volume button so that it controls the volume of the medium even when the medium is not playing?
source share