QAudioDeviceInfo::availableDevices doesn't refresh
-
I use Qaudio to play audio in my app. Now my app install in win server. then I visit server from cirtrix in one local machine A. availableDevices() return correct device which from my current local machine A. But it reture wrong device which is old loacl machine when I change to local machine B to visit win server.
for example:
local machine A: device list: Headset Earphone (Sennheiser SD),
Echo Cancelling Speakerphone (P)local machine B: device list: [Speakers (Realtek(R) Audio)]
Result:
availableDevices return :Headset Earphone (Sennheiser SD) when use machine A.
Echo Cancelling Speakerphone (P)availableDevices return device not refresh when I change local machine B from local machine A.
And it works well when I restart my app.
Anyone who know how to solve it????? -
Hi and welcome to devnet,
Which version of Qt are you using ?
Which exact OS are you running ?
Which versions ? -
Hi and welcome to devnet,
Which version of Qt are you using ?
Which exact OS are you running ?
Which versions ?