Details
-
Bug
-
Resolution: Duplicate
-
P2: Important
-
None
-
5.6.0
-
None
-
Windows 7.
Description
On windows platform the following code will return a partial string for the deviceName of all audioOutput devices.
QAudioDeviceInfo deviceInfo(QAudioDeviceInfo::defaultOutputDevice());
auto outputDevices = deviceInfo.availableDevices(QAudio::Mode::AudioOutput);
for (auto device : outputDevices)
For example in my system I have a Logitec headset.
- Using native windows apis the deviceName returned is following:
"speakers (logitech usb headset h540)" - Using QAudioDeviceInfo api the deviceName returned is following: "Speakers (Logitech USB Headset"
Notice the string is partial and the end is cropped, the same behaviour happens for all devices including AudioInput and AudioOutput.
Attachments
Issue Links
- duplicates
-
QTBUG-52699 The audio device names are truncated
-
- Closed
-