Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Marijn Suijten
pulseaudio
Commits
2ae2dab3
Commit
2ae2dab3
authored
Jan 11, 2016
by
Arun Raghavan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sink-input, source-output: Add some debug output on start_move()
parent
7c1a5d61
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
src/pulsecore/sink-input.c
src/pulsecore/sink-input.c
+2
-0
src/pulsecore/source-output.c
src/pulsecore/source-output.c
+2
-0
No files found.
src/pulsecore/sink-input.c
View file @
2ae2dab3
...
...
@@ -1580,6 +1580,8 @@ int pa_sink_input_start_move(pa_sink_input *i) {
if
((
r
=
pa_hook_fire
(
&
i
->
core
->
hooks
[
PA_CORE_HOOK_SINK_INPUT_MOVE_START
],
i
))
<
0
)
return
r
;
pa_log_debug
(
"Starting to move sink input %u from '%s'"
,
(
unsigned
)
i
->
index
,
i
->
sink
->
name
);
/* Kill directly connected outputs */
while
((
o
=
pa_idxset_first
(
i
->
direct_outputs
,
NULL
)))
{
pa_assert
(
o
!=
p
);
...
...
src/pulsecore/source-output.c
View file @
2ae2dab3
...
...
@@ -1230,6 +1230,8 @@ int pa_source_output_start_move(pa_source_output *o) {
if
((
r
=
pa_hook_fire
(
&
o
->
core
->
hooks
[
PA_CORE_HOOK_SOURCE_OUTPUT_MOVE_START
],
o
))
<
0
)
return
r
;
pa_log_debug
(
"Starting to move source output %u from '%s'"
,
(
unsigned
)
o
->
index
,
o
->
source
->
name
);
origin
=
o
->
source
;
pa_idxset_remove_by_data
(
o
->
source
->
outputs
,
o
,
NULL
);
...
...
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