![]() |
ERIS CORE
|
#include "AudioDirector.h"
Public Member Functions | |
AudioDirector () | |
AudioDirector (const AudioDirector &)=delete | |
bool | addAudioStreamObj (AudioStream *obj) |
bool | connect (AudioStream *source, int sourceOutput, AudioStream *destination, int destinationInput) |
bool | connect (const char *connectionString) |
bool | connect (const char *from, uint8_t from_port, const char *to, uint8_t to_port) |
int16_t | connectionCount () |
bool | disconnect (AudioStream *destination, int destinationInput) |
bool | disconnect (const char *connectionString) |
bool | disconnect (const char *to, uint8_t to_port) |
bool | disconnectAll () |
const int16_t * | getArbWaveForm (uint16_t i) |
AudioStream * | getAudioStreamObjByName (const char *AudioStreamObjName) |
bool | getAudioStreamString (uint16_t streamIndex, char *streamStringBuffer) |
bool | getConnectionString (uint16_t connectionIndex, char *connectionStringBuffer) |
uint16_t | getFunctionCount () |
char * | getFunctionListItem (uint16_t i) |
uint16_t | getTypeCountByFunction (const char *function) |
uint16_t | getTypeInstanceCount (const char *type) |
char * | getTypeListItem (const char *function, uint16_t i) |
returns the requested index of the type list if the requested index is out of bounds the string "NULL" is returned More... | |
bool | initAudioHardware () |
void | printStats () |
void | setAPC (SvcErisAudioParameterController *audioParameterController) |
void | setSCI (SvcSerialCommandInterface *serialCommandInterface) |
Protected Member Functions | |
void | generateFunctionList () |
get the list of function types in the obj pool More... | |
void | linkGroup () |
void | ParseConnectString (const char *connectionString, ParsedConnection *p) |
uint16_t | queryTypesByFunction (const char *function) |
query the obj pool for the list of audio blocks belonging to the given function type More... | |
void | unlinkAll () |
Protected Attributes | |
uint16_t | active_connections |
erisAudioInputI2S | audiostream_input_port |
erisAudioOutputI2S | audiostream_output_port |
uint16_t | category_count |
char **volatile | functionsList [MAX_AUDIO_FUNCTION_CATEGORIES] |
uint16_t | obj_count |
AudioStream * | p_audiostream_obj_pool [MAX_AUDIO_STREAM_OBJECTS] |
AudioConnection * | p_cord [MAX_CONNECTIONS] |
void * | p_heap_end |
void * | p_heap_start |
SvcErisAudioParameterController * | parameter_controller |
uint16_t | printstats_block |
uint8_t | printstats_select |
char **volatile | query_result [MAX_AUDIO_TYPES_BY_FUNCTION_QUERY_RESULT] |
uint16_t | query_result_count |
SvcSerialCommandInterface * | sci |
Definition at line 34 of file AudioDirector.h.