mirror of
https://github.com/RustAudio/rodio
synced 2024-12-13 21:52:38 +00:00
Reduce threshold in SourcesQueueOutput
This commit is contained in:
parent
0b82c9077c
commit
0d26e0d9b3
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ impl<S> Source for SourcesQueueOutput<S>
|
|||
// If the `size_hint` is `None` as well, we are in the worst case scenario. To handle this
|
||||
// situation we force a frame to have a maximum number of samples indicate by this
|
||||
// constant.
|
||||
const THRESHOLD: usize = 10240;
|
||||
const THRESHOLD: usize = 512;
|
||||
|
||||
// Try the current `current_frame_len`.
|
||||
if let Some(val) = self.current.current_frame_len() {
|
||||
|
|
Loading…
Reference in a new issue