cpal
cpal copied to clipboard
must_use on stream
I've been a happy user of cpal for playing around with sound but got bitten in my foot two times by the same behavior:
I forget to persist the stream that come from build_input_stream
and my program just silently does nothing.
I feel like this experience can be significantly improved if Streams had "must_use" attribute