stop cpal from crashing on windows!
This commit is contained in:
parent
7db845e03e
commit
908ca1d769
|
@ -234,6 +234,10 @@ fn build_ui(application: >k::Application) {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
|
// instantiate rodio before gtk and don't do anything with it
|
||||||
|
// this is silly but it's the easiest way to prevent cpal crashing on windows
|
||||||
|
rodio::default_output_device().unwrap();
|
||||||
|
|
||||||
let application = gtk::Application::new(
|
let application = gtk::Application::new(
|
||||||
Some("dev.tinybird.max.lull"),
|
Some("dev.tinybird.max.lull"),
|
||||||
Default::default()
|
Default::default()
|
||||||
|
|
Loading…
Reference in New Issue