mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-23 06:59:53 -05:00
implement device reservation scheme
This commit is contained in:
parent
3c73025bf5
commit
c341010304
10 changed files with 1102 additions and 2 deletions
|
|
@ -1309,10 +1309,16 @@ libalsa_util_la_CFLAGS = $(AM_CFLAGS) $(ASOUNDLIB_CFLAGS)
|
|||
|
||||
if HAVE_HAL
|
||||
libalsa_util_la_SOURCES += modules/hal-util.h modules/hal-util.c
|
||||
libalsa_util_la_LIBADD += $(HAL_LIBS) libdbus-util.la
|
||||
libalsa_util_la_LIBADD += $(HAL_LIBS)
|
||||
libalsa_util_la_CFLAGS += $(HAL_CFLAGS)
|
||||
endif
|
||||
|
||||
if HAVE_DBUS
|
||||
libalsa_util_la_SOURCES += modules/reserve.h modules/reserve.c modules/reserve-wrap.c modules/reserve-wrap.h
|
||||
libalsa_util_la_LIBADD += $(DBUS_LIBS)
|
||||
libalsa_util_la_CFLAGS += $(DBUS_CFLAGS)
|
||||
endif
|
||||
|
||||
module_alsa_sink_la_SOURCES = modules/alsa/module-alsa-sink.c
|
||||
module_alsa_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
|
||||
module_alsa_sink_la_LIBADD = $(AM_LIBADD) $(ASOUNDLIB_LIBS) libalsa-util.la libpulsecore-@PA_MAJORMINORMICRO@.la libpulsecommon-@PA_MAJORMINORMICRO@.la libpulse.la
|
||||
|
|
@ -1614,6 +1620,11 @@ update-sbc:
|
|||
wget -O modules/bluetooth/$$i http://git.kernel.org/\?p=bluetooth/bluez.git\;a=blob_plain\;f=audio/$$i ; \
|
||||
done
|
||||
|
||||
update-reserve:
|
||||
for i in reserve.c reserve.h ; do \
|
||||
wget -O modules/$$i http://git.0pointer.de/\?p=reserve.git\;a=blob_plain\;f=$$i\;hb=master ; \
|
||||
done
|
||||
|
||||
# Automatically generate linker version script. We use the same one for all public .sos
|
||||
update-map-file:
|
||||
( echo "PULSE_0 {" ; \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue