static void bcm2835_audio_reset_channel(struct bcm2835_audio_chinfo *ch) { ch->available_space = VCHIQ_AUDIO_BUFFER_SIZE; ch->unsubmittedptr = 0; sndbuf_reset(ch->buffer); }
static void bcm2835_audio_reset_channel(struct bcm2835_audio_chinfo *ch) { ch->free_buffer = VCHIQ_AUDIO_BUFFER_SIZE; ch->playback_state = 0; ch->buffered_ptr = 0; ch->complete_pos = 0; sndbuf_reset(ch->buffer); }