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

QAudioInput may sometimes hang #68

Open
jontio opened this issue Jan 12, 2022 · 0 comments
Open

QAudioInput may sometimes hang #68

jontio opened this issue Jan 12, 2022 · 0 comments

Comments

@jontio
Copy link
Owner

jontio commented Jan 12, 2022

A few people have reported a strange bug where if using an audio input it looks like QAudioInput may occasionally hangs and JAERO gets no new audio buffers but rather just receives the same one over and over again...

image

image

I have been told...

the Windows power profile settings were a very large part of the problem. You must not let your computer even sleep the monitor or use the screen saver as one small example, there are also hard drive and CPU power settings that can mitigate this issue.

It happens on Windows but I don't know if it also happens on Linux or Mac.

Not sure if this issue is a problem with all programs using QAudioInput or just JAERO. If it's a systemic problem with QAudioInput then the issue should probably be logged with the Qt bugtracker. I look in https://bugreports.qt.io/browse/QTBUG-77449?jql=status%20in%20(Reported%2C%20%22Need%20More%20Info%22%2C%20Open%2C%20%22In%20Progress%22%2C%20Reopened%2C%20Resolved%2C%20Implemented%2C%20Withdrawn%2C%20Rejected%2C%20%22Waiting%203rd%20party%22%2C%20%22To%20Do%22%2C%20Blocked)%20AND%20text%20~%20%22QAudioInput%22 but could not see any mention of a bug like this that hasn't been resolved

workaround

Use the ZMQ input

possible solutions

Exchange QAudioInput for something like RTAudio

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