summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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: Run make update-poColin Guthrie34-16066/+27890
2012-01-30i18n: Do not translate strings that cannot have any sensible translations.Colin Guthrie3-5/+5
2012-01-30i18n: Fudge translations after previous commit to avoid mixing ↵Colin Guthrie34-1240/+533
English/localized phrases. The translations are now obviously outdated and wrong, but as the core meaning has not changed, this is the lesser of two evils.
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 Meerwald10-11/+11
some are comments, some are user-visible doxygen text and documentation
2012-01-28manpage: document --log-meta, --log-time, log-backtracePeter Meerwald1-0/+19
2012-01-28manpage: document --log-target=file:PATHPeter Meerwald1-2/+3
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 Raghavan2-9/+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
2012-01-03module-rtp-recv: fail when SO_TIMESTAMP is not definedPino Toscano1-0/+5
SO_TIMESTAMP is not POSIX and not available in any platform, so just fail if the current platform does not have it. See bug #42715
2012-01-03rtp: use the right type when checking cmsg_typePino Toscano1-2/+2
Use SCM_* instead of SO_* when checking the type of each cmsghdr. See bug #42715
2012-01-03pipe: use pa_pipe_buf instead of the macro PIPE_BUFPino Toscano1-1/+1
This helps when porting to platforms that lack PIPE_BUF. See bug #42715
2011-12-30doc: Clarify pa_stream_get_latency() return valueArun Raghavan1-6/+8
Clarifies that the latency is returned via an inout parameter and the return value is an error code or 0 on success.
2011-12-23build-sys: Make esound bits optionalArun Raghavan2-10/+40
This is really quite irrelevant on most modern systems today, and more so for embedded systems.