Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-daemon
Commits
a3e5f4f7
Commit
a3e5f4f7
authored
Sep 16, 2013
by
Tristan Matthews
Browse files
* #30143: alsa: call snd_pcm_recover after write error
parent
26d1e199
Changes
1
Show whitespace changes
Inline
Side-by-side
daemon/src/audio/alsa/alsalayer.cpp
View file @
a3e5f4f7
...
...
@@ -418,6 +418,9 @@ AlsaLayer::write(void* buffer, int length, snd_pcm_t * handle)
int
err
=
snd_pcm_writei
(
handle
,
buffer
,
frames
);
if
(
err
<
0
)
snd_pcm_recover
(
handle
,
err
,
0
);
if
(
err
>=
0
)
return
;
...
...
Write
Preview
Supports
Markdown
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