All of lore.kernel.org
 help / color / mirror / Atom feed
* Any issues with GETOSPACE OSS ioctl?
@ 2008-11-05 15:41 Timur Tabi
  2008-11-06 12:31 ` Clemens Ladisch
  0 siblings, 1 reply; 2+ messages in thread
From: Timur Tabi @ 2008-11-05 15:41 UTC (permalink / raw)
  To: ALSA development

I have a customer who reports that when his OSS application makes several
write() followed by SNDCTL_DSP_GETOSPACE, the returned value is not decreasing,
which implies that the write() commands are not going through.

I've looked at the OSS documentation for this ioctl
(http://manuals.opensound.com/developer/SNDCTL_DSP_GETOSPACE.html), and it
implies that it is not reliable.  But since the customer is using ALSA (i.e.
ALSA's OSS emulation), I don't know if that applies.

So I'd like to know how the 'bytes' return value is calculate in ALSA.

-- 
Timur Tabi
Linux kernel developer at Freescale

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

end of thread, other threads:[~2008-11-06 12:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-05 15:41 Any issues with GETOSPACE OSS ioctl? Timur Tabi
2008-11-06 12:31 ` Clemens Ladisch

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.