Indicate an ordered relationship between two mixer elements
#include <audio_driver.h> int32_t ado_mixer_element_route_add ( ado_mixer_t *mixer, ado_mixer_delement_t *elem_before, ado_mixer_delement_t *elem );
This function establishes an ordered relationship between two elements of the given mixer. The output from elem_before becomes the input to elem. When you use it repeatedly, this function builds route tables showing the relationships between all mixer elements.
-1 if an error occurred (errno is set). Any other value indicates success.
QNX Neutrino
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | No |
Thread | No |