Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
7a01b383
Commit
7a01b383
authored
Jan 02, 2001
by
Marcus Meissner
Committed by
Alexandre Julliard
Jan 02, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Read 4 bytes to wake up GETISPACE.
parent
a983a719
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
audio.c
dlls/winmm/wineoss/audio.c
+6
-0
No files found.
dlls/winmm/wineoss/audio.c
View file @
7a01b383
...
...
@@ -1710,6 +1710,7 @@ static DWORD CALLBACK widRecorder(LPVOID pmt)
DWORD
bytesRead
;
audio_buf_info
info
;
int
xs
;
LPVOID
buffer
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
...
...
@@ -1722,6 +1723,11 @@ static DWORD CALLBACK widRecorder(LPVOID pmt)
wwi
->
dwTotalRecorded
=
0
;
SetEvent
(
wwi
->
hEvent
);
/* the soundblaster live needs a micro wake to get its recording started
* (or GETISPACE will have 0 frags all the time)
*/
read
(
wwi
->
unixdev
,
&
xs
,
4
);
/* make sleep time to be # of ms to output a fragment */
dwSleepTime
=
(
wwi
->
dwFragmentSize
*
1000
)
/
wwi
->
format
.
wf
.
nAvgBytesPerSec
;
...
...
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