]> code.delx.au - pulseaudio/commitdiff
build-sys: Add volume code to libpulsecommon
authorArun Raghavan <arun.raghavan@collabora.co.uk>
Fri, 26 Oct 2012 03:11:08 +0000 (08:41 +0530)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Fri, 26 Oct 2012 03:13:32 +0000 (08:43 +0530)
Commit dd31d652a ("utils: Adding a function to get volume from string")
uses pa_sw_volume_from_dB(), which is part of libpulse, in libpulsecore.
This breaks as-needed builds. We fix this by also building the volume
code in libpulsecommon.

src/Makefile.am

index 6212c74e16b7f515d011ca2f0f8929494ae26276..f80c448a83819e79c802c1f6f517f89bb7e61c32 100644 (file)
@@ -570,6 +570,7 @@ libpulsecommon_@PA_MAJORMINOR@_la_SOURCES = \
                pulse/util.c pulse/util.h \
                pulse/timeval.c pulse/timeval.h \
                pulse/rtclock.c pulse/rtclock.h \
+               pulse/volume.c pulse/volume.h \
                pulsecore/atomic.h \
                pulsecore/authkey.c pulsecore/authkey.h \
                pulsecore/conf-parser.c pulsecore/conf-parser.h \