Browse Source

s/sr/sample_rate/g

master
Andreas Linz 5 years ago
parent
commit
0726d1b992
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      examples/sine.rs

+ 2
- 2
examples/sine.rs View File

@ -70,8 +70,8 @@ fn main() {
// open output stream
out.open().unwrap();
let sr = out.sample_rate();
println!("Sample rate: {}", sr);
let sample_rate = out.sample_rate();
println!("Sample rate: {}", sample_rate);
match out.latency() {
Ok(latency) => println!("SW latency: {}", latency),

Loading…
Cancel
Save