summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* i18n: Update POTFILES.*Arun Raghavan2010-12-052-0/+4
| | | | | Add new modules, and skip module-virtual-sink for i18n since it's really meant to be a template for writing other modules.
* build-sys: Include the .version file in the distribution tarballColin Guthrie2010-12-052-0/+2
| | | | | | | | | | | As per the comments in git-version-gen, the .version file that is typically generated automatically during build should be included in the tarball, so generate it in the dist-hook. This fixes a problem when running make distcheck which uses a read-only source folder and thus cannot generate the $top_srcdir/.version as part of it's build process (it uses a _build folder which is r/w) and thus cannot be built.
* build-sys: Fix make distcheck failure due to udev rules fixed install pathColin Guthrie2010-12-051-0/+2
| | | | | I don't know why this does not honour DESTDIR or similar during distcheck but this simple enough patch fixes it.
* build-sys: Replace dummy Makefiles with proper Makefile.am'sColin Guthrie2010-12-0535-39/+379
| | | | | | | | | | | | | | | | | | | | | | | | This is needed to better support out of tree builds (including distcheck) and to ensure the necessary folders are created in the build tree on configure and also works around an intl-tools bug (https://bugs.launchpad.net/intltool/+bug/605826) The Makefile.am's used are minimal (and in some cases completely blank). At present they do not include anything interesting with the majority of the real work still done by the monolitic src/Makefile.am It may make sense to start splitting out src/Makefile.am into smaller chunks but this commit makes the minimum changes to address the issues that result from using make distcheck and other out of tree builds. Note: This 'breaks' the ability to type make in e.g. the src/modules folder and have all of PA rebuilt accordingly (this is because the static Makefiles previously present just did a "make -C ..") which was purportedly for use in emacs. But I'm sure there will be a better and more robust way to configure emacs to do your builds properly if this behaviour is still desirable.
* build-sys: Add some smarts to version extraction from git tags.Colin Guthrie2010-12-041-7/+15
| | | | | | | | | | | | | | When we are dealing with a tag against a commit with other tags applied, then favour the first tag, not the last one. This allows us to tag a release as e.g. v1.0, v1.1-dev and v2.0-dev and get a version of 1.0 rather than the newer tags. This also removes support for git versions that do not accept the --match argument as we also now make use of the --contains arg which was added at the same time (I think) Additionally, the v variable is reset just incase it is already exported in the shell for some reason.
* doxygen: Fix version numbers for new featuresColin Guthrie2010-12-043-7/+7
| | | | | | Due to how our branching worked out, these new features will debut in v1.0 and not v0.9.22 which has already been released from the stable-queue branch
* echo-cancel: Fix source may_move_to functionArun Raghavan2010-12-021-1/+1
| | | | | | | This is required to make sure that the source output between module-echo-cancel and ALSA can't get plugged to the virtual source or monitor of the virtual sink that we expose. This could be triggered by changing the profile of the underlying ALSA device.
* rescue-streams: Fix segfault in some conditionsArun Raghavan2010-12-021-1/+1
| | | | | | | There is a call to this function where 'skip' variable is NULL. Looks like this code doesn't get hit very often, probably because a suitable default sink can be found to move the stream to. However, if we can't move to the default sink and skip is NULL, there will be a segfault.
* alsa-sink: take base volume into account when applying hw volumeJuho Hämäläinen2010-12-011-2/+8
| | | | | | | Currently if sink base volume differs from 0dB and sync-volume is used, wrong volume values are written to hw. This patch fixes that. Signed-off-by: Juho Hämäläinen <ext-juho.hamalainen@nokia.com>
* man: Reference correct `--use-pid-file` and fix typo (`s/Of/If/`).Paul Menzel2010-11-281-3/+3
| | | | | Also reword to avoid referring to the legacy /tmp/pulse-$USER path (Colin Guthrie)
* build-sys: simplify things for building on fedoraLennart Poettering2010-11-281-1/+2
|
* i18n: update POTFILES.inLennart Poettering2010-11-281-0/+1
|
* build-sys: bump sonameLennart Poettering2010-11-281-1/+1
|
* build-sys: Link lirc libraries in right orderJyri Sarha2010-11-281-1/+1
| | | | | | | | Wrong order of libraries causes libtool to link primarily from lirc library location and not from $(libdir) location in install phase. This is a problem if you have an older version pulseaudio libs installed under same directory as liblirc and you are building a newer version with some other directory prefix.
* build-sys: Link binaries linking libpulsecommon to libpulse tooJyri Sarha2010-11-281-33/+33
| | | | | Build fails if a symbol is removed from from libpulsecommon. Linking explicitly to libpulse fixes the problem.
* build-sys: Link binaries linking libpulse to libpulsecommon tooJyri Sarha2010-11-281-9/+9
| | | | | | | Build appeared to fails when a new function is added to libpulsecommon. This is because build uses libpulsecommon that is installed into system instead of the one that is being built. Explicit linking to libpulsecommon fixes the problem.
* core: Add name to flist struct for more informative log messagesJyri Sarha2010-11-282-4/+13
| | | | PA_STATIC_FLIST_DECLARE macro sets the flist name automatically.
* core: Lower "flist is full" log message level to debug and ratelimit itJyri Sarha2010-11-281-1/+2
|
* volume: Add explicit checks for ARMv6 instructionsv0.98-devArun Raghavan2010-11-282-5/+36
| | | | | | | This ensures that the build does not fail if the ssat and pkhbt instructions are not available (armv5te and below). Fixes: http://www.pulseaudio.org/ticket/790
* version: Drop the micro version numberColin Guthrie2010-11-287-191/+188
| | | | | | | | | | | As per discussions with Lennart, we will be moving to a two-component version number scheme when the next release is made from git master branch. This means we will be dropping the micro version component (although for compatibility, it will remain defined as 0 in version.h). For more information, please see the announcement here: http://thread.gmane.org/gmane.comp.audio.pulseaudio.general/7921
* module-bonjour-publish: don't include avahi headersDaniel Mack2010-11-251-1/+0
| | | | The avahi layer won't work on OSX and is unnecessary, too.
* alsa-source: fix enum typesLennart Poettering2010-11-251-2/+2
|
* alsa-mixer: make a few strings translatableLennart Poettering2010-11-251-3/+3
| | | | | | Original patch contributed by 'kelemeng' http://pulseaudio.org/ticket/843
* pulse: make sure legacy_dir is not staticJan Kratochvil2010-11-251-1/+1
|
* Handle 'Internal Mic 1' as an 'Input Source'Daniel T Chen2010-11-251-0/+4
| | | | | | | | | BugLink: https://launchpad.net/bugs/680810 Some laptops have 'Internal Mic 1' exposed as an 'Input Source', e.g., Dell XPSM 1530, so handle these, too. Signed-off-by: Daniel T Chen <crimsun@ubuntu.com>
* Add "Rear Mic" to alsa mixer paths.David Henningsson2010-11-252-0/+13
| | | | Signed-off-by: David Henningsson <david.henningsson@canonical.com>
* alsa: Print dB values in addition to percentages in debug messages.Tanu Kaskinen2010-11-192-17/+46
| | | | | | | How about this? There are a couple of bugs in sink_write_volume_cb, by the way. Another patch will be sent once this dB value printing patch is accepted. -- 8< --
* alsa: Sprinkle some PA_UNLIKELYs around error checksArun Raghavan2010-11-181-11/+10
| | | | | This just adds a few PA_UNLIKELY macros around some error paths in frequently called code.
* man: Remove repeated linesWanming.Zhang@tieto.com2010-11-181-6/+0
| | | | | | | | | From 3c18dbe5889816792db27c9a7253a83687d68ee9 Mon Sep 17 00:00:00 2001 From: Zhang Wanming <wanming.zhang@tieto.com> Date: Thu, 18 Nov 2010 10:03:39 +0800 Subject: [PATCH] man: Remove repeated lines Signed-off-by: Zhang Wanming <wanming.zhang@tieto.com>
* combine: Only check if the sink is h/w etc. in automatic modeColin Guthrie2010-11-171-8/+8
|
* upnp: Implement the MediaServer2 D-Bus interfaceStephen Moehle2010-11-161-199/+463
| | | | | | This allows PulseAudio to work with versions of Rygel 0.7.1 and higher which only support MediaServer2: http://live.gnome.org/Rygel/MediaServer2Spec
* core: New LIFO style flist implementation v2.2Jyri Sarha2010-11-161-153/+64
| | | | | | | | | | | | The old free list implementation used objects in FIFO style. This is bad because it tries keep all the objects ever used alive and in memory. This minimizes the changes that an allocated object is already in cache. When there is shortage of physical memory this may also increase change that newly allocated object is swapped out. LIFO (e.g. stack) style free list should help these issues. Like the old one the new implementation is also lock free. This version (v2.1) of the patch has a potential weakness fixed. The previous version (2.0) did segfault when popping from empty flist, this does not.
* combine: Handle reappearing slave sinks in non-automatic mode.Antti-Ville Jansson2010-11-161-3/+23
| | | | | | | | Earlier, if slave sinks were unlinked in non-automatic mode, their re-appearance was disregarded. Now they are added back to the list of outputs. Signed-off-by: Antti-Ville Jansson <antti-ville.jansson@digia.com> Reviewed-by: Tanu Kaskinen <tanu.kaskinen@digia.com>
* alsa: remove redundant call to snd_pcm_nonblock()Pierre-Louis Bossart2010-11-161-2/+0
| | | | | | | The PCM handle is already opened with the SND_PCM_NONBLOCK flag. This additional call is useless. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@intel.com>
* core: make use of dbus_message_iter_append_fixed_arrayLuiz Augusto von Dentz2010-10-201-6/+1
| | | | | dbus_message_iter_append_fixed_array does appends a block of fixed-length values to an array.
* bluetooth: make use of dbus-util helper functionsLuiz Augusto von Dentz2010-10-201-66/+6
|
* dbus: Fix log message after volume changes.Colin Guthrie2010-10-191-1/+1
|
* volume: Fix incorrect usage of PA_VOLUME_IS_VALIDArun Raghavan2010-10-194-6/+6
| | | | | The commit that introduced this macro was incorrect in some places. This patch fixes these. Thanks to Pierre-Louis Bossart for pointing this out.
* log: Totally trivial spelling 'correction' (for en-US)Colin Guthrie2010-10-171-1/+1
|
* man: Clarify wording in volume sync documentation.Paul Menzel2010-10-171-2/+2
|
* intended-roles: Mark devices with a form factor of 'headset' as being ↵Colin Guthrie2010-10-161-1/+2
| | | | | | | appropriate for 'phone' streams This was a result a report by Patrick Ben Koetter relating to his Logitech Wireless Headset.
* alsa-mixer: add profile for Native Instruments KorecontrollerDaniel Mack2010-10-163-1/+88
|
* man: sync_volume parameters to manual pageJyri Sarha2010-10-161-0/+30
| | | | | | | Some wording teaks by Colin Guthrie and others. Signed-off-by: Jyri Sarha <jyri.sarha@nokia.com> Reviewed-by: Tanu Kaskinen <tanu.kaskinen@digia.com>
* daemon-conf: Add sync volume parameters to daemon-confJyri Sarha2010-10-169-6/+31
| | | | | | Signed-off-by: Jyri Sarha <jyri.sarha@nokia.com> Reviewed-by: Tanu Kaskinen <tanu.kaskinen@digia.com> Reviewd-by: Colin Guthrie <cguthrie@mandriva.org>
* udev-detect: Add sync_volume parameterJyri Sarha2010-10-161-3/+15
| | | | | | Signed-off-by: Jyri Sarha <jyri.sarha@nokia.com> Reviewed-by: Tanu Kaskinen <tanu.kaskinen@digia.com> Reviewd-by: Colin Guthrie <cguthrie@mandriva.org>
* alsa: Take syncronized HW volume infra into use for alsa-sinkJyri Sarha2010-10-166-25/+246
| | | | | | Signed-off-by: Jyri Sarha <jyri.sarha@nokia.com> Reviewed-by: Tanu Kaskinen <tanu.kaskinen@digia.com> Reviewd-by: Colin Guthrie <cguthrie@mandriva.org>
* core: Add infrastructure for synchronizing HW and SW volume changesJyri Sarha2010-10-163-31/+369
| | | | | | | | | | | | | | | | To make concurrent use of SW and HW volume glitchles their application needs to be synchronized. For accurate synchronization the HW volume needs to be applied in IO thread. This patch adds infrastructure to delay the applying of HW volume to match with SW volume timing. To avoid synchronization problems this patch moves many of the volume and mute related functions from main thread to IO thread. All these changes become active only if the sync volume flag for a sink has been set. So, for this patch to have any effect it needs to be taken into use by sink implementor. Signed-off-by: Jyri Sarha <jyri.sarha@nokia.com> Reviewed-by: Tanu Kaskinen <tanu.kaskinen@digia.com> Reviewd-by: Colin Guthrie <cguthrie@mandriva.org>
* volume: Decrease PA_VOLUME_MAX to be < 2^31Arun Raghavan2010-10-151-1/+1
| | | | | | | This decrease PA_VOLUME_MAX to be less than 2^31. We want to do this in order to simplify signed arithmetic when applying software volume scaling (since the volume can now always be safely treated as a signed number).
* pactl: Validate volume before settingArun Raghavan2010-10-151-0/+15
| | | | | This makes sure that a valid volume is provided before setting on sink/sink-input/source.
* cli: Validate volume before settingArun Raghavan2010-10-151-0/+15
| | | | | This causes an error to be generated if an invalid volume is provided to commands that set sink/sink-input/source volume.