[alsa-devel] snd_pcm_hardware structure

Adish Kuvelker adkuvi at gmail.com
Wed Jun 23 23:59:40 CEST 2010


Thanks a lot James

Regards;
Aadish

On Thu, Jun 24, 2010 at 2:43 AM, James Courtier-Dutton
<james.dutton at gmail.com> wrote:
> 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