From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 9D3E4E00A31; Thu, 6 Aug 2015 19:26:10 -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 SPF_HELO_PASS SPF: HELO matches SPF record * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [207.46.100.141 listed in list.dnswl.org] Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2on0141.outbound.protection.outlook.com [207.46.100.141]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 1D69FE00A31 for ; Thu, 6 Aug 2015 19:26:06 -0700 (PDT) Received: from CH1PR03CA010.namprd03.prod.outlook.com (10.255.156.155) by BN3PR0301MB1171.namprd03.prod.outlook.com (10.160.156.145) with Microsoft SMTP Server (TLS) id 15.1.225.19; Fri, 7 Aug 2015 02:26:04 +0000 Received: from BL2FFO11OLC009.protection.gbl (10.255.156.132) by CH1PR03CA010.outlook.office365.com (10.255.156.155) with Microsoft SMTP Server (TLS) id 15.1.225.19 via Frontend Transport; Fri, 7 Aug 2015 02:26:04 +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 BL2FFO11OLC009.mail.protection.outlook.com (10.173.160.145) with Microsoft SMTP Server (TLS) id 15.1.243.9 via Frontend Transport; Fri, 7 Aug 2015 02:26:03 +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 t772Pw62020902; Thu, 6 Aug 2015 19:26:01 -0700 From: Yuqing Zhu To: Date: Fri, 7 Aug 2015 10:26:10 +0800 Message-ID: <1438914370-11782-2-git-send-email-b54851@freescale.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1438914370-11782-1-git-send-email-b54851@freescale.com> References: <1438914370-11782-1-git-send-email-b54851@freescale.com> X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11OLC009; 1:GRGRJSji4F1OLM8zXWAHzkzjBUj5eEhWDLAQJXF0iTqx/fmzgzRRADQzj8unLLPgeqpR2yv90uIhiETOM8K5wOfrWQ72fiLqmo44Z9HPm1EqUDV/okNLmbYIaUCE5eHPLZFo6Nwu8pSkqJss52yf+WercRYapIjWlzjlPH/SzQS17jJF0iFFD/BCRFtkGcpYz1r79g3GbJrWzUFBrOj6cOZxZZ4L9h5nx4OfU88D78nWrdoqJ0PK0h5wY7kIGTxdM+eICSnBz6aqKbQ1KUq5QAxxkAYsmQYc+2Iem/4b5Y2fhUvq599gG5JIaOyQIRqfBUUCAc5rEY5h0nnPGhlXvw== X-Forefront-Antispam-Report: CIP:192.88.158.2; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(339900001)(199003)(54014002)(189002)(6806004)(36756003)(5001830100001)(5001860100001)(2950100001)(107886002)(77156002)(68736005)(104016003)(69596002)(62966003)(92566002)(4001540100001)(97736004)(5001960100002)(110136002)(77096005)(81156007)(189998001)(50226001)(5003940100001)(87936001)(50986999)(48376002)(50466002)(106466001)(76176999)(19580405001)(19580395003)(46102003)(2351001)(33646002)(229853001)(86362001)(230783001)(47776003)(64706001)(105606002)(85426001)(2004002)(4001430100001); 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:FzGypGv3LO1Hl6bDj6hWx0pvR3H4zYbMYbb1ZkqNBtxL+29PePgl3LL5r24L9MWgfUTtHgizNNMZzA3TPakRaBe+tn5R9oH5XpMwddWBA1Zakcx/qanvM7WfzpSMObFdXBSv4iYF9KxycRfIrFcNCKhVkjZxuiM6NSCQCbNI9Dk=; 3:4M3hy8yQuVw7YQANwhInZMFyE7NCGQGywRaAKDo3ah4Iy1PYKzuTT1KQ4sDEA14hPR5wxc1Zg1Zpc6ovM9BmaCSPRhWsPkRD8WBAFebXVhmntgl8XSDIWAXsRN9UlM7b60CRnbfxez28xTrBYYSE031MQO2zlQ11m7NCTp7O4JN4BV4JjX8CDsJxNZG4xvCAYdv4Ja9WCKzVH1f9tj5dU2IUitMp4Q0x+NQN82RcpCk=; 25:z98+gUvCvnuC1hV/fPf1SNAjTnvZjIjNyAGIXEEI4+96/h00Uf5yU17q24MvPmaK78XgzilKx69Gjo/3O2K6WY4yFRwjdIy+YnHiUuCramccaioNa5cctWSRq31gODZyUDFBzzC56VFrN4Kadrcl9AneW0MMlWp/osQrJqMOi9EX69OksODJpBhcDc0ThBQM/eF9N0onznlzCTtyXMuy5uKVWHOJpXk0Gr/JNWKs0TsUvWLaEaMH7jqy8pURQTkyjxxNQMAE8ZI5wJzlLFCdSg== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN3PR0301MB1171; X-Microsoft-Exchange-Diagnostics: 1; BN3PR0301MB1171; 20:skuzHNxdcJpN52Krg1yGqH727nNqy9zWtFs1Hmj1kfcTJLxGWMo1k5lt8vlbmmyNNqZZVBoBPausTVZcapXNgEBIwzYQByc2wI5QM/VAVVUufPN9m62go+r7h8kzJRLHnne/8ph3L7X6nOpUIoZ/BwtX2SP2v6c0wqsxJigOlpbDZ3lYgOlmq/+xR5AtA8+ml1xbQrDcBp2LzfDKkVgLiBDZSWQrByZjLUgnKCSUioPzHBC2brcTqvLoMzWI68u4KRG/Sq8ER0YzCWYiZaV8OKFalTk8ziWEuTqfWfGitMCWBj5RIFyV/uoSWE66RoWfhBcCcrDHbLwH4/P/vl0fP9yC3KWx9Z2Com9XDlxoMn4=; 4:M6biLfpHZ3WPhkLurQZDaLdq9PK/EQNtKSnWLqjxNP0HtpStCl4qtUwITLm6Hk3HmHhhZf0M4/k6mxqs+Y5cB7ZSk4jeWtvKBuRZXxjBwZGQoiq2VFCM+p0tjSfPOcDk13geaEHc/auBH1i5kW9EQrICVgwZ3VYeNAKTKPfljJ1IhVQTX8mTvF1IxTTsFGMocY4BXIayBXPkItrWj2XDoBn3+TJYdTLWoGWc2/N5zy3ccJ9j7F4ShQhiCueTPQLsCs7y/u4uU8g3yY0pP+LKXStkYMKklyo4Ykuj/UK5WsU= 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: 066153096A X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR0301MB1171; 23:EqgPkWqoiPC00ASaoNc5763AoDYKPBttaf12mxU?= =?us-ascii?Q?O43DJg/9j/nmTHr5k6MQ+zsiTsqDbfXDr2wENSkeXCHW3reAMo2l/5yrhMAW?= =?us-ascii?Q?11B26P/IxrM5wKXtjwsyb7M1CeapEmwptGZw8VnhMZGpNJCqQjCDQLI00BwZ?= =?us-ascii?Q?rQUaPhXquuYJhVVnza6kMCQ3SjYJ144BH8aOTUGKYwSiKQTkscojpirgE2LF?= =?us-ascii?Q?WmpNNRMrBRANZIGcqhIhniHTmTObEVQDHpdUABr6/VTJnIgVYH1rIo87FAbj?= =?us-ascii?Q?CM9h2K+TbZX5eDEGB6G5jkJCKSgXEGduKKuN4n+1stkASUN3UOSSZzfrrtmh?= =?us-ascii?Q?EzQm2EbxeuwL0I4fVWoC42pk1CoQL0MBfw8HzMazZ0UY9dtHyqpl1GnhVMNw?= =?us-ascii?Q?Kx4BlrogHSTSaaAbqI1LuH88F9Aqzw/OAN2nGJo22jKC34fPGyTL0a+lRind?= =?us-ascii?Q?jc5MBv0zWOvHt3kcATVLRwvNy5f2SF48CsC1rV+lfFGwLJZHSywdmpCiyZ5N?= =?us-ascii?Q?RPSjw2ZfekZpaT3DAR3uL8oSYbgaMoClM4/OM1ke+ysrCLjk2SZ+v3q2VeGK?= =?us-ascii?Q?jwBE24oRVhT/0zsHiaau+t0o/K5Ji0VrCPJnuQsGAT44fH/iN+g2GX1g3jCa?= =?us-ascii?Q?606a4AUNlYJr/CK8dReC0GeMRrDHw2WzG86pFAoVfYBaSMrmHTeGpmyc7P+H?= =?us-ascii?Q?v/Jd75PXY7SZE8WD3qMZleLJcajN7smeuMxHzYKgiPzOjjKYjoq/6SXSoxcm?= =?us-ascii?Q?kODI+6vziLnn4U29WCG7WPoKNkXD6X4nq+PILuC63M8YUpyNlqM3+fU41HsU?= =?us-ascii?Q?M6NZHwaG6gaMQFHg3kb6WE3CWiUcacaDBCxsK0RCRzZUO0wrLMM4tRIIoQgI?= =?us-ascii?Q?EARHol9LdqPuTXAmsXzWrdYPzb9aXlet9cSe5Xi7MTL8toUx08TeOf/mL5wJ?= =?us-ascii?Q?22SZz6XNz9f3B7i1ow1Ef396jy/MwgfFsQFDQpZpYFdQeCJxF4B3Ma5Rzc1o?= =?us-ascii?Q?5iEyET5RpTBSEIfsX14R64K0YMTroxJoGQpdDsMxptyqGcBkqER3ME48SEjZ?= =?us-ascii?Q?GLui6VjbX/4I/OK+2JhRad+cazeBop+/SuA7tF/4C0FvvaF104KygPeN85xr?= =?us-ascii?Q?4Hdod5FRStzks5s6dEyN2fBn0/vVLSfoEBg5UhK55Hu1nHjPnTXF9ZgHXk57?= =?us-ascii?Q?+9izVgaUpY6bWkZjAd3INtnCZNkWMm51xCtOp3ZOl88OrP+9UnFY5MEIr6A?= =?us-ascii?Q?=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; BN3PR0301MB1171; 5:c0vcPl7OLAN8ciwDYs3Ay8BHEVXGwAgaMz61WI5V7OtWAXVQWRZqPZWSf3HLUjXlV3SWKh90Z3ViwOWcQhAaMAHzk1qt1Jp5ZOugz2wZwX8fy6tjRBab0ap1jVlHn34vlfUIBkXcWO24UaV3lAPJOQ==; 24:XXuFZeQcys5s1gzzcVLn/BYChbjGnceqZM8Ng+MRBUZQzZB7LWbio2kCu3SkzA9FKG4hDAZ8xbqfCaPlZHW+rKGyRHLYRnRf9A9UdhXZmk0=; 20:eFuDq1ERn3Som3suDgDAX0iVbzIDOMoGWR1UORPVJV4YKLHiXzm+SWJ28Oy1+UI8zsCT/k6arVNk4nWMi2BwmQ== X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Aug 2015 02:26:03.9173 (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 v7] 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: Fri, 07 Aug 2015 02:26:10 -0000 Content-Type: text/plain -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 --- .../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