Searched refs:buffer_states (Results 1 – 1 of 1) sorted by relevance
43 static int buffer_states[BUFFER_COUNT]; variable65 buffer_states[index] = BUFFER_BUSY; in get_empty()66 if (buffer_states[other] == BUFFER_EMPTY) in get_empty()79 buffer_states[index] = BUFFER_EMPTY; in put_empty()99 buffer_states[index] = BUFFER_BUSY; in get_full()100 if (buffer_states[other] == BUFFER_FULL) in get_full()113 buffer_states[index] = BUFFER_FULL; in put_full()199 buffer_states[i] = BUFFER_EMPTY; in init_audio()