Initialize winearts's volume level to full, so applications that don't

set the volume are audible.
This commit is contained in:
Malte Starostik 2002-10-17 01:19:22 +00:00 committed by Alexandre Julliard
parent 7d789599d5
commit 41a9b1bba6
1 changed files with 4 additions and 0 deletions

View File

@ -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 */