[alsa-devel] snd_pcm_hardware structure
James Courtier-Dutton
james.dutton at gmail.com
Wed Jun 23 23:13:35 CEST 2010
On 23 June 2010 21:26, Adish Kuvelker <adkuvi at gmail.com> wrote:
> yes...I know that my hardware will generate the interrupt and it will
> be at FIFO being half empty.
>
In that case the full buffer is 64, but you have the following parameters:
.period_bytes_min = 4,
.period_bytes_max = 32,
.periods_min = 2,
.periods_max = 2
A period is how far through the buffer one goes until an interrupt happens.
So, if the interrupt happens one each half FIFO, one has two periods per buffer.
Kind Regards
James
More information about the Alsa-devel
mailing list