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

Strange behaviour of save/discard when recording audio (Win10) #29

Closed
DreadDendy opened this issue Dec 26, 2021 · 2 comments
Closed

Strange behaviour of save/discard when recording audio (Win10) #29

DreadDendy opened this issue Dec 26, 2021 · 2 comments

Comments

@DreadDendy
Copy link

DreadDendy commented Dec 26, 2021

Hello, I have found something strange.
When first one recording discarded and second one saved then actually saved the first one.

My example is for using a microphone, but with the instruments there will be no differences.
Steps to reproduce:

  1. Start recording audio, say something to the microphone
  2. Stop recording and discard saving
  3. Start recording audio again, say somehing different to the microphone
  4. Stop recording and save sample
  5. Check the sample and see that it is actually the sample from step 1

Here is the log file.
stargate.log

@ghost
Copy link

ghost commented Dec 26, 2021

Thanks for reporting. I'm traveling right now, I'll fix this when i return in a few days

@ghost
Copy link

ghost commented Dec 28, 2021

Confirmed that is only happens on Windows. Seems to be a bug in libsndfile. So I cleaned up how recorded audio files are handled to make it safer and more robust, and that seemed to fix the bug. The fix will be in the next release sometime soon.

As always, thanks for reporting!

This issue was closed.
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