[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: /dev/sound always records 4 bytes per sample? (3.5 auich ac97)



On Wed, Feb 23, 2005 at 01:13:22PM -0500, Jeff Chilton wrote:
> Hi all,
> 
> Either I'm missing something obvious or /dev/sound doesn't work as 
> advertised...

it works right for me.  even 'dd if=/dev/audio ...' produces 16002
bytes/sec.

> record.rate=8000
> record.channels=2
> record.precision=16
> record.encoding=ulinear_le

what about record.source ?

> Does everyone always record stereo linear:16?

seems most software does by default.

> dmesg output:
> 
> OpenBSD 3.5 (GENERIC) #34: Mon Mar 29 12:24:55 MST 2004
> 
> auich0 at pci0 dev 2 function 7 "SIS 7012 AC97 Audio" rev 0xa0: irq 11, 
> SiS7012 AC97
> ac97: codec id 0x414c4720 (Avance Logic ALC650)
> ac97: codec features 20 bit DAC, 18 bit ADC, Realtek 3D
> audio0 at auich0
> auich0: measured ac97 link rate at 48005 Hz, will use 48000 Hz
> 

where's the rest?  reproducable with newer code?

-- 
<jakemsr_(_at_)_jakemsr_(_dot_)_com>



Visit your host, monkey.org