summaryrefslogtreecommitdiffstats
path: root/recipes-multimedia/pulseaudio
AgeCommit message (Collapse)AuthorFilesLines
2017-11-14Pulseaudio configuration fixesScott Murray2-1/+11
Some fixes to work when 4A is enabled: - Simplified the echo that adds /etc/pulse/default.d to /etc/pulse/default.pa, as it was resulting in "-e -n" in the file sometimes for reasons unknown. - PulseAudio does not like the /etc/pulse/default.d directory being empty, and additionally it was realized that the module unloads that are in module-router.pa are useful in all our usecases and should likely always be present. To kill two birds with one stone, the unload lines have been moved to a 10-unload-modules.pa file that is installed by the pulseaudio bbappend, and those lines have been removed from the module-router.pa files, which has been renamed to 20-module-router.pa so that ordering will be maintained if someone needs to reenable it. Change-Id: I70cd1d0dfc596b894009c1bdd7520ffe6394e60e Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2017-11-14Fix pulseaudio service startRonan Le Martret1-1/+1
char \n is not recognized in the file default.pa Bug-AGL: SPEC-1084 Change-Id: I08f9857041dff37d3259583736554099fb2f919a Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-11-03Rework PulseAudio / audiomanager config setup to allow over-ridesScott Murray3-60/+4
Changes include: - Move from having PulseAudio configuration changes in the recipe bbappend as patches to using the .include directive in default.pa to pick up configuration fragments provided by other recipes. - Use virtual/pulseaudio-config to pick up the previously hard-coded configuration for enabling module-router.so, which is now provided by a new recipe that sets RPROVIDES appropriately. This allows over-riding the desired configuration if needed. - Switch the audiomanager-plugins-config dependency to using virtual/audiomanager-plugins-config so that it can be over-ridden with PREFERRED_PROVIDER if needed. Bug-AGL: SPEC-1025, SPEC-1026, SPEC-1027 Change-Id: Ifdf16871cddc2bec7761b8c63239623b63c9e984 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2017-06-27disable module-role-cork by defaultMatt Porter2-0/+31
module-role-cork's hardcoded corking policy can conflict with the configurable policy management that is part of module-router and AudioManager. Since module-router/AM are enabled by default in demo builds, we must also disable module-role-cork to avoid conflicting corking policies. Bug-AGL: SPEC-710 Change-Id: I55442b5c11e711783fb4f890d1f26227c295d122 Signed-off-by: Matt Porter <mporter@konsulko.com>
2017-05-24Add audio management between Media Player and Radio.Toshiaki Isogai2-0/+29
This patch enables loading router-module by default to manage audio routing when both Media Player and Radio start playing. Latter audio source selected by user enforces existing one corked. Detail in below. https://jira.automotivelinux.org/browse/SPEC-378 Bug-AGL: SPEC-606 Change-Id: I407924b1346f95573596434ba9b17c732cae5146 Signed-off-by: Toshiaki Isogai <isogai.toshiaki@nttd-mse.com> Signed-off-by: Scott Murray <scott.murray@konsulko.com>