[alsa-devel] snd_usb_hardware definition
Amit Nagal
helloin.amit at gmail.com
Wed Apr 25 11:04:16 CEST 2012
Hi ,
In H/W Descriptor snd_usb_hardware (sound/usb/pcm.c) , the following
values are used :
static struct snd_pcm_hardware snd_usb_hardware =
{
....
.buffer_bytes_max = 1024 * 1024,
.period_bytes_min = 64,
.period_bytes_max = 512 * 1024,
.periods_min = 2,
.periods_max = 1024,
};
can i be guided what criterion is used to set the values of above
fields ( periods_min, periods_max , period_bytes_min ,
period_bytes_max , buffer_bytes_max)
as defined above for a snd usb h/w .
Regards
Amit Nagal
More information about the Alsa-devel
mailing list