Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
36928f4c
Commit
36928f4c
authored
Oct 03, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add vlc_pa_rttime_free()
This makes up for the lack of pa_context_rttime_free() in libpulse.
parent
2eb100bc
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
include/vlc_pulse.h
include/vlc_pulse.h
+2
-0
src/pulse/mainloop.c
src/pulse/mainloop.c
+11
-0
No files found.
include/vlc_pulse.h
View file @
36928f4c
...
...
@@ -35,6 +35,8 @@ VLC_API void vlc_pa_disconnect (vlc_object_t *obj, pa_context *ctx);
VLC_API
void
vlc_pa_error
(
vlc_object_t
*
,
const
char
*
msg
,
pa_context
*
);
#define vlc_pa_error(o, m, c) vlc_pa_error(VLC_OBJECT(o), m, c)
VLC_API
void
vlc_pa_rttime_free
(
pa_time_event
*
);
# ifdef __cplusplus
}
# endif
...
...
src/pulse/mainloop.c
View file @
36928f4c
...
...
@@ -255,3 +255,14 @@ void vlc_pa_disconnect (vlc_object_t *obj, pa_context *ctx)
vlc_pa_mainloop_deinit
();
(
void
)
obj
;
}
/**
* Frees a timer event.
* \note Timer events can be created with pa_context_rttime_new().
* \warning This function must be called from the mainloop,
* or with the mainloop lock held.
*/
void
vlc_pa_rttime_free
(
pa_time_event
*
e
)
{
(
pa_threaded_mainloop_get_api
(
vlc_pa_mainloop
))
->
time_free
(
e
);
}
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