summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2012-02-20build: Force order of library installationSjoerd Simons1-1/+21
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
2012-02-20padsp: Move the padsp helper lib into a private libraryMichael Biebl2-4/+13
libpulsedsp is only used as a LD_PRELOAD library for the padsp wrapper. So no need to have it in a public library
2012-02-20build: Move libpulsecommon into $pkglibMichael Biebl1-2/+2
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]
2012-02-20tunnel: fixup create_record_streamDavid Henningsson1-21/+39
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>
2012-02-19alsa-mixer: Don't use dangling pointers as port hashmap keysDavid Henningsson1-2/+2
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>
2012-02-19pulse: Fix old bug in stream_freeMaarten Lankhorst1-2/+3
Signed-off-by: Maarten Lankhorst<m.b.lankhorst@gmail.com>
2012-02-14cli: Ensure source output volumes are printed via cli interface (pacmd ls)Colin Guthrie1-1/+20
2012-02-12pacmd: Fix compiler warningArun Raghavan1-4/+4
We were comparing an int with a size_t.
2012-02-12virtual-sink: Remove irrelevant comment.Tanu Kaskinen1-3/+0
The comment is inherited from module-ladspa-sink. It doesn't make sense in module-virtual-sink.
2012-02-10core: svolume tests should generate realistic random volume dataPeter Meerwald4-4/+4
assuming RAND_MAX is around 1<<31, rand() >> 1 generates large numbers as random volume data; these likely causes saturated sample values after applying the volume function -- not a good test
2012-02-10core: whitespace typoPeter Meerwald1-1/+1
2012-02-10alsa: fix commentPeter Meerwald1-2/+2
2012-02-10sample-util: Fix "Darth Vader" panning bugDavid Henningsson1-91/+78
For muted channels, we forgot to increment a pointer, so if one channel was muted but not the other, sound became distorted in a Darth Vader like way. To test the difference, start two input streams and pan one of them hard left (or right). And hey, if you didn't think it sounded like Darth Vader, it's your imagination that's broken, not mine! ;-) BugLink: https://bugs.launchpad.net/bugs/928757 Signed-off-by: David Henningsson <david.henningsson@canonical.com>
2012-02-09sink-input,source-output: Handle devices going away in unlink hooksArun Raghavan2-2/+6
If a *_UNLINK_POST hook causes a sink-input/source-output's sink/source to go away, the subsequent attempt to update the sink/source status will cause an assert. We deal with this by checking the sink/source status before trying to update it.
2012-02-07loopback: Trivial whitespace fixArun Raghavan1-0/+2
2012-02-07loopback: Fix crash when moving sink-input failsFrédéric Dalleau1-0/+2
2012-02-07format: Add "since 1.0" documentation tags where they were missingArun Raghavan1-16/+16
2012-02-02alsa-mixer: Take override-maps into account in subset eliminationDavid Henningsson1-0/+13
The practical problem is that some users were left with only one "LFE on Mono" port, as analog-output was considered a subset of analog-output-lfe-on-mono. Which was not what they wanted. BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=40910 BugLink: https://bugs.launchpad.net/bugs/922656 Signed-off-by: David Henningsson <david.henningsson@canonical.com>
2012-01-30alsa-mixer: Make sure unsupported paths are removed after probingDavid Henningsson1-0/+20
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
2012-01-30loopback: Fix crashesMaarten Lankhorst1-0/+3
Flush the message queue before tearing down, and dest==NULL is valid in case moving failed. With this my module-loopback finally no longer causes frequent crashes.
2012-01-30i18n: Do not translate strings that cannot have any sensible translations.Colin Guthrie3-5/+5
2012-01-30alsa: Improve "well known descriptions" for portsDavid Henningsson2-14/+17
* If we don't have "Digital Speakers", we should say "Speakers" instead of "Analog Speakers", and similar for other ports. * Change "IEC958" to "S/PDIF" (more well known name) * Add new ports and mappings for HDMI * Change "Internal" to "Built-in" for the card name Signed-off-by: David Henningsson <david.henningsson@canonical.com>
2012-01-30alsa-mixer: Allow speaker port to control "Front Speaker"David Henningsson1-1/+29
"Front Speaker", "Surround Speaker" seems to be a common enough name to make it into alsa-utils, so we should probably care about it as well. In this case, there was a macbook pro whose speakers didn't work without these controls. BugLink: http://bugs.launchpad.net/bugs/551441 Reported-by: Jeroen T. Vermeulen <jtv@canonical.com> Signed-off-by: David Henningsson <david.henningsson@canonical.com>
2012-01-28fix the ever-popular 'the the' typoPeter Meerwald9-10/+10
some are comments, some are user-visible doxygen text and documentation
2012-01-28stream-restore: Don't verify entry validity needlessly.Tanu Kaskinen1-12/+4
clean_up_db() makes sure that all entries in the database are valid.
2012-01-28stream-restore: Clean up the database at startup.Tanu Kaskinen1-27/+125
Fixes a crash: https://bugs.freedesktop.org/show_bug.cgi?id=44522
2012-01-28pulse: Document general error handling.Peter Meerwald1-0/+21
2012-01-28bluetooth: Change function name add_matches to update_matches.Tanu Kaskinen1-3/+3
A function that is used for removing matches should not be called add_matches.
2012-01-28bluetooth: Remove the right match in the proximity module.Tanu Kaskinen1-1/+1
The original intention of this code was probably that if adding filter1 succeeded but adding filter2 failed, then filter1 should be removed so that either both or none of the filters get added.
2012-01-28dbus: Give NULL as the error parameter to dbus_bus_remove_match().Tanu Kaskinen2-16/+6
We didn't do anything anyway in case of failures. When we give NULL as the error, dbus_bus_remove_match() can act asynchronously, so it becomes faster. Also, the bus daemon can avoid sending any replies, which reduces the amount of traffic.
2012-01-21Remove pa_prioq priority queue implementationMaarten Bosmans5-374/+1
2012-01-17alsa: Fix log message "synchronous volume" -> "deferred volume"David Henningsson2-2/+2
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
2012-01-17alsa-mixer: Fix mixer path for AC3 profilesArun Raghavan1-0/+2
The recent change to turn off the IEC958 element for analog paths exposed a bug in AC3 profiles. These were inheriting the analog output path instead of explicitly selecting the iec958 path. Thanks to David Henningsson for pointing this out.
2012-01-14bluetooth: When receiving D-Bus errors, print also the error message.Tanu Kaskinen1-7/+4
2012-01-14dbus: New helper function: pa_dbus_get_error_message().Tanu Kaskinen2-0/+22
2012-01-14pulse: Turn the anonymous error code enum into pa_error_code_t.Peter Meerwald1-2/+2
The purpose is to make it possible to link to the enumeration in doxygen.
2012-01-14stream: Clarify the sign of error return codesArun Raghavan1-7/+7
The returned error values are all negative, but the documentation did not explicitly mention this. Thanks to Vincent Penquerc'h for pointing this out.
2012-01-14alsa-mixer: Turn off the IEC958 element for analog outputsArun Raghavan1-0/+3
This is needed for the Creative Audigy CA0106 to work. Also makes sure that the LED for optical out is shut down in analog modes on MacBooks (these share a port for analog and digital output). Bug: https://bugs.freedesktop.org/show_bug.cgi?id=44741
2012-01-11sconv: Fix generation of floats in SSE test codePeter Meerwald1-1/+1
the random floats x should be zero-mean with -(1+eps)<x<(1+eps) for some small epsilon; previously only negative x were generated
2012-01-11core: Fix log message about ARM feature detectionPeter Meerwald1-1/+1
2012-01-11core: Fix return of pa_cpu_init_arm()Peter Meerwald1-1/+1
2012-01-11alsa: Mention correct ALSA function in debug logPeter Meerwald1-2/+2
2012-01-11orc: Another trivial documentation fixArun Raghavan1-1/+1
2012-01-11orc: Trivial documentation typo fixArun Raghavan1-3/+3
2012-01-06alsa-mixer: Refactor pa_alsa_profile_set_probe().David Henningsson1-121/+105
Increase readability of the pa_alsa_profile_set_probe function of alsa-mixer.c Signed-off-by: David Henningsson <david.henningsson@canonical.com>
2012-01-05alsa-mixer: When selecting an input, turn off boosts of other inputsDavid Henningsson6-8/+119
Just like we turn off the "Front Mic" element when we select "Rear Mic", we should also turn off the "Front Mic Boost" element. And the same for the other inputs. Reported-by: Len Owens <len@ovenwerks.net> Signed-off-by: David Henningsson <david.henningsson@canonical.com>
2012-01-04daemon: Drop --module-idle-time from docsArun Raghavan1-2/+0
This option does not exist any more.
2012-01-04daemon: Fix *-idle-time argumentsArun Raghavan1-2/+2
--exit-idle-time and --scache-idle-time were marked as having an optional argument when the argument is actually mandatory. This causes a crash when using this argument. Thanks to Matthijs Kooijman (blathijs on IRC) for pointing this out.
2012-01-03pacmd: dynamically allocate ibuf and obufPino Toscano1-6/+15
Use pa_pipe_buf to determine the minimum size for ibuf and obuf, taking into account the two descriptors that use each of them. See bug #42715
2012-01-03mutex: handle gracefully if a PTHREAD_PRIO_INHERIT protocol cannot be setPino Toscano1-2/+4
This adds an additional check for unavailable PTHREAD_PRIO_INHERIT to the fallback work done in ca717643ee768307475fc36ea29d920a13db0a8e See bug #42715