@pderocco said in QAudioDecoder timing race:
I'm thinking it might be better to just write my own local file reader, since uncompressed PCM WAV files are pretty simple.
In your particular use case I agree.
Hey,
Sorry for late answer. Yes everything seemed fine. No error report at least.
But I'm guessing that this might not actually be linked with this topic anymore. So I'll just look into this issue on my own from there.
Anyway, thanks a lot for the support !
Best regards,
TomHat
Hi @robcreamer, this is outside my expertise, but I suggest you subscribe to the Interest mailing list (http://lists.qt-project.org/mailman/listinfo/interest ) and post your sample code + 122.7-hour log there. I'm sure one of the Qt engineers on the list can tell you what's happening.
Hi and welcome to devnet,
You should check what your device support, QAudioDeviceInfo gives you all the various channel counts, sample sizes etc. that are supported by the device you want to use.
@Grynium @rickywong2017
This is the way i fixed it.
Step 1: use 'apt-cache search -n gstreamer' to get the list all of the gstreamer and libgstream lib
Step 2: for each of lib in the list. Use 'apt-get install name-of-the-gstreamer-lib' to install it. After install almost the lib in the list my example run. ( i don't know which is the exactly lib i need to install. I just install all of them until my example run)
Step 3: rebuild your example and run.
I hope this help.
@FrankiPL
I suspect @speeter will have long disappeared, as that post was a year ago :)
Just a thought: have a look at (the first part of) https://raspberrypi.stackexchange.com/a/61086, which claims it's a generic Linux problem rather than just a RPi one. It's not quite the same messages, but worth investigating?
@tamolo You used qmake from home/Qt5.7 to build QtMultimedia, right? In this case make install should copy it to home/Qt5.7. If it did not then you still can copy the stuff manually. Actually, if you call "make install" you see what it is installing where.
Depending on your needs, QAudioOutput is rather a lightweight alternative but QMediaPlayer is indeed easier to setup and run.
Glad you found out and thanks for sharing !