Re: snd_pcm_hardware structure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 23 June 2010 21:26, Adish Kuvelker <adkuvi@xxxxxxxxx> 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
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel


[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux