RustAudio / cpal

Cross-platform audio I/O library in pure Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

record_wav example, question about using Option

RainerZufall187 opened this issue · comments

why does this line use Option?

let writer = Arc::new(Mutex::new(Some(writer)));

What does the compiler say when you remove it?