Adds comment about latency-push unwrap()
This commit is contained in:
parent
624d1f8ce6
commit
1676bf20b6
1 changed files with 2 additions and 0 deletions
|
|
@ -45,6 +45,8 @@ fn main() -> Result<(), failure::Error> {
|
|||
|
||||
// Fill the samples with 0.0 equal to the length of the delay.
|
||||
for _ in 0..latency_samples {
|
||||
// The ring buffer has twice as much space as necessary to add latency here,
|
||||
// so this should never fail
|
||||
producer.push(0.0).unwrap();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue