From: Otavio Salvador <otavio.salvador@ossystems.com.br>
To: Yuqing Zhu <b54851@freescale.com>
Cc: "meta-freescale@yoctoproject.org" <meta-freescale@yoctoproject.org>
Subject: Re: [meta-fsl-arm][PATCH v7] pulseaudio: Add PulseAudio configuration
Date: Fri, 7 Aug 2015 10:39:33 -0300 [thread overview]
Message-ID: <CAP9ODKrbXbUY29-EbjfgaMLp+YBmWxUsWaOd1zM_y-PZns=DwA@mail.gmail.com> (raw)
In-Reply-To: <1438914370-11782-2-git-send-email-b54851@freescale.com>
On Thu, Aug 6, 2015 at 11:26 PM, Yuqing Zhu <b54851@freescale.com> wrote:
> -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>
> ---
> .../pulseaudio/pulseaudio/daemon.conf | 87 +++++++++++
> .../pulseaudio/pulseaudio/default.pa | 170 +++++++++++++++++++++
Move those to imx subdir.
...
> --- a/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend
> +++ b/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend
> @@ -1,4 +1,24 @@
>
> CACHED_CONFIGUREVARS_append_mx6 = " ax_cv_PTHREAD_PRIO_INHERIT=no"
>
> +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
New line here.
> +IMX_PATCHES = " file://daemon.conf \
> + file://default.pa \
> +"
> +SRC_URI_append_mx6 = "${IMX_PATCHES}"
> +SRC_URI_append_mx7 = "${IMX_PATCHES}"
> +
> +do_install_append() {
if [ -n "${IMX_PATCHES}" ]; then
> + install -m 0644 ${WORKDIR}/daemon.conf ${D}${sysconfdir}/pulse/daemon.conf
> + install -m 0644 ${WORKDIR}/default.pa ${D}${sysconfdir}/pulse/default.pa
fi
> + #Fix me: Remove the kde desktop, because there are two destop in default
> + # (pulseaudio-kde.destop, pulseaudio.destop), then the pulseaudio server
> + # will be started twice, pulseaudio will have issue to switch to default input/output.
> + if [ -e ${D}${sysconfdir}/xdg/autostart/pulseaudio-kde.desktop ]
> + then
> + rm ${D}${sysconfdir}/xdg/autostart/pulseaudio-kde.desktop
> + fi
> +}
We need to fix this in the original pulseaudio recipe, this is not SoC
specific and someone might want to use KDE.
> PACKAGE_ARCH_mx6 = "${MACHINE_SOCARCH}"
Also add mx7 here.
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
prev parent reply other threads:[~2015-08-07 13:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-07 2:26 [meta-fsl-arm][PATCH v7] 3.14.38-6QP_Beta release Yuqing Zhu
2015-08-07 2:26 ` [meta-fsl-arm][PATCH v7] pulseaudio: Add PulseAudio configuration Yuqing Zhu
2015-08-07 13:39 ` Otavio Salvador [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAP9ODKrbXbUY29-EbjfgaMLp+YBmWxUsWaOd1zM_y-PZns=DwA@mail.gmail.com' \
--to=otavio.salvador@ossystems.com.br \
--cc=b54851@freescale.com \
--cc=meta-freescale@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.