mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 10:41:12 +00:00
Added waveOutSetVolume when opening sound driver. Otherwise, there is
no sound if we use aRts.
This commit is contained in:
parent
6a504be56f
commit
062425aee4
1 changed files with 3 additions and 0 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue