25 Apr
2012
25 Apr
'12
12:04 p.m.
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