1 #ifndef foodirectionhfoo 2 #define foodirectionhfoo
int pa_direction_valid(pa_direction_t direction) PA_GCC_CONST
Return non-zero if the given value is a valid direction (either input, output or bidirectional).
enum pa_direction pa_direction_t
Direction bitfield - while we currently do not expose anything bidirectional, one should test against...
#define PA_GCC_CONST
This function's return value depends only the arguments list (stricter version of PA_GCC_PURE) ...
Definition: gccmacro.h:82
const char * pa_direction_to_string(pa_direction_t direction)
Return a textual representation of the direction.