summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Revert "alsa-mixer: support up to 8 channels per mixer element"Arun Raghavan2020-10-132-16/+10
| | | | | | | | | This reverts commit e0ab9fa4a478a79fac5fa25a957daff4947d5133. The change broke some Xonar cards, and we probably don't want to hold up the 14.0 release for this. Fixes: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues/1009
* ci: Fix commentTanu Kaskinen2020-10-131-2/+3
| | | | The UBUNTU_DEBS variable has been replaced by FDO_DISTRIBUTION_PACKAGES.
* module-stream-restore: check if dbus entry exists in dbus_entries map before ↵Igor V. Kovalenko2020-10-131-3/+1
| | | | | | | | | | | creating it If write_entry fails to store new entry in database, next time we can try creating new entry again. With DBUS enabled this will create another dbus entry for same name leading to crash inserting duplicate into dbus_entries map. Fix this by checking if dbus entry exists in dbus_entries map before creating it. Fixes: #974
* module-stream-restore: log error writing volume/mute/device entry to databaseIgor V. Kovalenko2020-10-131-1/+4
|
* alsa-mixer: support up to 8 channels per mixer elementJaroslav Kysela2020-10-132-10/+16
| | | | | | | | | We have at least one USB hardware which supports the 8 channels in one mixer element: https://github.com/alsa-project/alsa-ucm-conf/pull/25 Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* alsa-mixer: Document the intended-roles mapping optionTanu Kaskinen2020-10-131-0/+2
|
* alsa: fix type for legacy hdmi devicesJaroslav Kysela2020-10-048-0/+8
| | | | | | | | | | | Although the hdmi-output is in well_known_descriptions[] table, the hdmi device names are indexed (hdmi-output-0), thus there is no match to assign the proper type automatically. This patch puts the correct hdmi type to all relevant hdmi configuration files. Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* alsa: fix analog-input-microphone-headset device typeJaroslav Kysela2020-10-041-1/+1
| | | | | From: Hui Wang <hui.wang@canonical.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* alsa: mixer - reorder the type field in path parserJaroslav Kysela2020-10-041-1/+1
| | | | | | The items array is assigned later and the order of fields is important. Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* alsa-mixer: Add Razer Kraken Tournament Edition USB headsetMichael Pivonka2020-09-291-1/+3
|
* macos: Add missing import statementRalph Seichter2020-09-281-0/+1
| | | | | | | | | | Add missing import of util.h. This fixes a build failure with the Xcode 12 command line tools which manifests as follows: error: implicit declaration of function 'pa_thread_make_realtime' is invalid in C99 [-Werror,-Wimplicit-function-declaration] Ref https://trac.macports.org/ticket/61107
* rtp: Fix sending of small packetsSanchayan Maity2020-09-211-33/+74
| | | | | | | | | | | The current implementation for RTP send isn't optimised for sending MTU bytes of data like rtp-native. For eg. if MTU is 1280 bytes and we have to send 1276 bytes, two packets are send out one of 1268 bytes and other of 8 bytes. Sending out a packet of 8 bytes has a significant overhead and we should be sending MTU bytes of data. Fix this by accumulating MTU bytes of data and sending data only on accumulation of MTU worth of data.
* Update Portuguese translationJuliano de Souza Camargo2020-09-211-265/+288
|
* build-sys: Bump gettext dependencyv13.99.2Arun Raghavan2020-09-201-1/+1
| | | | | | Needed for distcheck to work with a checked-in pulseaudio.pot. Not updating to the very latest (0.21) to not force the dependency bump to something "too new" on distros.
* build-sys: Add doxygen/meson.build to distfilesArun Raghavan2020-09-201-0/+1
|
* build-sys: Bump soversionsArun Raghavan2020-09-202-4/+4
| | | | | | libpulse gets a full API bump due to the addition of availability groups, and libpulse-mainloop-glib gets a minor bump for implementation change.
* ucm: add possibility to skip the UCM card completely (Linked)Jaroslav Kysela2020-09-176-10/+54
| | | | | | | | | | | We have a requirement to "hide" some hardware drivers, because other (main) UCM configuration will refer them. This patch use special error codes to notify the upper layers to skip the module loading. BugLink: https://github.com/alsa-project/alsa-ucm-conf/issues/30 Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* Update Brazilian Portuguese translationRafael Fontenelle2020-09-121-53/+59
|
* man: client.conf: Explain that autospawn=no doesn't disable systemd autostartingTanu Kaskinen2020-09-111-2/+11
|
* Translated using Weblate (Italian)Milo Casagrande2020-09-101-11/+12
| | | | | | | Currently translated at 100.0% (533 of 533 strings) Translation: pulseaudio/pulseaudio Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/it/
* Translated using Weblate (Swedish)Göran Uddeborg2020-09-101-37/+38
| | | | | | | Currently translated at 100.0% (534 of 534 strings) Translation: pulseaudio/pulseaudio Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/sv/
* alsa-mixer: Add an explicit profile-set for Audigy devicesArun Raghavan2020-09-023-0/+106
| | | | | | | | These lost analog-mono support when we made that a fallback profile, as the stereo-fallback would be picked up as the only input profile, and that does not work in duplex mode. Fixes: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues/750
* man: mention that exit-idle-time is complied if the user is lingeringTom Yan2020-08-312-3/+5
|
* main, core: check idle after loading confTom Yan2020-08-312-4/+4
| | | | | | | | | | pa_core_check_idle() uses pa_core.exit_idle_time, which is set after the pa_core_new() call, so pa_core_check_idle() needs to be called later. This patch preserves the fact that core state is set to PA_CORE_RUNNING after checking idle (now in main). It doesn't seem to matter anyway and main(pa_core_new(state:PA_CORE_STARTUP)->...->state:PA_CORE_RUNNING) seems right as well.
* pulsecore: Replace gendered pronouns with gender neutral onesitsthem2020-08-285-7/+7
|
* shell-completion: zsh: Correct a typoFelix Yan2020-08-141-1/+1
|
* i18n: Update pulseaudio.potTanu Kaskinen2020-08-131-44/+44
|
* Translated using Weblate (Hungarian)Balázs Meskó2020-08-131-13/+16
| | | | | | | Currently translated at 100.0% (526 of 526 strings) Translation: pulseaudio/pulseaudio Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/hu/
* Translated using Weblate (Croatian)Milo Ivir2020-08-131-16/+16
| | | | | | | Currently translated at 100.0% (531 of 531 strings) Translation: pulseaudio/pulseaudio Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/hr/
* Translated using Weblate (Dutch)Geert Warrink2020-08-131-48/+55
| | | | | | | Currently translated at 85.8% (426 of 496 strings) Translation: pulseaudio/pulseaudio Translate-URL: https://translate.fedoraproject.org/projects/pulseaudio/pulseaudio/nl/
* alsa-mixer: Fix indentationTanu Kaskinen2020-08-101-24/+24
|
* Rename "available group" to "availability group"Tanu Kaskinen2020-08-1011-40/+40
| | | | | "Availability group" is more clear about what the field is about. Credits to Arun Raghavan for coming up with the better name.
* alsa-mixer: Fix mapping_group_available() logicTanu Kaskinen2020-08-101-3/+3
| | | | | | | | | | | | | | | | | | There were three bugs: 1) j->state_plugged was set to PA_AVAILABLE_UNKNOWN too early. It must be set only after we have found that the jack is shared by two ports. The result of setting it too early was that no jack ever could have the PA_AVAILABLE_YES status. 2) The inner jack loop iterated through p->jacks instead of p2->jacks, so the code didn't compare jacks between two ports at all. As a result all ports were put in the same availability group. 3) The inner jack loop checked j->state_plugged instead of j2->state_plugged. The result was that the speaker port, which uses the Headphone jack to toggle between unknown and unavailable, was put in the same group with the headphone port.
* Improve the port available_group and type documentationTanu Kaskinen2020-08-104-8/+80
|
* meson: Add doxygen targetTanu Kaskinen2020-08-102-0/+12
| | | | | The documentation can be generated with "ninja -C build doxygen". The output will go to "doxygen/html" under the build directory.
* build-sys: Configure doxygen.conf.in a bit differentlyTanu Kaskinen2020-08-102-32/+39
| | | | | | | | | This change prepares for adding a doxygen target to the Meson build system. The DOXYGEN_OUTPUT_DIRECTORY substitution variable is needed so that the output will go to the build directory. I also replaced @srcdir@ with @top_srcdir@. I think it looks cleaner, since the ".." parent directory traversal is avoided. It also happened to make writing the Meson rules easier.
* modules: rtp-gstreamer: Fix RTP sound lagSanchayan Maity2020-08-101-23/+61
| | | | | | | | | | | | | | | | | | | | In the current scenario of reading samples from the appsink, it is observed that we do not actually read all the data available in the appsink to read. This results in a choppy sound or heard as gaps in the playback. The underlying reason for this happening is as follows. Let's say the appsink new sample callback is called 2-3 times, but, with the underlying fdsem post machinery when pa_rtp_recv eventually gets called, there would be those 2-3 samples to read. However, we were only reading one sample in the current implementation. Fix this by reading all samples from the appsink in a loop, coalescing them and then writing to the memchunk. Fixes: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues/889 Signed-off-by: Sanchayan Maity <sanchayan@asymptotic.io>
* module-alsa-card: Set a minimum profile priority if it's not setKai-Heng Feng2020-08-101-1/+1
| | | | | | | | | | | | | If the profile is generated from UCM, the priority won't be set so it stays as 0. Assume a card has two available profiles, when the selected one becomes unavailable, module-switch-on-port-available's find_best_profile() should pick the next available one. However, since the priority is 0, the "off" profile was chosen instead of the available one. So let's set the priority to 1 to make profile that is available has higher priority than "off" profile.
* raop-crypto: add missing headerRosen Penev2020-08-101-0/+1
| | | | | | Fixes compilation without deprecated OpenSSL APIs. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* modules: fix wrong formats under 32-bitRosen Penev2020-08-102-4/+4
| | | | Signed-off-by: Rosen Penev <rosenp@gmail.com>
* build: Make alsadatadir configurableJan Alexander Steffens (heftig)2020-08-094-3/+19
| | | | | | | Pipewire has started shipping copies of PulseAudio's ALSA card profiles. It would be useful if both projects could share the same profiles and this patch is a step toward that.
* meson: Add missing thread_dep to atomic-testJan Alexander Steffens (heftig)2020-08-091-1/+1
| | | | | | | Otherwise it won't link. /usr/bin/ld: /tmp/atomic-test.uzrv5D.ltrans0.ltrans.o: undefined reference to symbol 'pthread_setaffinity_np@@GLIBC_2.3.4'
* gitignore: Ignore hashmap-testTanu Kaskinen2020-08-061-0/+1
|
* alsa-mixer: Recognize USB audio jack mixerKai-Heng Feng2020-08-054-0/+12
| | | | | | | | | UAC v2 and v3 support insertion control (jack detection), and the created jack mixers have "- Input" suffix and "- Output" suffix for input jack and output jack, respectively. Add these jacks so we don't always need to rely on UCM or PulseAudio profile-set.
* udev: fix too long card name with HyperX Cloud Orbit STanu Kaskinen2020-08-041-0/+10
| | | | Fixes: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues/820
* meson: Build atomic-testTanu Kaskinen2020-08-041-0/+7
| | | | The test was missing from the build system.
* build-sys: Build atomic-test only if pthread_setaffinity_np() is availableTanu Kaskinen2020-08-042-3/+9
| | | | | | | The function seems to be essential to the test, so the test has to be disabled entirely if pthread_setaffinity_np() is not available. Fixes: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues/850
* alsa-util: fix check for digitWim Taymans2020-08-031-1/+1
| | | | | Fix the check for a digit by checking if the value is between the *character* '0' (not *value* 0) and '9'.
* alsa-mixer: add support for Astro A50 gaming headsetTomasz Kontusz2020-07-264-11/+30
|
* alsa-mixer: add description-key to Mappings and ProfilesTomasz Kontusz2020-07-262-2/+33
|