3.14.38-6QP_Beta release
PATCH v8 1/1 3.14.38-6QP_Beta release
Add PulseAudio configuration.
Yuqing Zhu (1):
pulseaudio: Add PulseAudio configuration
.../pulseaudio/pulseaudio/imx/daemon.conf | 87 +++++++++++ .../pulseaudio/pulseaudio/imx/default.pa | 170 +++++++++++++++++++++ .../pulseaudio/pulseaudio_%.bbappend | 15 ++ 3 files changed, 272 insertions(+) create mode 100644 recipes-multimedia/pulseaudio/pulseaudio/imx/daemon.conf create mode 100644 recipes-multimedia/pulseaudio/pulseaudio/imx/default.pa
Signature · 1 line
1.9.1
PATCH v8 1/1 pulseaudio: Add PulseAudio configuration
-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.
--- .../pulseaudio/pulseaudio/imx/daemon.conf | 87 +++++++++++ .../pulseaudio/pulseaudio/imx/default.pa | 170 +++++++++++++++++++++ .../pulseaudio/pulseaudio_%.bbappend | 15 ++ 3 files changed, 272 insertions(+) create mode 100644 recipes-multimedia/pulseaudio/pulseaudio/imx/daemon.conf create mode 100644 recipes-multimedia/pulseaudio/pulseaudio/imx/default.pa
recipes-multimedia/pulseaudio/pulseaudio/imx/daemon.conf new file +87 -0
@@ -0,0 +1,87 @@ +# This file is part of PulseAudio. +# +# PulseAudio is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# PulseAudio is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with PulseAudio; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +# USA. + +## Configuration file for the PulseAudio daemon. See pulse-daemon.conf(5) for +## more information. Default values are commented out. Use either ; or # for +## commenting. + +; daemonize = no +; fail = yes +; allow-module-loading = yes +; allow-exit = yes +; use-pid-file = yes +; system-instance = no +; local-server-type = user +; enable-shm = yes +; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 MiB +; lock-memory = no +; cpu-limit = no + +; high-priority = yes +; nice-level = -11 + +; realtime-scheduling = yes +; realtime-priority = 5 + +exit-idle-time = -1 +; scache-idle-time = 20 + +; dl-search-path = (depends on architecture) + +; load-default-script-file = yes +; default-script-file = /etc/pulse/default.pa + +; log-target = auto +; log-level = notice +; log-meta = no +; log-time = no +; log-backtrace = 0 + +resample-method = ffmpeg +; enable-remixing = yes +; enable-lfe-remixing = no + +flat-volumes = no + +; rlimit-fsize = -1 +; rlimit-data = -1 +; rlimit-stack = -1 +; rlimit-core = -1 +; rlimit-as = -1 +; rlimit-rss = -1 +; rlimit-nproc = -1 +; rlimit-nofile = 256 +; rlimit-memlock = -1 +; rlimit-locks = -1 +; rlimit-sigpending = -1 +; rlimit-msgqueue = -1 +; rlimit-nice = 31 +; rlimit-rtprio = 9 +; rlimit-rttime = 1000000 + +; default-sample-format = s16le +; default-sample-rate = 44100 +; alternate-sample-rate = 48000 +; default-sample-channels = 2 +; default-channel-map = front-left,front-right + +; default-fragments = 4 +; default-fragment-size-msec = 25 + +; enable-deferred-volume = yes +; deferred-volume-safety-margin-usec = 8000 +; deferred-volume-extra-delay-usec = 0
recipes-multimedia/pulseaudio/pulseaudio/imx/default.pa new file +170 -0
170 lines not on this page · raw message
recipes-multimedia/pulseaudio/pulseaudio_%.bbappend +15 -0
@@ -1,4 +1,19 @@ CACHED_CONFIGUREVARS_append_mx6 = " ax_cv_PTHREAD_PRIO_INHERIT=no" +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}/imx:" +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 +} + PACKAGE_ARCH_mx6 = "${MACHINE_SOCARCH}" +PACKAGE_ARCH_mx7 = "${MACHINE_SOCARCH}"
Signature · 1 line
1.9.1
Hi Yuqing,
Since this is only a single patch, the cover isn't needed.
Also, the subject line of the cover has nothing to do with the single patch included.
For those of us who use threaded e-mail readers, this hides the content of the patch set.
Quoted 5 lines · Yuqing Zhu
Add PulseAudio configuration.
Yuqing Zhu (1):
pulseaudio: Add PulseAudio configuration
Quoted 7 lines
.../pulseaudio/pulseaudio/imx/daemon.conf | 87 +++++++++++ .../pulseaudio/pulseaudio/imx/default.pa | 170 +++++++++++++++++++++ .../pulseaudio/pulseaudio_%.bbappend | 15 ++ 3 files changed, 272 insertions(+) create mode 100644 recipes-multimedia/pulseaudio/pulseaudio/imx/daemon.conf create mode 100644 recipes-multimedia/pulseaudio/pulseaudio/imx/default.pa
Regards,
Eric