Initialize winearts's volume level to full, so applications that don't
set the volume are audible.
This commit is contained in:
parent
7d789599d5
commit
41a9b1bba6
|
@ -1012,6 +1012,10 @@ static DWORD wodOpen(WORD wDevID, LPWAVEOPENDESC lpDesc, DWORD dwFlags)
|
||||||
wwo->dwPlayedTotal = 0;
|
wwo->dwPlayedTotal = 0;
|
||||||
wwo->dwWrittenTotal = 0;
|
wwo->dwWrittenTotal = 0;
|
||||||
|
|
||||||
|
/* Initialize volume to full level */
|
||||||
|
wwo->volume_left = 100;
|
||||||
|
wwo->volume_right = 100;
|
||||||
|
|
||||||
ARTS_InitRingMessage(&wwo->msgRing);
|
ARTS_InitRingMessage(&wwo->msgRing);
|
||||||
|
|
||||||
/* create player thread */
|
/* create player thread */
|
||||||
|
|
Loading…
Reference in New Issue