Title: TQI - Technology and Quality on Information
Hello there!

It seems this condition comes from some time ago.
I checked out the old codes (OpenWengo version 2.1) that we use currently and they are the same and, as expected, don't work as well.

Digging on the code I've noticed the following comment:

//String deviceId = audioDevice.getData()[1];

This comment is on "Win32VolumeControl" constructor that calls "Win32AudioDeviceId::getMixerDeviceId()" which returns the wrong deviceId.
During my tests, I realise that the commented code seems to return the desired and correct deviceId.

Does anyone have an idea of why is it commented ?

Thanks and best regards,
Mauro.



Mauro Sergio Ferreira Brasil escreveu:
Hello there!

I'm experiencing some problems with "sound" library and even with QuteCom RC3 client.

Both machines here (mine and the one of my coleague) have updated QuteCom RC3 client application and are not working fine with default device configuration, we don't configured an specific device (just let "(default) ... Input/Output".
Microphone keeps showing up with a "red X" indicating problems and don't accept level changing.

Having a better look on sound API, I faced an unexpected condition: during "Win32VolumeControl" instantiation we have the following call:

int deviceId = Win32AudioDeviceId::getMixerDeviceId(deviceName);

The "getMixerDeviceId" method uses "mixerGetNumDevs" to list the devices which don't include the Windows "default" ones that are generally returned by the "portaudio" library.
The result is both (Input and Output) devices being configured with the default return of "getMixerDeviceId" method that is "0"; which is valid for one of them (the speakers).

Does anyone had the same problem ?

Thanks and best regards,

--
At.,                                                                                                                               
 
Technology and Quality on Information
Mauro Sérgio Ferreira Brasil
Coordenador de Projetos e Analista de Sistemas
+ [email protected]
: www.tqi.com.br
( + 55 (34)3291-1700
( + 55 (34)9971-2572

_______________________________________________ QuteCom-dev mailing list [email protected] http://lists.qutecom.org/mailman/listinfo/qutecom-dev

--




TQI - Technology and Quality on Information
At.,                                                                                                                               
 
Technology and Quality on Information
Mauro Sérgio Ferreira Brasil
Coordenador de Projetos e Analista de Sistemas
+ [email protected]
: www.tqi.com.br
( + 55 (34)3291-1700
( + 55 (34)9971-2572
_______________________________________________
QuteCom-dev mailing list
[email protected]
http://lists.qutecom.org/mailman/listinfo/qutecom-dev

Reply via email to