From: Roel Kluin <roel.kluin@gmail.com>
To: tiwai@suse.de
Cc: alsa-devel@alsa-project.org
Subject: pcm_oss: Can period_bytes - buffer_used be less than 0?
Date: Wed, 04 Mar 2009 16:32:23 +0100 [thread overview]
Message-ID: <49AE9F07.1000904@gmail.com> (raw)
vi sound/core/oss/pcm_oss.c +1572 (in linus' git tree) and note:
static int snd_pcm_oss_sync(struct snd_pcm_oss_file *pcm_oss_file)
{
...
size_t size;
... :1608
size = runtime->oss.period_bytes - runtime->oss.period_ptr;
can this period_bytes - buffer_used become less than 0?
Roel
next reply other threads:[~2009-03-04 15:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-04 15:32 Roel Kluin [this message]
2009-03-05 7:57 ` pcm_oss: Can period_bytes - buffer_used be less than 0? Takashi Iwai
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=49AE9F07.1000904@gmail.com \
--to=roel.kluin@gmail.com \
--cc=alsa-devel@alsa-project.org \
--cc=tiwai@suse.de \
/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.