Use the QAudioDeviceInfo info=QAudioDeviceInfo: : defaultInputDevice (); , can't access equipment, printed name (info. DeviceName ()) When is empty ", "
Call QList
Now, the whole program with the help of many third party libraries, if the protobuf and fdkaac etc, is a dynamic connection (MD),
In order to compare, I built a test program ( B ), the whole test program is a widget, no other things, is also a 64 release version, but this time called
QAudioDeviceInfo: : defaultInputDevice (); And QAudioDeviceInfo: : availableDevices (QAudio: : AudioInput); And to get to the device correctly,
Key:
1. A. in A 32-bit Debug mode, the QAudioDeviceInfo: : defaultInputDevice (); And QAudioDeviceInfo: : availableDevices (QAudio: : AudioInput); Equipment can be normal, but 64 release and debug mode cannot get normal equipment
2. The program can B in 64 a release or debug mode for equipment,
CodePudding user response:
SysWow64 folders, is a 64 - bit Windows, used to store a 32-bit Windows system files wherehttps://blog.csdn.net/vXueYing/article/details/86693363
CodePudding user response:
Supplemented by the , now the situation is: only under the 32-bit debug can get audio equipment, other patterns (32 bit release or 64 - bit) were unable to get the recording devices,CodePudding user response:
update: program in my computer now no matter what version can get recording equipment, but unable to get the recording equipment on someone else's computer? Why is this? DLL files are complete, also does not have an error on other people's computer, is unable to get the recording equipment, program B on your own computer or on someone else's computer can get the recording equipment,