jfversluis / Plugin.Maui.Audio

Plugin.Maui.Audio provides the ability to play audio inside a .NET MAUI application

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Volume Increase/Decrease/Mute/Unmute

Shahid-khan5 opened this issue · comments

How I can increase/decrease or mute/unmute volume?

There is a Volume property that you can use for this. For muting/unmuting, make sure you make note of the current value for the volume, then set it to 0 to mute and restore it to the previous value to unmute.

Thanks. It is in the Audio Player class, I was looking into it in the AudioManager Class.