[alsa-devel] regarding setting of fragment size in usbaudio driver

Clemens Ladisch clemens at ladisch.de
Tue Dec 14 17:23:33 CET 2010

Amit Nagal wrote:
> > If you want to have shorter waits, use lower fragment sizes.
> yes ,  setting of lower fragment size is my requirement at the moment
> in OSS application .
> i tried to use SNDCTL_DSP_SETFRAGMENT ioctl to set lower fragment size .

In theory, this should work.

> but audio driver uses default fragment size only and not the fragment
> size desired by application .

Does it return an error?  If yes, try moving this call before some
other parameter setting ioctls.


More information about the Alsa-devel mailing list