On Mon, Feb 23, 2009 at 09:01:45PM -0800, J.C. Roberts wrote:
> On Mon, 23 Feb 2009 17:05:52 +0000 Jacob Meuser
> <[email protected]> wrote:
> 
> > > I still think the issue has something to do with the new resampling
> > > (rate change) code that allows aucat in server mode (-l) to handle
> > > anything you toss at it. If I'm reading the debug output correctly,
> > > the old 4.4-stable aucat resampled from 16000Hz up to 44100Hz, but
> > > the 4.5-current aucat is not resampling the input at all during
> > > recording?
> > 
> > it's obviously the driver.  test the device on 44 and again on 45
> > *without using aucat at all* using audioctl/cat /dev/sound1.
> 
> My shellfu with audio devices leaves a lot to be desired, and my mind
> reading skills are even worse. :-) 
> 
> Could you give me the exact commands you want to see run?

# configure mic on uvideo
$ audioctl -f /dev/audioctl1 record.channels=1
$ audioctl -f /dev/audioctl1 record.encoding=slinear_le
$ audioctl -f /dev/audioctl1 record.precision=16
$ audioctl -f /dev/audioctl1 record.rate=16000
# record from mic
$ cat > file < /dev/sound1
<speak into mic>
^C
# configure onboard sound card
$ audioctl -f /dev/audioctl0 play.channels=1
$ audioctl -f /dev/audioctl0 play.encoding=slinear_le
$ audioctl -f /dev/audioctl0 play.precision=16
$ audioctl -f /dev/audioctl0 play.rate=16000
# play recording from mic on soundcard
$ cat file > /dev/sound0

-- 
[email protected]
SDF Public Access UNIX System - http://sdf.lonestar.org

Reply via email to