Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 432D3E009FD; Thu, 6 Aug 2015 02:23:03 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [207.46.100.116 listed in list.dnswl.org] * -0.0 SPF_HELO_PASS SPF: HELO matches SPF record * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2on0116.outbound.protection.outlook.com [207.46.100.116]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 387D7E009E4 for ; Thu, 6 Aug 2015 02:22:58 -0700 (PDT) Received: from DM2PR03CA0051.namprd03.prod.outlook.com (10.141.96.50) by BN3PR0301MB1171.namprd03.prod.outlook.com (10.160.156.145) with Microsoft SMTP Server (TLS) id 15.1.225.19; Thu, 6 Aug 2015 09:22:56 +0000 Received: from BN1BFFO11FD037.protection.gbl (2a01:111:f400:7c10::1:135) by DM2PR03CA0051.outlook.office365.com (2a01:111:e400:2428::50) with Microsoft SMTP Server (TLS) id 15.1.225.19 via Frontend Transport; Thu, 6 Aug 2015 09:22:55 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=freescale.com; freescale.mail.onmicrosoft.com; dkim=none (message not signed) header.d=none; Received-SPF: Fail (protection.outlook.com: domain of freescale.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BN1BFFO11FD037.mail.protection.outlook.com (10.58.144.100) with Microsoft SMTP Server (TLS) id 15.1.243.9 via Frontend Transport; Thu, 6 Aug 2015 09:22:55 +0000 Received: from carol-OptiPlex-3020.ap.freescale.net (carol-OptiPlex-3020.ap.freescale.net [10.192.241.17]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id t769MlR3000545; Thu, 6 Aug 2015 02:22:53 -0700 From: Yuqing Zhu To: Date: Thu, 6 Aug 2015 17:23:01 +0800 Message-ID: <1438852981-10432-2-git-send-email-b54851@freescale.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1438852981-10432-1-git-send-email-b54851@freescale.com> References: <1438852981-10432-1-git-send-email-b54851@freescale.com> X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD037; 1:AP+q/gJBYoX9inPkbjd7gQ+9P013AZhs+YlIxTUj3r5J2hvWePLWCBSKUDC0XI4bIS2AhFl38stEsmkWWxM6DuDj+PR34LNO51iGrNoHCXW44MbZhekUBZ1Y9in00koyQSxmDR82OvzBctgaO3f254BjFSD+wfo7RrsMbjvaTJ6hFiCFAOdt8BVybZoXBEk2EnT6btq76eb0aQAjWpdXtg2VnGyYHSSAYADCzgLX1iS3uNNXA/368Sa51pPpHskfsbpONyWAcz8l0S8N81TmRVfCDdro8UUEeyyDu/mGgGcR04/6SGnnrQjE5tp6iAPJr0USwc0URBnExu5O2F4P0w== X-Forefront-Antispam-Report: CIP:192.88.158.2; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(979002)(6009001)(2980300002)(339900001)(199003)(54014002)(189002)(2950100001)(36756003)(5001860100001)(110136002)(5001830100001)(81156007)(5001960100002)(76176999)(97736004)(69596002)(4001540100001)(6806004)(189998001)(77096005)(68736005)(104016003)(107886002)(77156002)(92566002)(62966003)(50986999)(50226001)(48376002)(5003940100001)(50466002)(87936001)(105606002)(106466001)(19580405001)(19580395003)(230783001)(46102003)(33646002)(2351001)(229853001)(86362001)(47776003)(64706001)(85426001)(2004002)(4001430100001)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1102; SCL:1; SRVR:BN3PR0301MB1171; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; BN3PR0301MB1171; 2:KafDZagG5yaOQAsFoXCvAxMO8btHobMfBqbOxkLwpFPJUvI9GextpXSyBvtK8RT1ZLRKHVGpTmjc8Sk/vYuJepRvUkU9ZujddLtwsWFFpK0HOljteH975FlQRiACAJjkyytzs+7uBRV/J8KVE4dD2t94mPiEoZzHcc8n5f2XJ2M=; 3:+HWLh2fEdT3QHGh+vFDEe9/Q5nVjLXyY1cZngjhNrgV7vUf5TxH/iekJ7cDU4xiWbAbP43KMgpjSJrz8TIY+bhvvkaR44eueieA6kpl4jqDqw2/2/69TgYzd4G702rDPVc9+bhJiGhEIAqrj12tx9kus+jB82NwOKcJMx7GsDr1noattalMI3rleT7QzY+Zm4t+BGYYtRlN1/nXW6lweCyM33xHiG8axBfZDTW9tUcY=; 25:YQWwmvWXnHK6ehtpl+w6UlE+LO2IrQYFJzDnv5slghFSqmFeF1jVzNaZGEy4vMpUX4GaXNLJjNpsAa15pbIMgtZPh01ldnlEjOfraqRlrQhD9XlScIJ0wlKbDESByaNrYp59JSXmnMtstO07N0BzTQEooMEVMhAMhYYhxpVUaxChRizvNefjb9zoCqixPmbM2aMHb/TWhH3xUD5Sz1grQ7stcsDqXBxOPWy6D4RagQaV51HaMP4sx7EqEI8O1q/vRO29lIh8YXnUo4fSOvuMzA== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN3PR0301MB1171; X-Microsoft-Exchange-Diagnostics: 1; BN3PR0301MB1171; 20:suorJ6h1HC2LE/qIzjXiI5K2uPX3xkdFkIgsHWCmqlA5BdsWm0ce3vRCMu3c/3zr75FKuf7C/u6a42zrsvc25Yrup6eA6Le6PyauMm+4dDdJmVgQoJ2J0uWw4oCmj45k+sO59crfvmQlzVaLjg77IyDrFoHe35JnykuptSEFOaoFMhhG1Dbr6xlj4HPRelgISaq4gGBM4fW+tJyrgxOQz15iFDzrbBJnL0vV1TZCFbaqVQ/eMTcXW2IOkVmdRXF1J7x1HvEzisBvSZ3jTxUBEywscs6dh+/nt2MG1VbwXkLnIqGH6sbVAN0jOmE1LLdI6CC0brYJD734T5FR/BcXK7cDcRTOHHLL4PEng0iXu1E=; 4:4aBsXsZeo47lDlMA2f/3pA0h20BLj9ayizhKmM7xb6rrC8zOiXSRiIWR4vfzrRy7kzJruCiOYgNBmiXXFTcjFM79Y8lkqwptABYfH4mfa/8Mwekb8F7tfrZfdtkmhgeIIzhgUuZC1+zZgIrkk2P7yWiiGJzkztJk+uU4/guo4x/ipvCBuIyMljS/oGdMaHByzdFfKPHg2OXUWZektyADFKkc/BB/2CNkhiRv9wVfJO0O4AK/kEUEQm/IMT7VVzpT5Ir1eZ1kMGu+gpBCZt6K/rRYg4FSAIcxiH1EgfW9E/o= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5005006)(3002001); SRVR:BN3PR0301MB1171; BCL:0; PCL:0; RULEID:; SRVR:BN3PR0301MB1171; X-Forefront-PRVS: 06607E485E X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR0301MB1171; 23:IZRoprT6LDkMBuncvj2AXYzTj1Tz642zh6NBsfk?= =?us-ascii?Q?jDf2Lw25u/b/W0+NPMM8iOEnYKHm3KuWQWDcB7KLTg5wpgEyMX+7ayDRPZp0?= =?us-ascii?Q?R23MyC6BeghRbtFvSLBwt1es1YLzCASLFvIMxLPBWQVjxipMr8i5JJ96MYd+?= =?us-ascii?Q?nkEiqz6f68tEpTFWN5NjLkRFeFf3wyLZWPvx/cpT+KKG2dIJvhR3ybzQl/t/?= =?us-ascii?Q?1yjUboe77mIUeF2dSMsvILtpnbF/udLxqud3Ev99vMhPtjWTAix02HPzQKb5?= =?us-ascii?Q?ML/fyxxvRjrn/L3m4WFnocYHEKoWdgaE8YMEc9Fzz5LbJMNsS9D/y5+weFZ5?= =?us-ascii?Q?Jf0EfwyEo8yAw4zKhDyim9bLtVRgxzDm70FHeFD3LiX+lHrbfK58wXrtAA0W?= =?us-ascii?Q?3tX42YqGqmFewW7wy2qiQ5mAqfK5ihP9K0y+4KJa3r2+vT24G2keM58hq+xt?= =?us-ascii?Q?ny6K9lVkJ+/SSIYSYWsQNS3nvDKaCPq9xug+E3qeJD4D2NyMTfe369AvyCD1?= =?us-ascii?Q?9BA91NHf8iixqA+Ayq59JYQt60F97ZSWU64hYhckKrCU9PVxdO6MU8FlD5s7?= =?us-ascii?Q?wVhvPJWpzT1XE6eT479kHOyJTrV3tvOhGprKVLc4rFlUa5n16ptRLtmIouML?= =?us-ascii?Q?HxE+1yakICM8uAmp/v2E0JMPvPOdO6aaTpsiDFFYAq9KgahQKAewB5LXSRTP?= =?us-ascii?Q?TJ2VTfrQjgX7FxNdx46pttrErptOGMvgjq46Bo9FzhL9Bf9erehFzgxTxmb6?= =?us-ascii?Q?fws8YMP0PS+XakkZnOy9QI9KeuXesEEOydc497015kU4GkQjJjPtT+DNxovy?= =?us-ascii?Q?6m3PGz/anFFzrmJKZ4GxOmwejV1sAa41cFK120e+9Xp3cVJx2FAJtHJpaFRM?= =?us-ascii?Q?yUZXykTriB8ytfXn30/XN69Xf9UsEgnOsepOkUzWFHt7upL9JxkglcYnVCJl?= =?us-ascii?Q?QHFgQifLO2+gL+hp60HIfR7Zs4z4m6OjYEAn8NtYmS/tTP+oNJNHCP7QS3Wg?= =?us-ascii?Q?gZrhPBkb3Ch26bSEO94EI04Kq/d2jZX64SI2hGZ0FeeCMa7DbqsqqLeFHaI9?= =?us-ascii?Q?EynPQyBCgf4ZsAXS1gRhgQkq3oLxn4JivP9csJT6iS4IGgfCU8ozX4FcJFHb?= =?us-ascii?Q?0GOWJHN7lfVq9j2MRsayXDr4JBEhHX7xGi4MP8ldazdVzDYvPBUAquy81Mi0?= =?us-ascii?Q?BbVIQREVfzSyEAI5yw+euKQgRbGl8+lm/VpxO9Di1sZWRiurQS7x3XIzdulI?= =?us-ascii?Q?zUJ8UdcXsqGUJ4DNm2omwGqRz0bCx17bnawevCPI8daX5PnMRHEZPDQFh+gP?= =?us-ascii?Q?JvdO77U/xm1FHOjydxhGLnS6OsSJ02oug2BsYCCCORJ3G?= X-Microsoft-Exchange-Diagnostics: 1; BN3PR0301MB1171; 5:566wjy/hemgq3dJi0rCvhhYXj7Gx/kTz0RwM96vtA2Axpwoj8RSPCD8Tz6apfSYfRILWcZvaFTaYuzlhYE82XaPdGpG96qDPjrTKimcv2MS3IJ8UEGFq2kqKeGuRpfS+0I/Jwmn9sFOBobjVV0FBDw==; 24:ZTb2y2Bqjp+2LnMQJZxk7D2x+1Lg0iaMNiVZvllBXZqutLKeaorhPh/vTKOGe/F7AyeRSgJxd6eeKg4tfL2ncosJxkVyfNphrde86wgT/qI=; 20:ED+Ue/Z6vjT+98Gae06JHh3BwjUb4XlvWYbMc54FgnTShW/Key7D0jswpGqPxJPE2qdJ3uUkLzO3w4vTKtM3OQ== X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Aug 2015 09:22:55.8245 (UTC) X-MS-Exchange-CrossTenant-Id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=710a03f5-10f6-4d38-9ff4-a80b81da590d; Ip=[192.88.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0301MB1171 Subject: [meta-fsl-arm][PATCH v6] pulseaudio: Add PulseAudio configuration X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Aug 2015 09:23:03 -0000 Content-Type: text/plain -Set ffmpeg as resample method -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 --- .../pulseaudio/pulseaudio/daemon.conf | 87 +++++++++++ .../pulseaudio/pulseaudio/default.pa | 170 +++++++++++++++++++++ .../pulseaudio/pulseaudio_%.bbappend | 20 +++ 3 files changed, 277 insertions(+) create mode 100644 recipes-multimedia/pulseaudio/pulseaudio/daemon.conf create mode 100644 recipes-multimedia/pulseaudio/pulseaudio/default.pa diff --git a/recipes-multimedia/pulseaudio/pulseaudio/daemon.conf b/recipes-multimedia/pulseaudio/pulseaudio/daemon.conf new file mode 100644 index 0000000..54854eb --- /dev/null +++ b/recipes-multimedia/pulseaudio/pulseaudio/daemon.conf @@ -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 diff --git a/recipes-multimedia/pulseaudio/pulseaudio/default.pa b/recipes-multimedia/pulseaudio/pulseaudio/default.pa new file mode 100644 index 0000000..83a6ba8 --- /dev/null +++ b/recipes-multimedia/pulseaudio/pulseaudio/default.pa @@ -0,0 +1,170 @@ +#!/usr/bin/pulseaudio -nF +# +# 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. + +# This startup script is used only if PulseAudio is started per-user +# (i.e. not in system mode) + +.nofail + +### Load something into the sample cache +#load-sample-lazy x11-bell /usr/share/sounds/gtk-events/activate.wav +#load-sample-lazy pulse-hotplug /usr/share/sounds/startup3.wav +#load-sample-lazy pulse-coldplug /usr/share/sounds/startup3.wav +#load-sample-lazy pulse-access /usr/share/sounds/generic.wav + +.fail + +### Automatically restore the volume of streams and devices +load-module module-device-restore +load-module module-stream-restore +load-module module-card-restore + +### Automatically augment property information from .desktop files +### stored in /usr/share/application +load-module module-augment-properties + +### Should be after module-*-restore but before module-*-detect +load-module module-switch-on-port-available + +### Load audio drivers statically +### (it's probably better to not load these drivers manually, but instead +### use module-udev-detect -- see below -- for doing this automatically) +#load-module module-alsa-sink +#load-module module-alsa-source device=hw:1,0 +#load-module module-oss device="/dev/dsp" sink_name=output source_name=input +#load-module module-oss-mmap device="/dev/dsp" sink_name=output source_name=input +#load-module module-null-sink +#load-module module-pipe-sink + +### Automatically load driver modules depending on the hardware available +.ifexists module-udev-detect.so +load-module module-udev-detect tsched=0 +.else +### Use the static hardware detection module (for systems that lack udev support) +load-module module-detect +.endif + +### Automatically connect sink and source if JACK server is present +.ifexists module-jackdbus-detect.so +.nofail +load-module module-jackdbus-detect channels=2 +.fail +.endif + +### Automatically load driver modules for Bluetooth hardware +.ifexists module-bluetooth-policy.so +load-module module-bluetooth-policy +.endif + +.ifexists module-bluetooth-discover.so +load-module module-bluetooth-discover +.endif + +### Load several protocols +.ifexists module-esound-protocol-unix.so +load-module module-esound-protocol-unix +.endif +load-module module-native-protocol-unix + +### Network access (may be configured with paprefs, so leave this commented +### here if you plan to use paprefs) +#load-module module-esound-protocol-tcp +#load-module module-native-protocol-tcp +#load-module module-zeroconf-publish + +### Load the RTP receiver module (also configured via paprefs, see above) +#load-module module-rtp-recv + +### Load the RTP sender module (also configured via paprefs, see above) +#load-module module-null-sink sink_name=rtp format=s16be channels=2 rate=44100 sink_properties="device.description='RTP Multicast Sink'" +#load-module module-rtp-send source=rtp.monitor + +### Load additional modules from GConf settings. This can be configured with the paprefs tool. +### Please keep in mind that the modules configured by paprefs might conflict with manually +### loaded modules. +.ifexists module-gconf.so +.nofail +load-module module-gconf +.fail +.endif + +### Automatically restore the default sink/source when changed by the user +### during runtime +### NOTE: This should be loaded as early as possible so that subsequent modules +### that look up the default sink/source get the right value +load-module module-default-device-restore + +### Automatically move streams to the default sink if the sink they are +### connected to dies, similar for sources +load-module module-rescue-streams + +### Make sure we always have a sink around, even if it is a null sink. +load-module module-always-sink + +### Honour intended role device property +load-module module-intended-roles + +### Automatically suspend sinks/sources that become idle for too long +load-module module-suspend-on-idle + +### If autoexit on idle is enabled we want to make sure we only quit +### when no local session needs us anymore. +.ifexists module-console-kit.so +load-module module-console-kit +.endif +.ifexists module-systemd-login.so +load-module module-systemd-login +.endif + +### Enable positioned event sounds +load-module module-position-event-sounds + +### Cork music/video streams when a phone stream is active +load-module module-role-cork + +### Modules to allow autoloading of filters (such as echo cancellation) +### on demand. module-filter-heuristics tries to determine what filters +### make sense, and module-filter-apply does the heavy-lifting of +### loading modules and rerouting streams. +load-module module-filter-heuristics +load-module module-filter-apply + +### Load DBus protocol +.ifexists module-dbus-protocol.so +load-module module-dbus-protocol +.endif + +# X11 modules should not be started from default.pa so that one daemon +# can be shared by multiple sessions. + +### Load X11 bell module +#load-module module-x11-bell sample=bell-windowing-system + +### Register ourselves in the X11 session manager +#load-module module-x11-xsmp + +### Publish connection data in the X11 root window +#.ifexists module-x11-publish.so +#.nofail +#load-module module-x11-publish +#.fail +#.endif + +### Make some devices default +#set-default-sink output +#set-default-source input diff --git a/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend b/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend index b9acb36..95b955d 100644 --- 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}:" +IMX_PATCHES = " file://daemon.conf \ + file://default.pa \ +" +SRC_URI_append_mx6 = "${IMX_PATCHES}" +SRC_URI_append_mx7 = "${IMX_PATCHES}" + +do_install_append() { + install -m 0644 ${WORKDIR}/daemon.conf ${D}${sysconfdir}/pulse/daemon.conf + install -m 0644 ${WORKDIR}/default.pa ${D}${sysconfdir}/pulse/default.pa + + #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 +} + PACKAGE_ARCH_mx6 = "${MACHINE_SOCARCH}" -- 1.9.1