Rebrand to Galaxy, major improvements to Bedrock support, still needs some TLC though
This commit is contained in:
@@ -12,8 +12,8 @@ use rubato::{
|
||||
};
|
||||
use thiserror::Error;
|
||||
|
||||
use warpui::event::KeyState;
|
||||
use warpui::{Entity, ModelContext, SingletonEntity, platform::MicrophoneAccessState};
|
||||
use galaxyui::event::KeyState;
|
||||
use galaxyui::{Entity, ModelContext, SingletonEntity, platform::MicrophoneAccessState};
|
||||
|
||||
const DEFAULT_CHUNK_SIZE: u32 = 512;
|
||||
// We only support mono for now.
|
||||
@@ -217,7 +217,7 @@ impl VoiceInput {
|
||||
.collect();
|
||||
|
||||
// This is blocking, but we aren't on the main thread.
|
||||
let _ = warpui::r#async::block_on(audio_frame_tx.send(mono_samples));
|
||||
let _ = galaxyui::r#async::block_on(audio_frame_tx.send(mono_samples));
|
||||
},
|
||||
|err| {
|
||||
log::error!("Error in voice input stream: {err}");
|
||||
|
||||
Reference in New Issue
Block a user