summaryrefslogtreecommitdiffstats
path: root/recipes-multimedia/pulseaudio
Commit message (Collapse)AuthorAgeFilesLines
* pulseaudio: Fix gstreamer pause mutex issuebackport-1193-to-kirkstoneTom Hochstein2022-09-053-8/+45
| | | | | | | Add a patch to fix a mutex issue when pausing a gstreamer stream. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit 791b2cd871e670f2cd691aad21a1c9bcffc362d6)
* pulseaudio: Fix HFP with headset=autoTom Hochstein2022-09-051-1/+1
| | | | | | | | For HFP to work as expected, use module-bluetooth-discover option headset=auto. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit 996ec05b40f37c64a5f9d66f1fcfed065bc814ab)
* pulseaudio: Fix WM8960 codec by disabling alternate sample rateTom Hochstein2022-09-051-0/+2
| | | | | | | | The WM8960 codec doesn't support 44k and 48k simultaneously, so set alternate-sample-rate the same as default-sample-rate. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit b32f2319bb60421529959309d94d943a88420f36)
* Generalize overrides subsystem for NXP and Mainline supportOtavio Salvador2022-02-214-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Essentially, we extend the overrides to a generic-bsp, nxp-bsp, and mainline-bsp. So, for example, the mx8mq override is split into: - imx-generic-bsp: compatible with every i.MX SoC and both BSP variants - imx-nxp-bsp: compatible with every i.MX SoC but specific to NXP BSP - imx-mainline-bsp: compatible with every i.MX SoC but specific to Mainline BSP - mx8-generic-bsp: compatible with every i.MX8 SoC and both BSP variants - mx8-nxp-bsp: compatible with every i.MX8 SoC but specific to NXP BSP - mx8-mainline-bsp: compatible with every i.MX8 SoC but specific to Mainline BSP - mx8m-generic-bsp: compatible with every i.MX8M SoC and both BSP variants - mx8m-nxp-bsp: compatible with every i.MX8M SoC but specific to NXP BSP - mx8m-mainline-bsp: compatible with every i.MX8M SoC but specific to Mainline BSP - mx8mq-generic-bsp: compatible with every i.MX8MQ SoC and both BSP variants - mx8mq-nxp-bsp: compatible with every i.MX8MQ SoC8 but specific to NXP BSP - mx8mq-mainline-bsp: compatible with every i.MX8MQ SoC but specific to Mainline BSP The extender mechanism is responsible for extending the override list to include the generic overrides. We can then use the three different variants to handle the metadata correctly. Generically speaking, the conversion mainly was automated (with a lot of back and forth until getting it right). To convert an existing layer, the following script can be used: ```sh git ls-files classes recipes-* \ | xargs sed -i \ -e 's,:\(mx[6-8]\w*\),:\1-nxp-bsp,g' \ -e 's,(\(mx[6-8]\w*\)),(\1-nxp-bsp),g' \ -e 's,\(mx[6-8]\w*\)|,\1-nxp-bsp|,g' \ -e 's,|\(mx[6-8]\w*\)),|\1-nxp-bsp),g' \ \ -e 's,:\(mx[5s]\w*\),:\1-generic-bsp,g' \ -e 's,(\(mx[5s]\w*\)),(\1-generic-bsp),g' \ -e 's,\(mx[5s]\w*\)|,\1-generic-bsp|,g' \ -e 's,|\(mx[5s]\w*\)),|\1-generic-bsp),g' \ \ -e 's,:\(vf\w*\),:\1-generic-bsp,g' \ -e 's,:\(vf[56]0\w*\),:\1-generic-bsp,g' \ -e 's,\(vf\w*\)|,\1-generic-bsp|,g' \ -e 's,|\(vf\w*\)),|\1-generic-bsp),g' \ -e 's,\(vf[56]0\w*\)|,\1-generic-bsp|,g' \ -e 's,|\(vf[56]0\w*\)),|\1-generic-bsp),g' \ \ -e 's,:\(imx\) ,:\1-nxp-bsp ,g' \ -e 's,(\(imx\)),(\1-nxp-bsp),g' \ -e 's,\(imx\)|,\1-nxp-bsp|,g' \ -e 's,|\(imx\)),|\1-nxp-bsp),g' for d in $(find -type d | egrep '/mx[6-8]w*'); do git mv $d $d-nxp-bsp done for d in $(find -type d | egrep '/imx$'); do git mv $d $d-nxp-bsp done for d in $(find -type d | egrep '/mx[5s]w*'); do git mv $d $d-generic-bsp done ``` Fixes: #791. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* layer: Convert to new override syntaxKhem Raj2021-08-121-9/+9
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pulseaudio: mx7: refresh patch against pulseaudio 14.2Max Krummenacher2021-02-251-11/+11
| | | | | | | | | | | | | Prevents | Applying patch pulseaudio-remove-the-control-for-speaker-headphone-widge.patch | patching file src/modules/alsa/mixer/paths/analog-output-headphones.conf | Hunk #1 succeeded at 88 (offset 7 lines). | Hunk #2 succeeded at 119 (offset 14 lines). | patching file src/modules/alsa/mixer/paths/analog-output-speaker.conf | Hunk #1 succeeded at 91 with fuzz 2 (offset 18 lines). | Hunk #2 succeeded at 115 (offset 22 lines). Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* pulseaudio: Add i.MX8 supportYuqing Zhu2018-09-071-0/+2
| | | | | Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* pulseaudio: Remove i.MX 6UL specific metadataOtavio Salvador2017-01-271-2/+0
| | | | | | | The SoC is now dealt as a i.MX6 SoC so there is no need for the specific metadata. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* pulseaudio: Update daemon.conf to use rlimit-rttimeLauren Post2016-10-181-1/+1
| | | | | | | | | | This update specifies a limit on the amount of CPU time that a process scheduled under a real time scheduling policy may consume without making a blocking system call. If pulseaudio cost more time which exceed the rlimte-rttime it will be kill by kernel. Signed-off-by: Lauren Post <lauren.post@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* pulseaudio: Remove the control for speaker/headphone widget for i.MX7DYuqing Zhu2016-05-162-1/+76
| | | | | | | | In order to fix issue "headphone volume will be set to zero when pulseaudio can't detect the headphone jack status", remove the control in configuration file. Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* pulseaudio: Add i.MX 6UltraLite supportLauren Post2016-04-191-0/+2
| | | | | | | Since mx6 SoC family does not include 6ul, add in separately. Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* pulseaudio: Add PulseAudio configurationYuqing Zhu2016-04-193-0/+270
| | | | | | | | | | | | -Use the ffmpeg resample instead of the speex one, since the ffmpeg resampler gives better quality. -Normally, PulseAudio exits after an application finishes using it. Set exit-idle-time to -1 in the daemon.conf to force it to not exit. Signed-off-by: Yuqing Zhu <b54851@freescale.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* Move meta-fsl-arm content to layer rootOtavio Salvador2015-07-161-0/+4
The meta-fsl-arm is going to be used as the base for this layer. It contains a clean history and allowing a more granullar set of changes. This commit is just a rename of all contents of meta-fsl-arm subdirectory to this layer's root, subsequent changes are based on top of that. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>