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() {
|
||||
// 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(
|
||||
Some("dev.tinybird.max.lull"),
|
||||
Default::default()
|
||||
|
|
Loading…
Reference in New Issue