- Mar 15, 2012
-
-
Arun Raghavan authored
-
- Mar 14, 2012
-
-
Piotr Drąg authored
-
Yuri Chornoivan authored
-
- Mar 13, 2012
-
-
In most cases, we use dbus from more than one thread, as we e.g. enable real-time scheduling from the ALSA threads. Therefore set dbus to thread-safe mode by default, as recommended in https://bugs.freedesktop.org/show_bug.cgi?id=47060#c5 This fixes a bug where PulseAudio could crash in two parallel calls to pa_make_realtime. BugLink: https://bugs.launchpad.net/bugs/937933 Signed-off-by: David Henningsson <david.henningsson@canonical.com>
-
- Mar 12, 2012
-
-
David Henningsson authored
If the jack state differs, they are not the same path, so don't remove them. Signed-off-by: David Henningsson <david.henningsson@canonical.com>
-
Tanu Kaskinen authored
This reverts commit 24ff7196. If these files aren't compiled in both libpulse and libpulsecommon, some things will try use non-public functions from libpulse. Therefore those internal functions have to be included directly in libpulsecommon. This problem appears to be only visible with --as-needed, which is why the problem wasn't noticed immediately. The problem has existed also earlier, and it was fixed by Maarten Bosmans in commit 2de2c735. The commit that is now reverted basically reverted Maarten's commit (I didn't know that when I wrote the bad patch).
-
- Mar 11, 2012
-
-
Giorgos Boutsioukis authored
A part of Xen's paravirtualized audio driver has been developed as a pulseaudio module. This module acts as a tunnel over Xen's shared memory mechanism and allows a domU guest to send audio data to a dom0 backend. Reference: https://bugs.freedesktop.org/show_bug.cgi?id=43503
-
David Henningsson authored
While developing the new UI we had to ask ourselves the question of whether "speakers" should be considered available when headphones are plugged in. In most cases, they are not available and therefore we should list them as such. OTOH, we don't want unplugging the headphones to be considered an act of wanting to use the speakers (the user might prefer HDMI), and there might be line-outs that keeps the speakers from unmuting anyway. So, at this point, I think the most reasonable would be to make the speakers have PA_PORT_AVAILABLE_NO when headphones are plugged in and PA_PORT_AVAILABLE_UNKNOWN when they are not. But we might want to revisit this decision once we have the priority lists up and running. The same reasoning applies for "Internal Mic", which should become unavailable when any other mic is plugged in. Signed-off-by: David Henningsson <david.henningsson@canonical.com>
-
David Henningsson authored
For volume control UIs to be able to show ports in inactive profiles, expose all ports together with the card info. This includes updating the protocol and the client API to show the connection between ports and for which profiles the ports are relevant. Update protocol to 26. Signed-off-by: David Henningsson <david.henningsson@canonical.com>
-
David Henningsson authored
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
-
David Henningsson authored
This module tries to switch to a port when availability changes to "YES", and tries to switch away when availability changes to "NO". Once there is a priority list infrastructure in place and ready, this functionality might be redundant, but this will do as an interim solution.
-
David Henningsson authored
For Nvidia and Intel, support probing of up to four HDMI devices. Also add port information to all HDMI profiles. Signed-off-by: David Henningsson <david.henningsson@canonical.com>
-
David Henningsson authored
Support the new jack detection interface implemented in Linux 3.3 (and Ubuntu's 3.2 kernel). Jacks are probed and detected using the snd_hctl_* commands, which means we need to listen to them using fdlists. As this detection needs to be active even if there is currently no sink for the jack, so this polling is done on the card level. Also add configuration support in paths, like this: [Jack Headphone] required-any = any ...where 'Jack Headphone' should match 'Headphone Jack' as given by ALSA (as seen in e g 'amixer controls'). "Required", "required-any" and "required-absent" is supported. Using required-any, one can have several ports even though there is no other indication in the mixer that this path exists. Signed-off-by: David Henningsson <david.henningsson@canonical.com>
-
- Mar 10, 2012
-
-
Tanu Kaskinen authored
-
- Mar 09, 2012
-
-
Tanu Kaskinen authored
That stuff is already in libpulse, so those files got compiled twice.
-
Tanu Kaskinen authored
-
Tanu Kaskinen authored
-
It provides a virtual surround sound effect. v2: Normalize hrir to avoid clipping, some cleanups v3: use fabs, not abs v4: implement changes proposed by Tanu Kaskinen v5: likewise v6: use channel map from hrir file v7: remove hrir_ss and hrir_map form userdata v8: update naming of sink
-
- Mar 07, 2012
-
-
Tanu Kaskinen authored
-
Our flist implementation suffers from the ABA problem (see http://en.wikipedia.org/wiki/ABA_problem), causing PulseAudio to crash very rarely, usually inside memblock operations. By turning stored pointers into stored table indices, we have some extra bits that we can use to store tag bits, which is a known workaround for the ABA problem. Buglink: https://bugs.launchpad.net/bugs/924416 Signed-off-by: David Henningsson <david.henningsson@canonical.com>
-
- Mar 06, 2012
-
-
- Mar 05, 2012
-
-
Arun Raghavan authored
This allows clients to get a "fake" sample space for compressed formats that we can support. This should make size/time conversion for things like calculating buffer attributes simpler.
-
Arun Raghavan authored
Since a given property can be single-valued, an array or (in the case of ints) a range, clients need an API to figure out what type of value a property holds. This adds such an API. The actual property type enumeration is kept in the PA_PROP_* namespace and not the PA_FORMAT_INFO* namespace so that it can later be reused for properties generically if required.
-
Arun Raghavan authored
Moves all the property setters together
-
Arun Raghavan authored
Adding property getters manually for now.
-
Arun Raghavan authored
This adds integer range/array and string array property getters to the pa_format_info API. Corresponding tests added as well to ensure the code is valgrind-clean. The corresponding functions are added to map-file manually for now.
-
Arun Raghavan authored
These utility functions could be handy to clients. pa_format_info_to_sample_spec_fake() isn't made public, but the return value is changed to keep in sync with pa_format_info_to_sample_spec().
-
Arun Raghavan authored
This makes handling errors in getter functions more graceful, rather than triggering warnings/asserts. Better to be less trigger-happy about these things since this is now public-facing API.
-
Arun Raghavan authored
We currently only have setters and clients need to be able to query these values as well. The return types for these functions needed to be changed to int since this is public API now.
-
- Feb 24, 2012
-
-
Colin Guthrie authored
This is primarily for the bluez commit 03bb9d3 by Siamashka Siamashka which fixes a compilation error with gcc 4.7
-
- Feb 21, 2012
-
-
Alexander Patrakov authored
Hi. Could you please apply the attached trivial patch so that I could drop the corresponding instructions from dcaenc's README file in the future? It adds a profile for on-the-fly DTS encoding, similar to the existing AC3 profile. -- Alexander E. Patrakov >From 22310a1c28385acc7ce883e020b9eb2e5b0813b7 Mon Sep 17 00:00:00 2001 From: "Alexander E. Patrakov" <patrakov@gmail.com> Date: Sun, 12 Feb 2012 17:19:48 +0600 Subject: [PATCH] alsa: add DTS profile This requires dcaenc from http://aepatrakov.narod.ru/dcaenc/
-
Luiz Augusto von Dentz authored
Audio.GetProperties is been called for as many times as there are UUIDs instead of just once when the UUIDs are discovered.
-
- Feb 20, 2012
-
-
Arun Raghavan authored
Previous commits broke the out-of-tree build on padsp.
-
Sjoerd Simons authored
-
Sjoerd Simons authored
libtools causing relinking on installation, to make this succeed libpulsecommon needs to be installed before the other libraries and the padsp libraries needs to be installed afterwards. Unfortunately autotools doesn't consider dependencies when running the install target, thus we have to enforce the ordering ourselves
-
Michael Biebl authored
libpulsedsp is only used as a LD_PRELOAD library for the padsp wrapper. So no need to have it in a public library
-
Michael Biebl authored
libpulsecommon is a private library only for use within pulseaudio, so lets move it into a private directory [ed: from discussion on IRC, while it looks redundant to have modules in lib/pulse-$VER and private libraries in $pkglibdir, this is actually desirable. For example, a multi-architecture libpulse would have a $pkgdir per architecture (/usr/lib/<arch>/pulseaudio) whereas you'd still want the server-specific modules in /usr/lib/pulse...) -- Arun]
-
David Henningsson authored
The tunnel source has been broken since protocol v22 (PA 1.0), and connecting fails with a protocol error. Fix. BugLink: https://bugs.launchpad.net/bugs/923661 Signed-off-by: David Henningsson <david.henningsson@canonical.com>
-
David Henningsson authored
Fix the documentation: the protocol file was not reflecting the code properly for version 22. Signed-off-by: David Henningsson <david.henningsson@canonical.com>
-
- Feb 19, 2012
-
-
David Henningsson authored
If alsa settings/options were used, the string to construct the name was freed, leading to dangling pointers to strings inside the hashmap. BugLink: https://bugs.launchpad.net/bugs/932804 Signed-off-by: David Henningsson <david.henningsson@canonical.com>
-