Added waveOutSetVolume when opening sound driver. Otherwise, there is

no sound if we use aRts.
This commit is contained in:
Jerry Jenkins 2002-09-17 01:29:01 +00:00 committed by Alexandre Julliard
parent 6a504be56f
commit 062425aee4
1 changed files with 3 additions and 0 deletions

View File

@ -668,6 +668,9 @@ HRESULT WINAPI DirectSoundCreate8(REFGUID lpGUID,LPDIRECTSOUND8 *ppDS,IUnknown *
}
(*ippDS)->drvdesc.dnDevNode--; /* take away last increment */
/* for aRts sound server */
if (err == DS_OK) waveOutSetVolume( (*ippDS)->drvdesc.dnDevNode, 0xFFFFFFFFL );
}
if (drv && (err == DS_OK))