Boscop

Results 547 comments of Boscop

Thanks, I didn't even know I have to care about the disposal method. I thought the frames would already be decoded to account for it... Looking into it, it seems...

Yeah, it would be nice if there was one crate that supports all codecs that any rust crate supports. E.g. if audrey also supported mp3 (and aac).

I'm also running into this issue on Win 8.1, I'm not using SDL but glium. > thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: -2147417850,...

Hm, with this workaround I can't pause the playback: ```rust let source = Decoder::new(BufReader::new(File::open(in_path_audio)?))?; thread::Builder::new() .spawn(move || { let device = rodio::default_output_device().unwrap(); rodio::play_raw(&device, source.convert_samples()); }) .unwrap(); ``` When I try...

Thanks for confirming this. Btw, I'm on windows, and I was using my external UR22 audio interface.

Hm, but in my case, the audio interface was set to 44.1 and the file also had 44.1 kHz.

A while ago I got a VST host working with rust-portaudio with ASIO: For that I added these definitions: ```rust #[allow(dead_code, non_snake_case)] struct AsioStreamInfo { size: u32, hostApiType: pa::HostApiTypeId, version:...

Hey, I found out what was wrong. Even though I had set `PA_USE_ASIO=1` in the Preprocessor directives for "All Configurations", in the Debug and Release configurations it still had `PA_USE_ASIO=0`...

See also the discussion here, about `OpenPopupOnItemClick`: https://discourse.dearimgui.org/t/pop-ups-on-treenodes/109