mirror of
https://github.com/exoticorn/microw8.git
synced 2026-11-13 23:17:19 +01:00
add sound to skipahead
This commit is contained in:
1 parent
599873890a
commit
a02243d98c
2 files changed
+7
-2
No files matched your search
+1
-1
@@ -402,7 +402,7 @@ fn init_sound(
|
||||
let buffer_size = match *config.buffer_size() {
|
||||
cpal::SupportedBufferSize::Unknown => cpal::BufferSize::Default,
|
||||
cpal::SupportedBufferSize::Range { min, max } => {
|
||||
cpal::BufferSize::Fixed(65536.max(min).min(max))
|
||||
cpal::BufferSize::Fixed(256.max(min).min(max))
|
||||
}
|
||||
};
|
||||
let config = cpal::StreamConfig {
|
||||
|
||||
Reference in new issue
Block a user