From: Cyril V. <cyr...@me...> - 2004-11-15 16:20:38
|
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) Regarding thread priority, it is better to set the thread priority directly. On windows, scheduling is done thread by thread and SetPriorityClass influence every thread in a process which is not good. It would be better to replace SetPriorityClass by SetThreadPriority(GetCurrentThread(),THREAD_PRIORITY_TIME_CRITICAL) this will only change the priority of the thread servicing audio and not any other threads (user interface ...) Is there any plan ta support Alaw (I'm in france, and it's the native pstn codec here) ? I've hacked some support base on asterisk code, but there might be licencing issues. cyril velter |