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

bump cpal to 0.15 #4062

Merged
merged 1 commit into from
Apr 15, 2023
Merged

bump cpal to 0.15 #4062

merged 1 commit into from
Apr 15, 2023

Conversation

21pages
Copy link
Collaborator

@21pages 21pages commented Apr 15, 2023

#3762
wouldn't help unless the device format is not F32, U16, I16

Signed-off-by: 21pages <pages21@163.com>
@rustdesk
Copy link
Owner

👍

@rustdesk rustdesk merged commit 573417d into rustdesk:master Apr 15, 2023
16 checks passed
cpal::SampleFormat::U64 => self.build_output_stream::<u64>(&config, &device)?,
cpal::SampleFormat::F32 => self.build_output_stream::<f32>(&config, &device)?,
cpal::SampleFormat::F64 => self.build_output_stream::<f64>(&config, &device)?,
f => bail!("unsupported audio format: {:?}", f),
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can remove this f to support all format?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and how about more than 2 channels mentioned in the issue. we can convert to 2 channels.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can't remove f

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.

None yet

2 participants