All of lore.kernel.org
 help / color / mirror / Atom feed
* regarding setting of fragment size in usbaudio driver
@ 2010-12-11  9:16 Amit Nagal
  2010-12-13  9:04 ` Clemens Ladisch
  0 siblings, 1 reply; 7+ messages in thread
From: Amit Nagal @ 2010-12-11  9:16 UTC (permalink / raw)
  To: alsa-user, alsa-devel; +Cc: Takashi Iwai, Clemens Ladisch, helloin.amit

Hi ,

i am using a OSS based usbaudio application for usb audio streaming .

my usb audio device is capture only device .

i want to set the fragment size of usbaudio alsa driver to reduce
latency problem coming in my application .

currently even if my application reads 4k data from userspace , i
observed driver will buffer for 100 ms data ( period size data )= 16 k
at 44100 frquency

and after driver  reads 16k data , read call will return with 4k data
.  so read() call remains blocked for 100ms which is causing some
latency problem .

i used SNDCTL_DSP_SETFRAGMENT  ioctl , but still driver behaviour to
buffer 100ms data remained same .

how driver's  fragment size in driver can be set to some less value in
OSS based application .

Can some patch  be implemented in kernel space to do that .?


Thanx & Regards
Amit Nagal

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-12-14 16:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-11  9:16 regarding setting of fragment size in usbaudio driver Amit Nagal
2010-12-13  9:04 ` Clemens Ladisch
2010-12-13  9:56   ` Amit Nagal
2010-12-13 13:38     ` Clemens Ladisch
2010-12-13 14:11       ` Amit Nagal
2010-12-14 16:23         ` Clemens Ladisch
     [not found]   ` <27661_1292234220_1292234220_AANLkTi=S732=Wj572Th860PpBYE0fkJ97JH2CwitZ4ah@mail.gmail.com>
2010-12-13 10:05     ` [Alsa-user] " Bill Unruh

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.