-
Notifications
You must be signed in to change notification settings - Fork 28
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
[Windows|macOS|Linux|BSD] - Crash when setting sample rate #483
Comments
Thank you for your report. It seems the buffer length of blip_buf is insufficient. My device cannot output at 249600Hz, so I cannot reproduce it. I don't know what the appropriate length is, so I can only take an ad hoc approach. |
It appears that it didnt help.
Only difference is that it doesnt crashes instantly, only after about 10 seconds, depending on a buffer size. |
It is not clear how long the buffer length should be to avoid the problem... If the buffer length is set to be long (e.g. 200 ms), does the problem not occur? It is not good to have the application forcefully terminate due to abort, so I will try to fix it that the audio processing stops when an error occurs. |
At over 100 ms, it seems stable, butits unusable due to how distorted, crunchy and laggy sound becomes. It becomes clean at around 20 ms, but then again, it crashes... |
Fixed to stop playback and display an error message box without calling abort. |
Bug Description
Going into settings, sound tab, setting the sample rate to the highest possible, which is 249600 hz for me, causes to crash the program with terminal output stating:
How to reproduce
1.Run program
2. Go into config settings, sound tab
3. Set buffer length to sth very low, 3ms should work
4. Set sample rate to highest possible (249600)
System Information
The text was updated successfully, but these errors were encountered: