Sound Manager
soundmanager.c File Reference
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <stdint.h>
#include <unistd.h>
#include <json-c/json.h>
#include <pthread.h>
#include <afb/afb-binding.h>
#include "sm-helper.h"
#include "dbus/audio_manager_interface.h"

Go to the source code of this file.

Data Structures

struct  event
 

Macros

#define _GNU_SOURCE
 
#define AM_NAME   "org.genivi.audiomanager"
 
#define AM_CMD_PATH   "/org/genivi/audiomanager/commandinterface"
 
#define AM_ROUTE_PATH   "/org/genivi/audiomanager/routinginterface"
 
#define SOUND_MANAGER_NAME   "org.soundmanager.genivi.routingsend"
 
#define SOUND_MANAGER_PATH   "org/soundmanager/genivi/routingsend"
 
#define COMMAND_EVENT_NUM   10
 
#define ROUTING_EVENT_NUM   10
 
#define MAX_LEN_STR   100
 

Functions

const struct afb_binding * afbBindingV1Register (const struct afb_binding_interface *itf)
 
int afbBindingV1ServiceInit (struct afb_service service)
 

Macro Definition Documentation

◆ _GNU_SOURCE

#define _GNU_SOURCE

Definition at line 17 of file soundmanager.c.

◆ AM_CMD_PATH

#define AM_CMD_PATH   "/org/genivi/audiomanager/commandinterface"

Definition at line 32 of file soundmanager.c.

◆ AM_NAME

#define AM_NAME   "org.genivi.audiomanager"

Definition at line 31 of file soundmanager.c.

◆ AM_ROUTE_PATH

#define AM_ROUTE_PATH   "/org/genivi/audiomanager/routinginterface"

Definition at line 33 of file soundmanager.c.

◆ COMMAND_EVENT_NUM

#define COMMAND_EVENT_NUM   10

Definition at line 37 of file soundmanager.c.

◆ MAX_LEN_STR

#define MAX_LEN_STR   100

Definition at line 39 of file soundmanager.c.

◆ ROUTING_EVENT_NUM

#define ROUTING_EVENT_NUM   10

Definition at line 38 of file soundmanager.c.

◆ SOUND_MANAGER_NAME

#define SOUND_MANAGER_NAME   "org.soundmanager.genivi.routingsend"

Definition at line 34 of file soundmanager.c.

◆ SOUND_MANAGER_PATH

#define SOUND_MANAGER_PATH   "org/soundmanager/genivi/routingsend"

Definition at line 35 of file soundmanager.c.

Function Documentation

◆ afbBindingV1Register()

const struct afb_binding* afbBindingV1Register ( const struct afb_binding_interface *  itf)

Definition at line 1137 of file soundmanager.c.

◆ afbBindingV1ServiceInit()

int afbBindingV1ServiceInit ( struct afb_service  service)

Definition at line 1145 of file soundmanager.c.