feat: audio!

This commit is contained in:
piper
2023-01-30 21:16:39 -06:00
committed by Nova
parent bddf17bbef
commit bccdc8221e
4 changed files with 147 additions and 3 deletions

View File

@@ -5,7 +5,7 @@ mod objects;
mod wayland;
use crate::core::destroy_queue;
use crate::nodes::{drawable, hmd, input};
use crate::nodes::{drawable, hmd, input, sound};
use crate::objects::input::mouse_pointer::MousePointer;
use crate::objects::input::sk_controller::SkController;
use crate::objects::input::sk_hand::SkHand;
@@ -207,7 +207,7 @@ fn main() -> Result<()> {
});
}
drawable::draw(sk);
sound::update();
#[cfg(feature = "wayland")]
wayland.make_context_current();
},