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
9c75a6aa
Commit
9c75a6aa
authored
Aug 23, 2011
by
Jörg Höhle
Committed by
Alexandre Julliard
Sep 08, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winealsa: Recommend Pulse users to upgrade to handle_underrun.
parent
08dd823c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
mmdevdrv.c
dlls/winealsa.drv/mmdevdrv.c
+5
-1
No files found.
dlls/winealsa.drv/mmdevdrv.c
View file @
9c75a6aa
...
...
@@ -47,6 +47,7 @@
#include <alsa/asoundlib.h>
WINE_DEFAULT_DEBUG_CHANNEL
(
alsa
);
WINE_DECLARE_DEBUG_CHANNEL
(
winediag
);
#define NULL_PTR_ERR MAKE_HRESULT(SEVERITY_ERROR, FACILITY_WIN32, RPC_X_NULL_REF_POINTER)
...
...
@@ -540,8 +541,11 @@ HRESULT WINAPI AUDDRV_GetAudioEndpoint(const char *key, IMMDevice *dev,
TRACE
(
"Opening PCM device
\"
%s
\"
with handle_underrun: %d
\n
"
,
key
,
err
);
snd_config_delete
(
lconf
);
/* Pulse <= 2010 returns EINVAL, it does not know handle_underrun. */
if
(
err
==
-
EINVAL
)
if
(
err
==
-
EINVAL
){
ERR_
(
winediag
)(
"PulseAudio
\"
%s
\"
%d without handle_underrun. Audio may hang."
" Please upgrade to alsa_plugins >= 1.0.24
\n
"
,
key
,
err
);
handle_underrun
=
0
;
}
}
else
err
=
-
EINVAL
;
if
(
err
==
-
EINVAL
){
...
...
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