From ba709ee7d4f9f81af638a3d3c640b7152bbe32bc Mon Sep 17 00:00:00 2001 From: Adrian Scarlat Date: Fri, 22 May 2015 14:16:45 +0000 Subject: 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 --- PluginRoutingInterfacePulse/README | 50 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 PluginRoutingInterfacePulse/README (limited to 'PluginRoutingInterfacePulse/README') diff --git a/PluginRoutingInterfacePulse/README b/PluginRoutingInterfacePulse/README new file mode 100644 index 0000000..8238b94 --- /dev/null +++ b/PluginRoutingInterfacePulse/README @@ -0,0 +1,50 @@ +GENIVI_AudioManager_PluginRoutingInterfacePulse +=============================================== +:Author: Adrian Scarlat +:doctitle: GENIVI_AudioManager_PluginRoutingInterfacePulse + +SPDX license identifier: MPL-2.0 + +Copyright (C) 2011-2014, Wind River Systems +Copyright (C) 2014, GENIVI Alliance + +This file is part of AudioManager 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/. + +== Documentation +Documentation is provided by doxygen. In order to use this, please compile the +AudioManager like this: +cmake -DWITH_DOCUMENTATION=ON +make + +== Description of Pulse Routing Plugin +The PluginRoutingInterfacePulse is used by the AM PoC application to communicate +with PulseAudio present on the system on which the AM PoC application will be +deployed. + +== Build intstructions +Execute the following command from audiomanager/ folder: +mkdir BUILD +cd BUILD +cmake -DWITH_ENABLED_IPC=DBUS -DWITH_PULSE_ROUTING_PLUGIN=ON .. +make [ add to make command "-j 4" if you have a 4 CPU. + +If all goes well a bin/ folder will be made. +Change to it by executing cd ../bin/ + +In order to use the AudioManager with the PluginRoutingInterfacePulse, the +AudioManager must be compiled with PluginRoutingInterfacePulse and with +PluginControlInterfacePulse.For achieving this please consult the README +from the PluginControlInterfacePulse Project also. + +== Available files after building +libPluginRoutingInterfacePULSE.conf -- This is Pulse Routing Interface +configuration files.It is used for configuring Sources and Sinks on the system. +The contend on this file must be in sync with libPluginControlInterface.conf +file from the PluginControlInterfacePulse Projec.Also some PulseAudio knowledge +is advisable. -- cgit v1.2.1