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

Make it compile without cpal feature #5

Merged
merged 1 commit into from
Jan 29, 2025

Conversation

rafalmiel
Copy link
Contributor

fn on_buffer<T>(&mut self, _buffer: &mut [T])
    where
        T: cpal::SizedSample + cpal::FromSample<f32>,

trait method depends on cpal crate types.
Disable on_buffer trait method for builds without cpal feature enabled

@zeozeozeo
Copy link
Owner

Thank you!

@zeozeozeo zeozeozeo merged commit f16d3f9 into zeozeozeo:master Jan 29, 2025
1 check failed
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

Successfully merging this pull request may close these issues.

2 participants