Commit 062425ae authored by Jerry Jenkins's avatar Jerry Jenkins Committed by Alexandre Julliard

Added waveOutSetVolume when opening sound driver. Otherwise, there is

no sound if we use aRts.
parent 6a504be5
......@@ -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))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment