AudioClient Class Reference
Interacts with Audio service.
#include <audioClient.h>
Inheritance diagram for AudioClient:
Public Member Functions | |
AudioClient (std::string &ip, int dport, int sport) | |
void | asyncGetPortList (dpyAudio::port_list_handler_function handler) |
void | asyncGetConnectionList (dpyAudio::connection_list_handler_function handler) |
void | asyncCreatePort (const dpyAudio::Port &port, dpyAudio::port_handler_function handler) |
void | asyncRemovePort (const dpyAudio::Port &port, dpyAudio::port_handler_function handler) |
void | asyncCreateConnection (const dpyAudio::Connection &connection, dpyAudio::connection_handler_function handler) |
void | asyncRemoveConnection (const dpyAudio::Connection &connection, dpyAudio::connection_handler_function handler) |
void | asyncPlay (const dpyAudio::Port &port, std::string audioFilePath, std::list< dpyAudio::AudioConfig > configurations, dpyAudio::audio_task_handler_function handler) |
void | asyncRecord (const dpyAudio::Port &port, std::string outputAudioFile, std::list< dpyAudio::AudioConfig > configurations, dpyAudio::audio_task_handler_function handler) |
void | asyncStop (const int taskId, dpyAudio::stop_task_handler handler) |
void | getTaskStatus (int taskId, dpyAudio::audio_task_status_handler_function handler) |
void | asyncGetAllTaskInfo (dpyAudio::all_audio_task_info_handler_function handler) |
void | portEvents_S (dpyAudio::port_event_handler_function handler) |
void | portEvents_U () |
void | connectionListEvents_S (dpyAudio::connection_list_event_handler_function handler) |
void | connectionStatusEvents_S (dpyAudio::connection_status_event_handler_function handler) |
void | connectionListEvents_U () |
void | connectionStatusEvents_U () |
void | taskEvents_S (dpyAudio::task_event_handler_function handler) |
void | taskEvents_U () |
void | portGpioEvents_S (dpyAudio::port_gpio_event_handler_function handler) |
void | portGpioEvents_U () |
void | asyncGetConfiguration (dpyAudio::audio_configuration_handler_function handler) |
void | asyncSetConfiguration (dpyAudio::AudioConfig configuration, dpyAudio::audio_set_configuration_handler_function handler) |
void | asyncSetVolume (const dpyAudio::Connection &connection, int volume, dpyAudio::set_connection_volume_handler_function handler) |
void | asyncSetGain (const dpyAudio::Connection &connection, int gain, dpyAudio::set_connection_gain_handler_function handler) |
void | asyncSetPortGpio (const dpyAudio::PortGpio &port_gpio, dpyAudio::result_handler_function handler) |
void | asyncUnsetPortGpio (const dpyAudio::Port &port, dpyAudio::result_handler_function handler) |
void | asyncGetPortGpio (dpyAudio::get_port_gpio_handler_function handler) |
Public Member Functions inherited from DpyMwClient | |
DpyMwClient (std::string &ip, int dport, int sport) | |
void | start () |
void | stop () |
void | subscribe (int messageType, boost::any handler) |
void | unsubscribe (int messageType) |
bool | isAlive () |
void | monitorServiceAvailability_S (const f_hearbeat_handler &handler) |
void | monitorServiceAvailability_U () |
Additional Inherited Members | |
Protected Member Functions inherited from DpyMwClient | |
void | sendRequest (int requestType, int responseType, std::string content, boost::any handler, int ms_timeout=2000) |
Protected Attributes inherited from DpyMwClient | |
map_proto_register_client | m_register_map |
std::mutex | m_map_mutex |