From: Cyril V. <cyr...@me...> - 2004-11-15 18:59:46
|
De : mailto:je...@ru... Emission : 15/11/2004 18:24:27 > > On Nov 15, 2004, at 11:46 AM, Steve Kann wrote: > > > Cyril VELTER wrote: > > > >> While evaluating iaxclient, I noticed a small bug in px_win_wmme.c > >> line 735 (_Px_InitOutputVolumeControls). > >> mixerOpen( ( LPHMIXER )( &mixer->hInputMixer ), hWaveOut, 0, 0, > >> MIXER_OBJECTF_HWAVEOUT ) ; > >> > >> > >> should be > >> mixerOpen( ( LPHMIXER )( &mixer->hOutputMixer ), hWaveOut, 0, 0, > >> MIXER_OBJECTF_HWAVEOUT ) ; > >> > >> > >> the cirrent code does not set the output volume of the right > >> interface (in the case the current device is not the first one) > >> > > I didn't write that code, but AFAIK it seemed to be working correctly > > for us. I'll ask the original author, who knows this code better than > > I do. > > hrm. > > yeah, seems it _should_ be "&mixer->hOutputMixer", but it doesn't seem > to have an effect one way or another. > > i'll test more with the corrected call, and then commit it - for > consistency's sake - > if all goes well. I have a configuration where it does make a difference : WinXP pro, SoundMAX integrated audio + Plantronics DA50 USB adapter. With this configuration, where I use the USB audio, setting output volume will set the output volume of the soundmax device. cyril velter. |