diff options
author | Adrian Scarlat <adrian.scarlat@windriver.com> | 2015-05-22 14:16:45 +0000 |
---|---|---|
committer | James Thomas <james.thomas@codethink.co.uk> | 2015-05-22 14:18:47 +0000 |
commit | ba709ee7d4f9f81af638a3d3c640b7152bbe32bc (patch) | |
tree | 3d05af7d27b462dbafcea61116474c9d9da3b3fd /PluginRoutingInterfacePulse/data/libPluginRoutingInterfacePULSE.conf | |
parent | 64d2ba454ecfb1ea9bef3b4b717989afa58db1c7 (diff) | |
download | audiomanager-ba709ee7d4f9f81af638a3d3c640b7152bbe32bc.tar.gz |
This Routing Interface is needed for any application that will
be developed on top of AM and will use PulseAudio Sound Server
to control the sources and sinks present on the system. It must
be loaded by AM;
The interface can be built by supplying cmake with the -DWITH_PULSE_ROUTING_PLUGIN=ON;
After building one configuration file will be available:
1. libPluginRoutingInterfacePULSE.conf - configuration file for
Pulse Routing Plugin; it will be loaded at runtime by the Pulse Routing Interface;
Changed files:
CMakeLists.txt
Added new folders:
PluginRoutingInterfacePulse/
Added new files:
PluginRoutingInterfacePulse/CMakeLists.txt
PluginRoutingInterfacePulse/README
PluginRoutingInterfacePulse/data/libPluginRoutingInterfacePULSE.conf
PluginRoutingInterfacePulse/include/RoutingSenderMainloopPULSE.h
PluginRoutingInterfacePulse/include/RoutingSenderPULSE.h
PluginRoutingInterfacePulse/src/RoutingSenderMainloopPULSE.cpp
PluginRoutingInterfacePulse/src/RoutingSenderPULSE.cpp
Signed-off-by: Adrian Scarlat <adrian.scarlat@windriver.com>
Diffstat (limited to 'PluginRoutingInterfacePulse/data/libPluginRoutingInterfacePULSE.conf')
-rw-r--r-- | PluginRoutingInterfacePulse/data/libPluginRoutingInterfacePULSE.conf | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/PluginRoutingInterfacePulse/data/libPluginRoutingInterfacePULSE.conf b/PluginRoutingInterfacePulse/data/libPluginRoutingInterfacePULSE.conf new file mode 100644 index 0000000..d8b9868 --- /dev/null +++ b/PluginRoutingInterfacePulse/data/libPluginRoutingInterfacePULSE.conf @@ -0,0 +1,55 @@ +############################################################################ +# SPDX license identifier: MPL-2.0 +# +# Copyright (C) 2012-2014, Wind River Systems +# Copyright (C) 2014, GENIVI Alliance +# +# This file is part of Pulse Audio Interface Routing Plugin. +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License (MPL), v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# For further information see http://www.genivi.org/. +# +# List of changes: +# +# 21.08.2014, Adrian Scarlat, First version of the code; +# Porting code from AM ver1.x to AM ver3.0; +# Added Copyright and License information; +############################################################################ +# +# config line format: +# +# TYPE|PULSE TYPE|CLASS|NAME|PROPERTY_NAME|PROPERTY_VALUE +# +# TYPE="Source" or "Sink" +# +# PULSE_TYPE="Sink Input" or "Source" for TYPE="Source" +# PULSE_TYPE="Source Output" or "Sink" for TYPE="Sink" +# +# NAME=Any string not containing separator | +# +# CLASS=Any string not containing separator | - name should be consistent with Controller config +# +# PROPERTY_NAME=a Pulse recognized element property, e.g. "application.process.binary" or "device.class" +# for PULSE_TYPE=Source or PULSE_TYPE=Sink, take a look ad device string +# PROPERTY_VALUE=any string corresponding to the property value +# +# TODO: provide support for multiple attributes filtering +# TODO: comment at eof is mandatory! this looks like a bug for the moment +#################### +# Sources +#################### +Source|Sink Input|Entertainment|MediaPlayer|media.role|MEDIA +Source|Sink Input|Navigation|NaviPlayer|media.role|NAVI +Source|Sink Input|TTS|TTSPlayer|media.role|TextToSpeach +Source|Sink Input|Telephony|Skype|media.role|skype +Source|Sink Input|Analogic|ReverseBeep|media.role|reverse +#################### +# Sinks +#################### +Sink|Sink|HifiAudio|AlsaPrimary|na|na +Sink|Sink|HifiAudio|AlsaSecondary|na|na +# !END + |