14 Dec
2010
14 Dec
'10
4:23 p.m.
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.
Regards, Clemens