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
c596ddff
Commit
c596ddff
authored
Jan 25, 2012
by
Jörg Höhle
Committed by
Alexandre Julliard
Oct 31, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winealsa: Fix capture overrun logging.
parent
5f304e70
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
mmdevdrv.c
dlls/winealsa.drv/mmdevdrv.c
+4
-0
No files found.
dlls/winealsa.drv/mmdevdrv.c
View file @
c596ddff
...
...
@@ -2043,9 +2043,13 @@ static void alsa_read_data(ACImpl *This)
nread
=
snd_pcm_readi
(
This
->
pcm_handle
,
This
->
local_buffer
+
pos
*
This
->
fmt
->
nBlockAlign
,
readable
);
TRACE
(
"read %ld from %u limit %lu
\n
"
,
nread
,
This
->
held_frames
+
This
->
lcl_offs_frames
,
readable
);
if
(
nread
<
0
){
int
ret
;
if
(
nread
==
-
EAGAIN
)
/* no data yet */
return
;
WARN
(
"read failed, recovering: %ld (%s)
\n
"
,
nread
,
snd_strerror
(
nread
));
ret
=
snd_pcm_recover
(
This
->
pcm_handle
,
nread
,
0
);
...
...
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