Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
None
-
5.9.1
-
None
-
I'm working on Windows 10, the used Kit is Desktop Qt 5.9.1 MinGW 32 bit.
Description
Hello
This is pretty new for me, so I'm not shure if I'm right here, sorry if not.
Played with the Audio Output Example. When I changed the sampleType for the audioformat to QAudioFormat::UnSignedInt, the sound I got was different. The only change I made was in audiooutput.cpp. I replaced
m_format.setSampleType(QAudioFormat::SignedInt);
with
m_format.setSampleType(QAudioFormat::UnSignedInt);
The Generator::generateData-function has code to handle both possibility, so I thought, the sound I will get would be the same, which isn't the case.
As mentioned above, I'm not shure if this really a bug or the right place for this issue, but I'm pretty shure it doesn't do what it's supposed to do.
Kind regards,
urbaer
Attachments
For Gerrit Dashboard: QTBUG-62621 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
206146,6 | PulseAudio: Reject unsupported audio formats | 5.10 | qt/qtmultimedia | Status: MERGED | +2 | 0 |