Added waveOutSetVolume when opening sound driver. Otherwise, there is
no sound if we use aRts.
This commit is contained in:
parent
6a504be56f
commit
062425aee4
|
@ -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 New Issue