basic mute,unmute,change channel

This commit is contained in:
2024-11-08 21:18:35 -07:00
parent 6c808694db
commit 326b9eee63
3 changed files with 98 additions and 7 deletions
+3 -3
View File
@@ -67,12 +67,12 @@ pub struct AudioSystem();
impl AudioSystem {
pub fn new(sender: UnboundedSender<ControlPacket<Serverbound>>) -> Result<Self, Error> {
dbg!("todo");
// dbg!("todo");
Ok(AudioSystem())
}
pub fn create_player(&mut self) -> Result<AudioPlayer, Error> {
dbg!("todo");
// dbg!("todo");
Ok(AudioPlayer())
}
}
@@ -81,7 +81,7 @@ pub struct AudioPlayer();
impl AudioPlayer {
pub fn play_opus(&mut self, payload: &[u8]) {
dbg!("todo");
// dbg!("todo");
}
}