You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running cargo run on Ubuntu 18.04 with Pulseaudio with under v.1.30.1, an unsupported format is chosen by cpal and the "Can't handle output buffer format" panic results.
Once the one format supported by the code is hard-wired, stream_data yields a buffer that is not a multiple of 2 * N_SAMPLES_PER_CHUNK, causing an "index out of bounds" panic.
The text was updated successfully, but these errors were encountered:
When running
cargo run
on Ubuntu 18.04 with Pulseaudio with under v.1.30.1, an unsupported format is chosen bycpal
and the "Can't handle output buffer format" panic results.Once the one format supported by the code is hard-wired,
stream_data
yields a buffer that is not a multiple of2 * N_SAMPLES_PER_CHUNK
, causing an "index out of bounds" panic.The text was updated successfully, but these errors were encountered: