audio: fix obsolete unnamed parameter

merge-requests/7/merge
Alexandre Janniaux 2019-11-15 13:20:53 +01:00
parent bde5163367
commit b18049f978
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ use ::tools::from_cstr;
pub trait MediaPlayerAudioEx { pub trait MediaPlayerAudioEx {
fn get_mute(&self) -> Option<bool>; fn get_mute(&self) -> Option<bool>;
fn set_mute(&self, bool); fn set_mute(&self, muted: bool);
fn get_volume(&self) -> i32; fn get_volume(&self) -> i32;
fn set_volume(&self, volume: i32) -> Result<(), ()>; fn set_volume(&self, volume: i32) -> Result<(), ()>;
fn get_audio_track_description(&self) -> Option<Vec<TrackDescription>>; fn get_audio_track_description(&self) -> Option<Vec<TrackDescription>>;