All of lore.kernel.org
 help / color / mirror / Atom feed
From: Clemens Ladisch <clemens@ladisch.de>
To: Timur Tabi <timur@freescale.com>
Cc: ALSA development <alsa-devel@alsa-project.org>
Subject: Re: Any issues with GETOSPACE OSS ioctl?
Date: Thu, 06 Nov 2008 13:31:44 +0100	[thread overview]
Message-ID: <4912E3B0.4030405@ladisch.de> (raw)
In-Reply-To: <4911BE9C.8010607@freescale.com>

Timur Tabi wrote:
> 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.

When write() doesn't return an error, it succeeded.

The GETOSPACE return value does not decrease as long as the written data
has not yet filled an entire fragment.  (This behaviour can be changed
with the partial-frag option; see
linux/Documentation/sound/alsa/OSS-Emulation.txt).


HTH
Clemens

      reply	other threads:[~2008-11-06 12:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-05 15:41 Any issues with GETOSPACE OSS ioctl? Timur Tabi
2008-11-06 12:31 ` Clemens Ladisch [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4912E3B0.4030405@ladisch.de \
    --to=clemens@ladisch.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=timur@freescale.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.