#ifndef SINK_INPUT_H #define SINK_INPUT_H #include // TODO: change this with the given define from pulselib #define VOLUME_MAX UINT16_MAX typedef struct _sink_input_info { uint32_t index; uint32_t sink; char *name; char *pid; // maybe useless?!!? pa_volume_t vol; // TOTO: exchange with the channel-list } sink_input_info; sink_input_info* sink_input_init(); void sink_input_clear(sink_input_info*); void sink_input_list_init(sink_input_info**, int); void sink_input_list_clear(sink_input_info**, int*); int cmp_sink_input_list(const void *, const void *); #endif