cap_state
int pb_state, cap_state;
cap_state = data->state[1];
if (cap_state > GBAUDIO_CODEC_SHUTDOWN)
struct cap_state caps = {};
static int drop_capabilities(struct cap_state *caps)
static int restore_capabilities(struct cap_state *caps)