Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No sound on Ubuntu 18.04 with Pulseaudio #1

Open
teknico opened this issue Nov 15, 2018 · 0 comments
Open

No sound on Ubuntu 18.04 with Pulseaudio #1

teknico opened this issue Nov 15, 2018 · 0 comments

Comments

@teknico
Copy link

teknico commented Nov 15, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant