Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

record_wav example always writes very first recorded audio #722

Open
aztecrex opened this issue Nov 5, 2022 · 0 comments
Open

record_wav example always writes very first recorded audio #722

aztecrex opened this issue Nov 5, 2022 · 0 comments

Comments

@aztecrex
Copy link
Contributor

aztecrex commented Nov 5, 2022

Running the example multiple times always produces the first recording I made.

Macbook M1, MacOS Montery, rustc v1.65

To reproduce:

# run the example (and say something)
cargo run --example record_wav
# listen to the result
open recorded.wav
# delete the recording
rm recorded.wav
# run the example again (and say something else)
cargo run --example record_wav
# listen to the result
open recorded.wav

No matter how many times I remove the recording and run the example, I get the very first recorded audio.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant