The audio volume is zero?

后端 未结 2 1583
孤街浪徒
孤街浪徒 2020-12-22 10:33

I have an application with a mute button. I have been stuck on this for 4 and a half hours now, so I am plain desperate. I am trying to have the volume mute when user clicks

2条回答
  •  温柔的废话
    2020-12-22 11:05

    I found the issue. I have changed STRAM_MUSIC to STREAM_RING, and the variable userVolumeOnStart.userVolume changes successfully!

提交回复
热议问题