Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
5ba7438d
Commit
5ba7438d
authored
Nov 19, 2001
by
Simon Britnell
Committed by
Alexandre Julliard
Nov 19, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a loop playing failure and a problem with choppy sound.
parent
d5aebbe6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
audio.c
dlls/winmm/wineoss/audio.c
+1
-6
No files found.
dlls/winmm/wineoss/audio.c
View file @
5ba7438d
...
...
@@ -724,9 +724,6 @@ static void wodPlayer_Reset(WINE_WAVEOUT* wwo, WORD uDevID, BOOL reset)
}
}
#define MIN_SLEEP_TIME 100
/* millis. NB: <100 millis appears instant to a
* human
*/
/**************************************************************************
* wodPlayer_AwaitEvent [internal]
* Wait for a command to be sent to the wodPlayer or for time to pass
...
...
@@ -752,8 +749,6 @@ static void wodPlayer_AwaitEvent( WINE_WAVEOUT* wwo,
else
dwSleepTime
=
min
(
dwNextFeedTime
,
dwNextNotifyTime
);
}
if
(
dwSleepTime
!=
INFINITE
&&
dwSleepTime
<
MIN_SLEEP_TIME
)
dwSleepTime
=
MIN_SLEEP_TIME
;
TRACE
(
"waiting %lu millis (%lu,%lu)
\n
"
,
dwSleepTime
,
dwNextFeedTime
,
dwNextNotifyTime
);
WaitForSingleObject
(
wwo
->
msgRing
.
msg_event
,
dwSleepTime
);
...
...
@@ -793,7 +788,7 @@ static void wodPlayer_ProcessMessages( WINE_WAVEOUT* wwo, WORD uDevID )
for
(
wh
=
&
(
wwo
->
lpQueuePtr
);
*
wh
;
wh
=
&
((
*
wh
)
->
lpNext
));
*
wh
=
lpWaveHdr
;
}
if
(
!
wwo
->
lpPlayPtr
)
wwo
->
lpPlayPtr
=
lpWaveHdr
;
wodPlayer_BeginWaveHdr
(
wwo
,
lpWaveHdr
)
;
if
(
wwo
->
state
==
WINE_WS_STOPPED
)
wwo
->
state
=
WINE_WS_PLAYING
;
break
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment