diff --git a/src/audio.rs b/src/audio.rs index 5609858..7aadba6 100644 --- a/src/audio.rs +++ b/src/audio.rs @@ -9,7 +9,7 @@ use ::tools::from_cstr; pub trait MediaPlayerAudioEx { fn get_mute(&self) -> Option; - fn set_mute(&self, bool); + fn set_mute(&self, muted: bool); fn get_volume(&self) -> i32; fn set_volume(&self, volume: i32) -> Result<(), ()>; fn get_audio_track_description(&self) -> Option>;