-
Notifications
You must be signed in to change notification settings - Fork 3
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
Improve sound handling #3
Comments
Unfortunately I don't hear any sound, even when enabled, in 1.9.0 when built with Qt6. 1.9.0 with Qt5 is fine though, as is 1.8.0 regardless of Qt version. |
Are there any messages on console? Is there sound in any other qt6-multimedia consumers? |
now that you mention it, I see five of these with the affected build:
I'd have to find another consumer of Qt6Multimedia to test there. |
The fact that there are five of these does suggest that these are related to attempts to load 5 sounds the game contains. That it mentions http headers is completely unexpected though, I'd never expect |
Does any of https://doc.qt.io/qt-6/qtmultimedia-changes-qt6.html apply to the code here? |
Not really. Should probably read qt code a bit to understand what may be happening here, in the meantime could you try dumping |
Sorry, I'm not sure how to go about doing that. But I can tell you I'm using Qt 6.4.2. |
Ok, I'm afk till next week, then I'll meke a branch for debugging this. |
Try |
I'm not seeing any of the debug output with qt6, so it seems it's not getting that far? |
Are you sure you've built from the right branch and haven't disabled sound support (ENABLE_SOUND)? |
Having to depend on SDL is strange. Qt multimedia or some simpler library, like maybe sndio, could be used. Also the sound plays with noticeable delay, which should be fixed too.
The text was updated successfully, but these errors were encountered: