Skip to content

Commit

Permalink
audio: fix warning on android
Browse files Browse the repository at this point in the history
  • Loading branch information
not-fl3 committed Aug 9, 2022
1 parent d3ac4d7 commit 22af589
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/audio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@ mod dummy_audio {
pub fn new() -> AudioContext {
AudioContext {}
}


#[cfg(target_os = "android")]
pub fn pause(&mut self) {}

#[cfg(target_os = "android")]
pub fn resume(&mut self) {}
}

Expand Down

0 comments on commit 22af589

Please sign in to comment.