Desktop build plays music and sound through the system sound output; desktop build documented
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
db521ed2ee
commit
2475a8ca3c
5 files changed
+682
-5
No files matched your search
@@ -929,8 +929,12 @@ async fn main() {
|
||||
let mut voice = voice::Voice::new();
|
||||
let mut was_briefing = false;
|
||||
let mut cache_t = 0.0f32;
|
||||
#[cfg(not(target_arch = "wasm32"))]
|
||||
audio::native::start();
|
||||
|
||||
loop {
|
||||
#[cfg(not(target_arch = "wasm32"))]
|
||||
audio::native::pump();
|
||||
let raw_dt = get_frame_time();
|
||||
let dt = raw_dt.min(0.1);
|
||||
let now = get_time();
|
||||
|
||||
Reference in new issue
Block a user