audioApi.h File Reference
#include <boost/function.hpp>
#include <boost/system/error_code.hpp>
#include <boost/shared_ptr.hpp>
#include <vector>
#include <list>
#include "iAudioTask.h"
#include "audioConfig.h"
Include dependency graph for audioApi.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Classes | |
class | ServiceAvailabilityObserver |
Service Availability observer class. More... | |
class | Audio |
Allows to interact with a Audio service. More... | |
Namespaces | |
dpyAudio | |
Deepsy Audio namespace that includes the different enums, structs or method signatures that should be used. | |
Typedefs | |
typedef boost::function< void(boost::system::error_code &, std::list< dpyAudio::Port > portList)> | port_list_handler_function |
Handler for get port list method. More... | |
typedef boost::function< void(boost::system::error_code &, std::list< dpyAudio::AudioConfig > configurations)> | audio_configuration_handler_function |
Prototype of the handler function for getting the audio configuration. More... | |
typedef boost::function< void(boost::system::error_code &, std::list< dpyAudio::Connection > ConnectionList)> | connection_list_handler_function |
Handler for get connection list method. More... | |
typedef boost::function< void(boost::system::error_code &, dpyAudio::Port &port)> | port_handler_function |
Handler for create/remove port. More... | |
typedef boost::function< void(boost::system::error_code &, dpyAudio::Connection connection)> | connection_handler_function |
Handler for create/remove connection method. More... | |
typedef boost::function< void(const boost::system::error_code &)> | result_handler_function |
Handler for a method which needs a result. More... | |
typedef boost::function< void(boost::system::error_code error_code, ConnectionListEventType type, Connection con)> | connection_list_event_handler_function |
Handler for connection list event function callback This type of function is called when an event happens. More... | |
typedef boost::function< void(boost::system::error_code error_code, ConnectionStatusEventType type, Connection con)> | connection_status_event_handler_function |
Handler for connection status event function callback This type of function is called when an event happens. More... | |
typedef boost::function< void(boost::system::error_code error_code, PortEventType type, dpyAudio::Port port)> | port_event_handler_function |
Handler for port event callback This type of function is called when an event happens. More... | |
typedef boost::function< void(boost::system::error_code error_code, int taskId, dpyAudio::TaskType type, dpyAudio::AudioTaskStatus status)> | task_event_handler_function |
Handler for audio track event callback This type of function is called when an event happens. More... | |
typedef boost::function< void(boost::system::error_code error_code, PortGpioEventType type, dpyAudio::PortGpio port_gpio)> | port_gpio_event_handler_function |
Handler for PortGpio event callback This type of function is called when an event happens. More... | |
typedef boost::function< void(boost::system::error_code, int ID)> | audio_task_handler_function |
Prototype of the handler function for playing or recording audio. More... | |
typedef boost::function< void(boost::system::error_code, int ID)> | stop_task_handler |
Prototype of the handler function for stopping an audio recording. More... | |
typedef boost::function< void(boost::system::error_code ec, int taskId, dpyAudio::TaskType taskType, dpyAudio::AudioTaskStatus taskStatus)> | audio_task_status_handler_function |
Prototype of the handler function for getting the status of the task. More... | |
typedef boost::function< void(boost::system::error_code ec, std::list< std::pair< int, dpyAudio::AudioTaskInformation >> taskinfolist)> | all_audio_task_info_handler_function |
Prototype of the handler function for getting the status of all tasks. More... | |
typedef boost::function< void(boost::system::error_code &)> | audio_set_configuration_handler_function |
Prototype of the handler function for getting the audio configuration. More... | |
typedef boost::function< void(boost::system::error_code &, dpyAudio::Connection connection, unsigned int volume)> | set_connection_volume_handler_function |
Handler for set connection volume method. More... | |
typedef boost::function< void(boost::system::error_code &, dpyAudio::Connection connection, unsigned int gain)> | set_connection_gain_handler_function |
Handler for set connection gain method. More... | |
typedef boost::function< void(boost::system::error_code &ec, std::list< dpyAudio::PortGpio > portgpiolist)> | get_port_gpio_handler_function |
Prototype of the handler function for getting all gpios assigned to ports. More... | |