Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jun 2003 00:57:10 -0400
From:      Carl McTague <mctague@santafe.edu>
To:        freebsd-newbies@freebsd.org, freebsd-multimedia@freebsd.org
Subject:   choppy dsp (mono/stereo problem?)
Message-ID:  <20030616045710.GA6358@xi.storrs.net>

next in thread | raw e-mail | index | archive | help
Hi, I'm trying to use ohphone, but am having a low-level problem with
sound-in; it sounds choppy; it sounds as though a mono signal encoded
in stereo with a silent channel is being misinterpreted as a single
mono stream.  For example, if the sound was abcd it plays back
a0b0c0d0 (where 0 is silence).  I can reproduce the same choppyness by
running:

  wavrec test.wav

(installed from the ports).  But in this case, I can fix it by doing

  wavrec -S test.wav

where -S "set[s] stereo mode."  I get the same thing within xwave by
changing between mono and stereo record modes.

Furthermore, I if I do

  cat /dev/audio > test.raw
  cat test.raw > /dev/audio

I get a similar (but somewhat more severe) choppiness.

Any ideas?  I'm using 4.7-RELEASE and

  (carl@xi:~) cat /dev/sndstat
  FreeBSD Audio Driver (newpcm)
  Installed devices:
  pcm0: <Intel 82801CA (ICH3)> at io 0xd800, 0xdc80 irq 11 bufsz 16384 (1p/2r/0v channels duplex)

Thanks.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030616045710.GA6358>