Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
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
Иван Мажукин
mpd
Commits
f1b8bcd6
Commit
f1b8bcd6
authored
4 years ago
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
output/pulse: don't drain if stream is suspended or corked
In this state, we can't make any progress. Closes
https://github.com/MusicPlayerDaemon/MPD/issues/1084
parent
c2bc3704
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
NEWS
NEWS
+1
-0
PulseOutputPlugin.cxx
src/output/plugins/PulseOutputPlugin.cxx
+3
-1
No files found.
NEWS
View file @
f1b8bcd6
...
...
@@ -5,6 +5,7 @@ ver 0.22.5 (not yet released)
- iso9660: another fix for unaligned reads
* output
- httpd: error handling on Windows improved
- pulse: fix deadlock with "always_on"
* Windows:
- enable https:// support (via Schannel)
...
...
This diff is collapsed.
Click to expand it.
src/output/plugins/PulseOutputPlugin.cxx
View file @
f1b8bcd6
...
...
@@ -830,7 +830,9 @@ PulseOutput::Drain()
{
Pulse
::
LockGuard
lock
(
mainloop
);
if
(
pa_stream_get_state
(
stream
)
!=
PA_STREAM_READY
)
if
(
pa_stream_get_state
(
stream
)
!=
PA_STREAM_READY
||
pa_stream_is_suspended
(
stream
)
||
pa_stream_is_corked
(
stream
))
return
;
pa_operation
*
o
=
...
...
This diff is collapsed.
Click to expand it.
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