Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
7d19f1dd
Commit
7d19f1dd
authored
Aug 08, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PulseAudio: report policy stream events (refs #5101)
parent
a666d9b2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
modules/audio_output/pulse.c
modules/audio_output/pulse.c
+6
-0
No files found.
modules/audio_output/pulse.c
View file @
7d19f1dd
...
@@ -372,6 +372,12 @@ static void stream_event_cb(pa_stream *s, const char *name, pa_proplist *pl,
...
@@ -372,6 +372,12 @@ static void stream_event_cb(pa_stream *s, const char *name, pa_proplist *pl,
{
{
audio_output_t
*
aout
=
userdata
;
audio_output_t
*
aout
=
userdata
;
if
(
!
strcmp
(
name
,
PA_STREAM_EVENT_REQUEST_CORK
))
aout_PolicyReport
(
aout
,
true
);
else
if
(
!
strcmp
(
name
,
PA_STREAM_EVENT_REQUEST_UNCORK
))
aout_PolicyReport
(
aout
,
false
);
else
#if PA_CHECK_VERSION(1,0,0)
#if PA_CHECK_VERSION(1,0,0)
/* FIXME: expose aout_Restart() directly */
/* FIXME: expose aout_Restart() directly */
if
(
!
strcmp
(
name
,
PA_STREAM_EVENT_FORMAT_LOST
))
{
if
(
!
strcmp
(
name
,
PA_STREAM_EVENT_FORMAT_LOST
))
{
...
...
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