Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
3289ce81
Commit
3289ce81
authored
Jul 20, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PulseAudio: print context infos as debug messages
parent
41eac259
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
src/pulse/mainloop.c
src/pulse/mainloop.c
+11
-1
No files found.
src/pulse/mainloop.c
View file @
3289ce81
...
...
@@ -23,7 +23,7 @@
# include "config.h"
#endif
#define MODULE_STRING "
vlc
pulse"
#define MODULE_STRING "pulse"
#include <vlc_common.h>
#include <pulse/pulseaudio.h>
...
...
@@ -170,6 +170,10 @@ pa_context *vlc_pa_connect (vlc_object_t *obj)
if
(
unlikely
(
mainloop
==
NULL
))
return
NULL
;
msg_Dbg
(
obj
,
"using library version %s"
,
pa_get_library_version
());
msg_Dbg
(
obj
,
" (compiled with version %s, protocol %u)"
,
pa_get_headers_version
(),
PA_PROTOCOL_VERSION
);
char
*
ua
=
var_InheritString
(
obj
,
"user-agent"
);
pa_context
*
ctx
;
...
...
@@ -188,6 +192,12 @@ pa_context *vlc_pa_connect (vlc_object_t *obj)
pa_context_unref
(
ctx
);
goto
fail
;
}
msg_Dbg
(
obj
,
"connected %s to %s as client #%"
PRIu32
,
pa_context_is_local
(
ctx
)
?
"locally"
:
"remotely"
,
pa_context_get_server
(
ctx
),
pa_context_get_index
(
ctx
));
msg_Dbg
(
obj
,
"using protocol %"
PRIu32
", server protocol %"
PRIu32
,
pa_context_get_protocol_version
(
ctx
),
pa_context_get_server_protocol_version
(
ctx
));
pa_threaded_mainloop_unlock
(
mainloop
);
return
ctx
;
...
...
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