Skip to content
Snippets Groups Projects
Commit 062425ae authored by Jerry Jenkins's avatar Jerry Jenkins Committed by Alexandre Julliard
Browse files

Added waveOutSetVolume when opening sound driver. Otherwise, there is

no sound if we use aRts.
parent 6a504be5
No related branches found
No related tags found
No related merge requests found
......@@ -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))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment