3 * \brief PulseAudio support library for LibVLC plugins
5 /****************************************************************************
6 * Copyright (C) 2011 RĂ©mi Denis-Courmont
8 * This program is free software; you can redistribute it and/or modify it
9 * under the terms of the GNU Lesser General Public License as published by
10 * the Free Software Foundation; either version 2.1 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU Lesser General Public License for more details.
18 * You should have received a copy of the GNU Lesser General Public License
19 * along with this program; if not, write to the Free Software Foundation,
20 * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
21 *****************************************************************************/
29 VLC_API pa_context
*vlc_pa_connect (vlc_object_t
*obj
,
30 pa_threaded_mainloop
**);
31 VLC_API
void vlc_pa_disconnect (vlc_object_t
*obj
, pa_context
*ctx
,
32 pa_threaded_mainloop
*);
34 VLC_API
void vlc_pa_error (vlc_object_t
*, const char *msg
, pa_context
*);
35 #define vlc_pa_error(o, m, c) vlc_pa_error(VLC_OBJECT(o), m, c)
37 VLC_API mtime_t
vlc_pa_get_latency (vlc_object_t
*, pa_context
*, pa_stream
*);
38 #define vlc_pa_get_latency(o, c, s) vlc_pa_get_latency(VLC_OBJECT(o), c, s)
40 VLC_API
void vlc_pa_rttime_free (pa_threaded_mainloop
*, pa_time_event
*);