re: Fix DirectSound's primary buffer Volume and Pan handling

2008-06-17 Thread Dan Kegel
On Jul 23, 2004, Francois Gouget wrote: > The patch removes the primary buffer's 'volpan' variable and instead > uses waveOutGetVolume() on dsound->hwo to get the current volume. This seems to be failing for me here on three different machines during the primary part of test_secondary() in dsound/

Fix DirectSound's primary buffer Volume and Pan handling

2004-07-21 Thread Francois Gouget
Currently the way DirectSound handles Volume and Pan is wrong: * whenever a primary buffer is created (e.g. in DirectSoundCreate()) we initialize an internal variable that sets the volume to the max and pan to the center. * we also call IDsDriverBuffer_SetVolumePan() or waveOutSetVolume() to s