Linux HAM/Amateur Radio development
 help / color / mirror / Atom feed
From: Dave Platt <dplatt@radagast.org>
To: braddock@braddock.com
Cc: Linux-Hams@vger.kernel.org
Subject: Re: user soundmodem problems on Inspiron 8200 i810 chipset...
Date: Wed, 10 Mar 2004 11:58:20 -0800 (PST)	[thread overview]
Message-ID: <20040310195820.19217.qmail@radagast.org> (raw)
In-Reply-To: <20040310193645.GA3882@braddock.com>

> 
> The only strange thing about that theory (which I tend to agree
> probably is what's going on) is that if I do a 9600 samp/sec capture
> with SOX using the OSS interface, and look at the capture in Octave, I
> don't see the anomaly.  In fact, I can then take the 9600 samp/sec SOX
> capture of APRS input and use it with an unmodified version of
> soundmodem in "file" mode and get perfect copy.

My hunch is that the resampling problem may be triggered by the
way in which the soundmodem code specifies the number of DMA memory
buffers it wishes to use.  I've occasionally noticed problems in
applications (e.g. twpsk) which specify either very large, or
very small numbers of DMA buffer fragments, or very large or very
small fragment sizes.  OSS seems to try harder to guard against
ridiculously large or small fragment sizes or counts, while ALSA
seems to try harder to "do what the user says s/he wants".

It's possible that the fragment sizes or counts being
requested by the soundmodem code are resulting in the driver
running out of buffer space, or otherwise hitting a boundary
condition in its resampling code.

SOX probably doesn't try to specify DMA fragment sizes or
counts, allowing the driver defaults to apply, and these defaults
don't trigger the bug/limitation in the resampling code.


  reply	other threads:[~2004-03-10 19:58 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-09  2:23 user soundmodem problems on Inspiron 8200 i810 chipset braddock
2004-03-09 19:50 ` Patrick Ouellette
2004-03-09 21:11   ` Compile warnings on hfterm with Mandrake ravioli
2004-03-11  9:47     ` Günther Montag
2004-03-09 21:35   ` user soundmodem problems on Inspiron 8200 i810 chipset braddock
2004-03-09 22:52     ` braddock
2004-03-10 17:44     ` Thomas Sailer
2004-03-10 19:15       ` Dave Platt
2004-03-10 19:26         ` Thomas Sailer
2004-03-10 19:36       ` Braddock Gaskill KD5ZVK
2004-03-10 19:58         ` Dave Platt [this message]
2004-03-10 21:56         ` Dave Platt
2004-03-10 23:41           ` braddock
2004-03-11  9:30             ` Tomi Manninen

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=20040310195820.19217.qmail@radagast.org \
    --to=dplatt@radagast.org \
    --cc=Linux-Hams@vger.kernel.org \
    --cc=braddock@braddock.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox