Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.2.0, 6.2.1, 6.2.2
-
None
Description
In Qt 5.15.X the QAudioOutput class offered the setCategory(const QString &category) method to set the stream category.
This is important for correctly playing audio through a bluetoothSCO (headset) connected to an android device, by using setCategory("voice").
How can the same functionality be achieved in Qt 6.2.X using QAudioSink? If I've understood correctly, this is the class which replaced QAudioOutput in Qt6.
https://doc.qt.io/qt-5/qaudiooutput.html
https://doc-snapshots.qt.io/qt6-6.2/qaudiosink.html