Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.2.5
-
None
Description
In Documentation: Qt 6.2 --> Qt Multimedia --> C++ Classes --> QAudioSink (https://doc-snapshots.qt.io/qt6-6.2/qaudiodevice.html#QAudioDevice) the example code does not work... maybe I am missing something but I get the error:
No type named 'defaultOutputDevice' in 'QAudioDevice'
when trying to run:
QAudioDevice info(QAudioDevice::defaultOutputDevice());
I agree with the error. In browsing the docs I cannot find the type defaultOutputDevice. I believe this is supposed to be:
QAudioDevice info(QMediaDevices::defaultAudioOutput());
Am I missing something here? Also I apologize in advance if this is the wrong place to post issues like this.