This is yesterday's current. Trying to record a _mono_
sound with 'aucat -C 0:0 -o file.wav' seems to always
result in a _stereo_ file, whether I specify -u or not,
whether the aucat server is running or not
(see script and dmesg below).

I used file(1) to look at the resulting file,
but also play'd it with sox and ffplay - it is
indeed stereo, with one chanel silent (and one channel
containing what I wanted to record into a mono file).

Am I missing something obvious?

        Thanks for your time

                Jan


h...@hp:~$ pgrep aucat

h...@hp:~$ SIO_DEBUG=1 aucat -C 0:0 -o file.wav
sio_open_aucat: trying 0 -> 0.default
sio_open_aucat: connect: No such file or directory
sun_setpar: 0: trying pars = 48000/16/6
sun_setpar: bpf = (4, 1)
sun_setpar: 0: trying round = 600 -> (576, 9600)
sun_setpar: blocksize ok
sun_setpar: 0: trying pars = 44100/16/6
sun_setpar: bpf = (2, 1)
sun_setpar: 0: trying round = 2940 -> (2912, 9600)
sun_setpar: blocksize ok
^Clibsndio: polls: 141, written = 0, read: 815360

h...@hp:~$ file file.wav
file.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, stereo 
44100 Hz

h...@hp:~$ SIO_DEBUG=1 aucat -u -C 0:0 -o file.wav 
sio_open_aucat: trying 0 -> 0.default
sio_open_aucat: connect: No such file or directory
sun_setpar: 0: trying pars = 48000/16/6
sun_setpar: bpf = (4, 1)
sun_setpar: 0: trying round = 600 -> (576, 9600)
sun_setpar: blocksize ok
sun_setpar: 0: trying pars = 44100/16/6
sun_setpar: bpf = (2, 1)
sun_setpar: 0: trying round = 2940 -> (2912, 9600)
sun_setpar: blocksize ok
^Clibsndio: polls: 179, written = 0, read: 1036672

h...@hp:~$ file file.wav
file.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, stereo 
44100 Hz

h...@hp:~$ aucat -l
h...@hp:~$ pgrep aucat
25631

h...@hp:~$ SIO_DEBUG=1 aucat -C 0:0 -o file.wav 
sio_open_aucat: trying 0 -> 0.default
aucat_runmsg: attached
^Clibsndio: polls: 242, written = 0, read: 279552

h...@hp:~$ file file.wav
file.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, stereo 
44100 Hz

h...@hp:~$ SIO_DEBUG=1 aucat -u -C 0:0 -o file.wav 
sio_open_aucat: trying 0 -> 0.default
aucat_runmsg: attached
^Clibsndio: polls: 242, written = 0, read: 279552

h...@hp:~$ file.wav
file.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, stereo 
44100 Hz


OpenBSD 4.6-current (GENERIC.MP) #7: Wed Jan 13 16:08:06 CET 2010
    r...@hp.stare.cz:/usr/src/sys/arch/i386/compile/GENERIC.MP
RTC BIOS diagnostic error bb<clock_battery,config_unit,memory_size,fixed_disk>
cpu0: Intel(R) Core(TM)2 Duo CPU T9400 @ 2.53GHz ("GenuineIntel" 686-class) 
2.53 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,CX16,xTPR
real mem  = 2125561856 (2027MB)
avail mem = 2050805760 (1955MB)
User Kernel Config
UKC> disable acpi
476 acpi0 disabled
UKC> quit
Continuing...
RTC BIOS diagnostic error bb<clock_battery,config_unit,memory_size,fixed_disk>
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 11/10/08, SMBIOS rev. 2.4 @ 0x7edc4000 
(21 entries)
bios0: vendor Hewlett-Packard version "68PDV Ver. F.06" date 12/15/2008
bios0: Hewlett-Packard HP EliteBook 8530w
acpi at bios0 function 0x0 not configured
pcibios at bios0 function 0x1a not configured
bios0: ROM list: 0xc0000/0xe200 0xce800/0x1000 0xcf800/0x1000
cpu0 at mainbus0: (uniprocessor)
cpu0: unknown Enhanced SpeedStep CPU, msr 0x0617492506004925
cpu0: using only highest and lowest power states
cpu0: Enhanced SpeedStep 2528 MHz: speeds: 19467, 1600 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel GM45 Host" rev 0x07
ppb0 at pci0 dev 1 function 0 "Intel GM45 PCIE" rev 0x07: irq 10
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 vendor "NVIDIA", unknown product 0x065c rev 0xa1
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
"Intel GM45 HECI" rev 0x07 at pci0 dev 3 function 0 not configured
pciide0 at pci0 dev 3 function 2 "Intel GM45 PT IDER" rev 0x07: DMA 
(unsupported), channel 0 wired to native-PCI, channel 1 wired to native-PCI
pciide0: using irq 11 for native-PCI interrupt
pciide0: channel 0 ignored (not responding; disabled or no drives?)
pciide0: channel 1 ignored (not responding; disabled or no drives?)
"Intel GM45 AMT SOL" rev 0x07 at pci0 dev 3 function 3 not configured
em0 at pci0 dev 25 function 0 "Intel ICH9 IGP M AMT" rev 0x03: irq 10, address 
00:23:7d:e7:ac:60
uhci0 at pci0 dev 26 function 0 "Intel 82801I USB" rev 0x03: irq 10
uhci1 at pci0 dev 26 function 1 "Intel 82801I USB" rev 0x03: irq 10
uhci2 at pci0 dev 26 function 2 "Intel 82801I USB" rev 0x03: irq 11
ehci0 at pci0 dev 26 function 7 "Intel 82801I USB" rev 0x03: irq 10
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 "Intel 82801I HD Audio" rev 0x03: irq 10
azalia0: codecs: Analog Devices AD1984A, AT&T/Lucent/0x1040, using Analog 
Devices AD1984A
audio0 at azalia0
ppb1 at pci0 dev 28 function 0 "Intel 82801I PCIE" rev 0x03: irq 10
pci2 at ppb1 bus 2
ppb2 at pci0 dev 28 function 1 "Intel 82801I PCIE" rev 0x03: irq 10
pci3 at ppb2 bus 3
iwn0 at pci3 dev 0 function 0 "Intel WiFi Link 5300" rev 0x00: irq 10, MIMO 
3T3R, MoW, address 00:21:6a:0f:b2:8e
ppb3 at pci0 dev 28 function 2 "Intel 82801I PCIE" rev 0x03: irq 11
pci4 at ppb3 bus 4
ppb4 at pci0 dev 28 function 4 "Intel 82801I PCIE" rev 0x03: irq 10
pci5 at ppb4 bus 69
uhci3 at pci0 dev 29 function 0 "Intel 82801I USB" rev 0x03: irq 10
uhci4 at pci0 dev 29 function 1 "Intel 82801I USB" rev 0x03: irq 10
uhci5 at pci0 dev 29 function 2 "Intel 82801I USB" rev 0x03: irq 11
ehci1 at pci0 dev 29 function 7 "Intel 82801I USB" rev 0x03: irq 10
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb5 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0x93
pci6 at ppb5 bus 134
"Ricoh 5C832 Firewire" rev 0x06 at pci6 dev 9 function 0 not configured
sdhc0 at pci6 dev 9 function 1 "Ricoh 5C822 SD/MMC" rev 0x25: irq 10
sdmmc0 at sdhc0
"Ricoh 5C843 MMC" rev 0x14 at pci6 dev 9 function 2 not configured
"Ricoh 5C592 Memory Stick" rev 0x14 at pci6 dev 9 function 3 not configured
"Ricoh 5C852 xD" rev 0x14 at pci6 dev 9 function 4 not configured
cbb0 at pci6 dev 9 function 5 "Ricoh 5C476 CardBus" rev 0xbb: irq 10
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 135 device 0 cacheline 0x0, lattimer 0x20
pcmcia0 at cardslot0
pcib0 at pci0 dev 31 function 0 "Intel 82801IEM LPC" rev 0x03
ahci0 at pci0 dev 31 function 2 "Intel 82801I AHCI" rev 0x03: irq 10, AHCI 1.2
scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 0 lun 0: <ATA, Hitachi HTS72322, FCDO> SCSI3 0/direct fixed
sd0: 238475MB, 512 bytes/sec, 488397168 sec total
cd0 at scsibus0 targ 1 lun 0: <HL-DT-ST, DVDRAM GSA-T50L, SC04> ATAPI 5/cdrom 
removable
usb2 at uhci0: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci1: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci2: USB revision 1.0
uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb5 at uhci3: USB revision 1.0
uhub5 at usb5 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb6 at uhci4: USB revision 1.0
uhub6 at usb6 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb7 at uhci5: USB revision 1.0
uhub7 at usb7 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
biomask ef7d netmask ef7d ttymask ffff
mtrr: Pentium Pro MTRR support
"RICOH, Bay8Controller" (manufacturer 0x0, product 0x0) at pcmcia0 function 0 
not configured
uvideo0 at uhub0 port 5 configuration 1 interface 0 "Chicony Electronics Co., 
Ltd. CKA7216" rev 2.00/32.18 addr 2
video0 at uvideo0
ugen0 at uhub3 port 1 "AuthenTec Fingerprint Sensor" rev 2.00/17.03 addr 2
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
root on sd0a swap on sd0b dump on sd0b
iwn0: radio is disabled by hardware switch
iwn0: radio is disabled by hardware switch
iwn0: radio is disabled by hardware switch
iwn0: RF switch: radio disabled
iwn0: radio is disabled by hardware switch
iwn0: RF switch: radio disabled
scsibus2 at softraid0: 1 targets
sd1 at scsibus2 targ 0 lun 0: <OPENBSD, SR CRYPTO, 003> SCSI2 0/direct fixed
sd1: 161450MB, 512 bytes/sec, 330649751 sec total

Reply via email to