2
static void audio_dma_callback(void *data, int size)
4
static void audio_dma_callback(void *data)
7
audio_stream_t *s = data;
10
* If we are getting a callback for an active stream then we inform
11
* the PCM middle layer we've finished a period
14
snd_pcm_period_elapsed(s->stream);
16
spin_lock(&s->dma_lock);
17
if (!s->tx_spin && s->periods > 0)
20
spin_unlock(&s->dma_lock);