mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
ext/Makefile.am: Finish hooking up pulseaudio plugin to the build.
Original commit message from CVS: * ext/Makefile.am: Finish hooking up pulseaudio plugin to the build. * ext/pulse/pulsemixerctrl.c: Fix compilation error.
This commit is contained in:
parent
08d27f468b
commit
1b221b2cf9
3 changed files with 21 additions and 2 deletions
|
@ -1,3 +1,11 @@
|
||||||
|
2008-07-19 Jan Schmidt <jan.schmidt@sun.com>
|
||||||
|
|
||||||
|
* ext/Makefile.am:
|
||||||
|
Finish hooking up pulseaudio plugin to the build.
|
||||||
|
|
||||||
|
* ext/pulse/pulsemixerctrl.c:
|
||||||
|
Fix compilation error.
|
||||||
|
|
||||||
2008-07-19 Jan Schmidt <jan.schmidt@sun.com>
|
2008-07-19 Jan Schmidt <jan.schmidt@sun.com>
|
||||||
|
|
||||||
* po/LINGUAS:
|
* po/LINGUAS:
|
||||||
|
|
|
@ -94,6 +94,13 @@ else
|
||||||
DV1394_DIR =
|
DV1394_DIR =
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if USE_PULSE
|
||||||
|
PULSE_DIR = pulse
|
||||||
|
else
|
||||||
|
PULSE_DIR =
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
if USE_SHOUT2
|
if USE_SHOUT2
|
||||||
SHOUT2_DIR = shout2
|
SHOUT2_DIR = shout2
|
||||||
else
|
else
|
||||||
|
@ -141,6 +148,7 @@ SUBDIRS = \
|
||||||
$(LIBMNG_DIR) \
|
$(LIBMNG_DIR) \
|
||||||
$(LIBPNG_DIR) \
|
$(LIBPNG_DIR) \
|
||||||
$(MIKMOD_DIR) \
|
$(MIKMOD_DIR) \
|
||||||
|
$(PULSE_DIR) \
|
||||||
$(SHOUT2_DIR) \
|
$(SHOUT2_DIR) \
|
||||||
$(SOUP_DIR) \
|
$(SOUP_DIR) \
|
||||||
$(SPEEX_DIR) \
|
$(SPEEX_DIR) \
|
||||||
|
@ -162,6 +170,7 @@ DIST_SUBDIRS = \
|
||||||
ladspa \
|
ladspa \
|
||||||
libcaca \
|
libcaca \
|
||||||
libpng \
|
libpng \
|
||||||
|
pulse \
|
||||||
raw1394 \
|
raw1394 \
|
||||||
shout2 \
|
shout2 \
|
||||||
soup \
|
soup \
|
||||||
|
|
|
@ -490,6 +490,9 @@ gst_pulsemixer_ctrl_timeout_event (pa_mainloop_api * a, pa_time_event * e,
|
||||||
static void
|
static void
|
||||||
restart_time_event (GstPulseMixerCtrl * c)
|
restart_time_event (GstPulseMixerCtrl * c)
|
||||||
{
|
{
|
||||||
|
struct timeval tv;
|
||||||
|
pa_mainloop_api *api;
|
||||||
|
|
||||||
g_assert (c);
|
g_assert (c);
|
||||||
|
|
||||||
if (c->time_event)
|
if (c->time_event)
|
||||||
|
@ -498,9 +501,8 @@ restart_time_event (GstPulseMixerCtrl * c)
|
||||||
/* Updating the volume too often will cause a lot of traffic
|
/* Updating the volume too often will cause a lot of traffic
|
||||||
* when accessing a networked server. Therefore we make sure
|
* when accessing a networked server. Therefore we make sure
|
||||||
* to update the volume only once every 50ms */
|
* to update the volume only once every 50ms */
|
||||||
struct timeval tv;
|
|
||||||
|
|
||||||
pa_mainloop_api *api = pa_threaded_mainloop_get_api (c->mainloop);
|
api = pa_threaded_mainloop_get_api (c->mainloop);
|
||||||
|
|
||||||
c->time_event =
|
c->time_event =
|
||||||
api->time_new (api, pa_timeval_add (pa_gettimeofday (&tv), UPDATE_DELAY),
|
api->time_new (api, pa_timeval_add (pa_gettimeofday (&tv), UPDATE_DELAY),
|
||||||
|
|
Loading…
Reference in a new issue