Commit graph

9012 commits

Author SHA1 Message Date
Arnaud Rebillout
097a2ee6e6 meson: modules/alsa: Add udev support
This is needed now that we define HAVE_UDEV

Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
2018-10-04 08:44:18 +05:30
Arnaud Rebillout
4be9e4ba54 meson: Define HAVE_UDEV when udev is found
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
2018-10-04 08:44:18 +05:30
Arnaud Rebillout
e013ac2a0e core: Fix a log function when HAVE_SYSTEMD_JOURNAL && !HAVE_SYSLOG
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
2018-10-04 08:44:18 +05:30
Arnaud Rebillout
d32e61993a gitlab-ci: Create two different jobs for autotools and meson builds
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
2018-10-04 08:44:18 +05:30
João Paulo Rechi Vita
1bae214d8b card: Fix typo in comments 2018-10-03 11:40:22 +03:00
João Paulo Rechi Vita
723ae5119e module-rescue-streams: Fix tab used for identation 2018-10-03 11:37:14 +03:00
João Paulo Rechi Vita
b15f12ef66 switch-on-connect: Add debug logs
Log when module-switch-on-connect tries to change the default sink or
source.
2018-10-03 11:36:00 +03:00
João Paulo Rechi Vita
b53d817754 switch-on-connect: Clean-up tabs used for identation 2018-10-03 11:33:34 +03:00
João Paulo Rechi Vita
e9f5fa94b2 switch-on-connect: Improve readability
Make code easier to read by moving pa_proplist_gets out of the if
condition and using pa_safe_streq.
2018-10-03 11:31:51 +03:00
João Paulo Rechi Vita
cefe037afc switch-on-port-available: Improve readability
Split a big conditional into separate checks and use pa_safe_streq
instead of checking if a pointer is valid and calling pa_streq inside a
conditional.
2018-10-03 11:27:42 +03:00
Marek Cernocky
48021941a2 i18n: Updated Czech translation 2018-10-02 09:06:31 +03:00
Arun Raghavan
69154caea5 man: Fix a syntax issue in pacat xml
'cmd' is not a valid child of the 'p' tag, so we switch it to 'file',
which is how this is done later in the file already.
2018-10-01 20:44:53 +05:30
Arun Raghavan
eace312b9c gitlab: Update Dockerfile to pull xmllint 2018-10-01 20:44:53 +05:30
Joseph Herlant
9452d1ee37
fix typo: existance -> existence 2018-09-26 17:15:40 -07:00
Arun Raghavan
4fd6b382a7 build-sys: Add CoC to the dist'ed files 2018-09-26 13:12:37 +05:30
Arun Raghavan
37c747412a Adopt a Code of Conduct
This is simply the Contributor Covenant Code of Conduct document,
version 1.4.1.
2018-09-26 02:39:00 +00:00
Joseph Herlant
279d7197d9
fix typo: satisifed -> satisfied 2018-09-19 11:29:45 -07:00
Joseph Herlant
12f3435025
Fix typo: documenation -> documentation 2018-09-17 10:05:34 -07:00
Joseph Herlant
32859fbe85
Fix typo: managable -> manageable 2018-09-17 10:04:30 -07:00
Joseph Herlant
223b409c9c
Fix typo: substract -> subtract 2018-09-17 10:03:55 -07:00
Joseph Herlant
61d35fd22f
Fix typo: transmited -> transmitted 2018-09-17 10:02:56 -07:00
Joseph Herlant
93c07da3eb
Fix typo: definately -> definitely 2018-09-17 10:01:46 -07:00
Joseph Herlant
c1acdfee33
Fix typo: prefered -> preferred 2018-09-17 10:00:57 -07:00
Joseph Herlant
87a41d7bbb
Fix typo: comming -> coming 2018-09-17 10:00:14 -07:00
Joseph Herlant
7aa2d9e54b
Fix typo: recieved -> received 2018-09-17 09:59:38 -07:00
Joseph Herlant
502293ffa5
Fix typo: distuingish -> distinguish 2018-09-17 09:59:03 -07:00
Joseph Herlant
01d50b8c88
Fix typo: properies -> properties 2018-09-17 09:58:25 -07:00
Joseph Herlant
d6e7aa2bdc
Fix typo: explicitely -> explicitly 2018-09-17 09:57:20 -07:00
Joseph Herlant
3fb7e9bcb1
Fix typo: differnt -> different 2018-09-17 09:56:41 -07:00
Joseph Herlant
83c3384d3a
Fix typo: Extention -> Extension 2018-09-17 09:55:37 -07:00
Joseph Herlant
517c727a98
Fix typo: Doulbe -> Double 2018-09-17 09:54:36 -07:00
Joseph Herlant
61727fd26f
Fix typo: dependancy -> dependency 2018-09-17 09:53:37 -07:00
Joseph Herlant
08d0dc6930
Fix typo: occured -> occurred 2018-09-17 09:52:36 -07:00
Joseph Herlant
d70613151c
Fix typo: occurrencies -> occurrences 2018-09-17 09:50:43 -07:00
Joseph Herlant
233713222c
Fix typo: Retreive -> Retrieve 2018-09-17 09:49:55 -07:00
Joseph Herlant
b5fd854e52
Fix typo: controling -> controlling 2018-09-17 09:49:13 -07:00
Arun Raghavan
3415375849 gitlab: Add meson build to CI 2018-09-17 05:05:57 +00:00
Arnaud Rebillout
012dfc4631 build-sys: meson: Generate version.h
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
2018-09-15 22:11:35 +07:00
Rafael Fontenelle
3e36c28e23 Update Brazilian Portuguese translation 2018-09-01 14:23:43 +00:00
Arun Raghavan
abfd5242e8 gitlab: Add support for GitLab CI
This adds a Dockerfile to generate a Docker image with the required
dependencies on top of the standard Ubuntu 18.04 image. The Gitlab CI
then runs the PulseAudio build within this image.
2018-08-27 16:05:04 +05:30
Arun Raghavan
f84b8516df bluetooth: Re-add rtp.h to Makefile.am
This was never explicitly added as a dependency of module-bluez5-device,
but that was hidden by the fact that it was specified for bluez4.
2018-08-22 19:53:25 +05:30
Will Stott
7f1fb63dda alsa: Support the older model of NI's Traktor Audio 2 DJ 2018-08-13 14:24:02 +03:00
Yclept Nemo
b9d13aa91e object: Fix pa_object_new macro (missing close paren) 2018-08-12 15:16:13 +03:00
Stefan Huber
4f831e0d7a pacat: Fix code style 2018-08-11 13:36:51 +03:00
Takashi Sakamoto
37358e42c4 alsa: Suppress udev detection of sound card for some units on IEEE 1394 bus
A bug was filed to bugzilla.kernel.org for a quirk of some models which
ALSA BeBoB driver supports.

Bug 199365 - repeating bus resets on Firewire bus with Focusrite Saffaire 26/io
https://bugzilla.kernel.org/show_bug.cgi?id=199365

Some models (two models as long as I know) have a quirk to disappear from
IEEE 1394 bus at disconnections of packet streaming. Corresponding
character devices are removed according to 'remove' callbacks of relevant
drivers from Linux dd core. Then the models re-appear on the bus by
generating bus resets and corresponding character devices are added
according to 'probe' callbacks from Linux dd core.

In a view of ALSA applications, this looks that plug-out/plug-in occur in
a sequential order for the models when they stop playback/capture substream.
For most applications, this doesn't cause large issue. However, this quirk
is not good for combination of below modules in PulseAudio. PulseAudio
enters endless loop to detect the models and start/stop PCM substream.
 - module-udev-detect
 - module-alsa-card
 - module-suspend-on-idle

In detail, please read my comment no.6:
https://bugzilla.kernel.org/show_bug.cgi?id=199365#c6

This commit suppressed udev detection of sound card for the issued models.
For the models, 'PULSE_IGNORE' flag is added to udev rules, then
module-udev-detect don't handle the models and PulseAudio never uses the
models automatically. In a scenario for users to load
module-alsa-card/module-alsa-sink/module-alsa-source by hand, although
these modules can still stop PCM substreams with module-suspend-on-idle,
PulseAudio never enters the endless loop because udev detection doesn't
work for the models. In this case, as long as special files for ALSA
character devices for these models are the same, corresponding sinks and
sources are available even if the voluntary plug-out/plug-in occur.

(Focusrite Saffire Pro 10 i/o with systemd 237)
$ udevadm info -q all -p /devices/pci0000:00/0000:00:07.0/fw1/fw1.0/sound/card1
P: /devices/pci0000:00/0000:00:07.0/fw1/fw1.0/sound/card1
E: DEVPATH=/devices/pci0000:00/0000:00:07.0/fw1/fw1.0/sound/card1
E: ID_BUS=firewire
E: ID_FOR_SEAT=sound-pci-0000_00_07_0
E: ID_ID=firewire-0x00130e01000606e0
E: ID_MODEL=Pro10IO
E: ID_MODEL_FROM_DATABASE=XIO2213A/B/XIO2221 IEEE-1394b OHCI Controller [Cheetah Express]
E: ID_MODEL_ID=0x000006
E: ID_PATH=pci-0000:00:07.0
E: ID_PATH_TAG=pci-0000_00_07_0
E: ID_PCI_CLASS_FROM_DATABASE=Serial bus controller
E: ID_PCI_INTERFACE_FROM_DATABASE=OHCI
E: ID_PCI_SUBCLASS_FROM_DATABASE=FireWire (IEEE 1394)
E: ID_SERIAL=0x00130e01000606e0
E: ID_SERIAL_SHORT=0x00130e01000606e0
E: ID_VENDOR=Focusrite
E: ID_VENDOR_FROM_DATABASE=Texas Instruments
E: ID_VENDOR_ID=0x00130e
E: SOUND_INITIALIZED=1
E: SUBSYSTEM=sound
E: SYSTEMD_WANTS=sound.target
E: TAGS=:systemd:seat:
E: USEC_INITIALIZED=957089064

(Focusrite Saffire Pro 26 i/o with systemd 237)
$ udevadm info -q all -p /devices/pci0000:00/0000:00:07.0/fw1/fw1.0/sound/card1
P: /devices/pci0000:00/0000:00:07.0/fw1/fw1.0/sound/card1
E: DEVPATH=/devices/pci0000:00/0000:00:07.0/fw1/fw1.0/sound/card1
E: ID_BUS=firewire
E: ID_FOR_SEAT=sound-pci-0000_00_07_0
E: ID_ID=firewire-0x00130e0100030cdd
E: ID_MODEL=Pro26IO
E: ID_MODEL_FROM_DATABASE=XIO2213A/B/XIO2221 IEEE-1394b OHCI Controller [Cheetah Express]
E: ID_MODEL_ID=0x000003
E: ID_PATH=pci-0000:00:07.0
E: ID_PATH_TAG=pci-0000_00_07_0
E: ID_PCI_CLASS_FROM_DATABASE=Serial bus controller
E: ID_PCI_INTERFACE_FROM_DATABASE=OHCI
E: ID_PCI_SUBCLASS_FROM_DATABASE=FireWire (IEEE 1394)
E: ID_SERIAL=0x00130e0100030cdd
E: ID_SERIAL_SHORT=0x00130e0100030cdd
E: ID_VENDOR=Focusrite
E: ID_VENDOR_FROM_DATABASE=Texas Instruments
E: ID_VENDOR_ID=0x00130e
E: SOUND_INITIALIZED=1
E: SUBSYSTEM=sound
E: SYSTEMD_WANTS=sound.target
E: TAGS=:systemd:seat:
E: USEC_INITIALIZED=1071026684

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
2018-08-11 13:10:03 +03:00
Tanu Kaskinen
a8ebd9d6ee i18n: update translation bug reporting links
I looked for outdated links related to the GitLab migration. These are
the only ones I found. There were also some links to various bug
reports in the old Bugzilla, but those don't really need updating, since
Bugzilla should stay readable for a long time.
2018-08-07 16:27:19 +03:00
Arun Raghavan
3e85da18d4 doc: Update README to point to GitLab 2018-07-30 17:44:20 +05:30
João Paulo Rechi Vita
32bd68bc31 bluetooth: Remove leftover references to the BlueZ 4/5 split
There is no need to mention a module argument is valid only when using
BlueZ 5 now that we don't support BlueZ 4 anymore.
2018-07-27 11:28:11 +03:00
João Paulo Rechi Vita
4863d190e2 bluetooth: Add missing argument to module's usage
module-bluetooth-discover usage was missing the autodetect_mtu argument.
2018-07-27 11:27:40 +03:00
Arun Raghavan
30f49dae18 gitignore: Ignore build* directories
We already had build-aux, might as well generalise for build directories
we create for autotools out-of-tree builds and anything meson-based.
2018-07-23 19:40:51 +05:30