mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ryan Murray <rmurray@cyberhqz.com>
To: linux-kernel@vger.kernel.org
Cc: ricdude@toad.net, "John M. Flinchbaugh" <glynis@butterfly.hjsoft.com>
Subject: Re: esound over tcp problem with linux-2.4.0-test[89]
Date: Fri, 8 Dec 2000 23:37:30 -0800	[thread overview]
Message-ID: <20001208233730.D2002@cyberhqz.com> (raw)
In-Reply-To: <20001004120532.A32577@butterfly.hjsoft.com>
In-Reply-To: <20001004120532.A32577@butterfly.hjsoft.com>; from glynis@butterfly.hjsoft.com on Wed, Oct 04, 2000 at 12:05:32PM -0400

On Wed, Oct 04, 2000 at 12:05:32PM -0400, John M. Flinchbaugh wrote:
> basically, when i added ram to my linux-2.4.0-test8 box taking it from
> 96M to 192M of ram. esd over tcpip started popping, hesitating,
> distorting.  if i limit the memory at kernel boot to 127M (and no

The popping and distorting are bugs of esound, which are fixed in the
0.2.22-1 Debian package.

The hesitating, however, seems like it may be a kernel problem:

esound on 2.2.x with localhost tcp sockets, or 2.4.x with unix domain
sockets return 4096 bytes per read of a sound stream (such as that
from an mp3 player).

esound on 2.4.x with localhost tcp sockets sometimes returns 4096 bytes,
sometimes less, and sometimes stops sending data for a second or two, causing
esd to "pause" and go to sleep, and stopping all audio output.  Forcing esound
to not read any more data (with a horrible sleep(1) in the code) causes enough
data to queue up on the socket that the hesitation vanishes.  If the stream
stops and starts again (ie: switches songs in your mp3 player), the hesitation
often comes back until esound sleeps for a second again.

So my question is whether there may be a problem in localhost TCP sockets
with streams of data like this?

-- 
Ryan Murray, (rmurray@cyberhqz.com, rmurray@debian.org, rmurray@stormix.com)
Projects Manager, Stormix Technologies Inc., Debian Developer
The opinions expressed here are my own.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

           reply	other threads:[~2000-12-09  8:08 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20001004120532.A32577@butterfly.hjsoft.com>]

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=20001208233730.D2002@cyberhqz.com \
    --to=rmurray@cyberhqz.com \
    --cc=glynis@butterfly.hjsoft.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ricdude@toad.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®