Jacob, firstly, thank you for all the audio work you do on OpenBSD. You are turning my laptop into the best audio workstation I have.
Right now, I am trying to use audacity as packaged in 1.3.9.p0 on a recent -current. I open a new project, record a new track (pressing the record button). A waveform appears as I record, corresponding obviously to the sounds I make. I stop the recording with the stop button. When I try to play it back (pressing the play button), there's no sound. The time-poisition bar does move through the waveform, but audacity does not play anything. At the same time, I have an xterm open to run mixerctl. Things are not muted, volumes are at reasonable levels. In fact, I can play the sounds that audacity just recorded (saved in .../e00/d00/*au) without any problems with, say, aucat or sox. It's just that audacity itself doesn't play them. Or does, but no sound comes out. This happens with both mono and stereo tracks, using both 44100 and 48000 samplerates (which I know is all supported by my device for both playback and recording). I even deleted my ~/.audacity-data/ and started again, to be as default as possible - with same results. The above happens when the aucat server (aucat -l) is not running. If aucat -l is running, audacity doesn't even record the sound, saying Error while opening sound device. Please check the input device settings and the project sample rate. Indeed, the running aucat holds /dev/audio0 open (says fstat /dev/audio*). Aucat's device settings (Edit/Preferences/Devices) is set to Interface Host: libsndio Using: PortAudio V19-devel (built Jan 17 2010) That makes me speculate that audacity cannot talk to sndio natively, but is using the portaudio library (as installed in portaudio-svn-1406) to do that. Or portaudio, as used by audacity, can only talk to audio(4), but not sndio(7) - right? Is this an audacity problem? Is this a portaudio problem? Thank you for your time Jan OpenBSD 4.6-current (GENERIC.MP) #10: Fri Jan 22 14:20:30 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 = 2050797568 (1955MB) User Kernel Config UKC> disable acpiec 483 acpiec* 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 acpi0 at bios0: rev 2 acpi0: tables DSDT FACP HPET APIC MCFG TCPA SSDT SLIC SSDT DMAR ASF! SSDT SSDT SSDT acpi0: wakeup devices LANC(S5) HDEF(S4) RP02(S5) WNIC(S5) RP03(S5) ECF0(S5) RP05(S5) ECF0(S5) RP06(S5) NIC_(S5) USB1(S3) USB2(S3) USB3(S3) USB4(S3) USB5(S3) USB6(S3) U6RM(S3) EHC1(S3) EHC2(S3) PCIB(S5) HST1(S5) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 14318179 Hz acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 265MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM)2 Duo CPU T9400 @ 2.53GHz ("GenuineIntel" 686-class) 2.53 GHz cpu1: 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 ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 1 acpiprt0 at acpi0: bus 1 (PEGP) acpiprt1 at acpi0: bus 2 (RP01) acpiprt2 at acpi0: bus 3 (RP02) acpiprt3 at acpi0: bus 4 (RP03) acpiprt4 at acpi0: bus 69 (RP05) acpiprt5 at acpi0: bus 134 (PCIB) acpiprt6 at acpi0: bus 0 (PCI0) acpiec at acpi0 not configured acpicpu0 at acpi0: C3, C2, C1, PSS acpicpu1 at acpi0: C3, C2, C1, PSS acpipwrres0 at acpi0: APPR acpipwrres1 at acpi0: COMP acpipwrres2 at acpi0: LPP_ acpipwrres3 at acpi0: PGF0 acpitz0 at acpi0: critical temperature 115 degC acpitz1 at acpi0: critical temperature 105 degC acpitz2 at acpi0: critical temperature 112 degC acpitz3 at acpi0: critical temperature 112 degC acpitz4 at acpi0: critical temperature 90 degC acpitz5 at acpi0: critical temperature 112 degC acpibat0 at acpi0: BAT0 not present acpibat1 at acpi0: BAT1 not present acpiac0 at acpi0: AC unit online acpibtn0 at acpi0: SLPB acpibtn1 at acpi0: LID_ acpivideo0 at acpi0: DGFX acpivout0 at acpivideo0: LCD_ acpivout1 at acpivideo0: CRT_ acpivout2 at acpivideo0: DVI_ acpivout3 at acpivideo0: DD04 bios0: ROM list: 0xc0000/0xe200 0xce800/0x1000 0xcf800/0x1000 cpu0: Enhanced SpeedStep 2527 MHz: speeds: 2534, 2533, 1600, 800 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: apic 1 int 16 (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 apic 1 int 18 (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: apic 1 int 22 (irq 10), address 00:23:7d:e7:ac:60 uhci0 at pci0 dev 26 function 0 "Intel 82801I USB" rev 0x03: apic 1 int 16 (irq 10) uhci1 at pci0 dev 26 function 1 "Intel 82801I USB" rev 0x03: apic 1 int 17 (irq 10) uhci2 at pci0 dev 26 function 2 "Intel 82801I USB" rev 0x03: apic 1 int 18 (irq 11) ehci0 at pci0 dev 26 function 7 "Intel 82801I USB" rev 0x03: apic 1 int 19 (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: apic 1 int 17 (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: apic 1 int 16 (irq 10) pci2 at ppb1 bus 2 ppb2 at pci0 dev 28 function 1 "Intel 82801I PCIE" rev 0x03: apic 1 int 17 (irq 10) pci3 at ppb2 bus 3 iwn0 at pci3 dev 0 function 0 "Intel WiFi Link 5300" rev 0x00: apic 1 int 17 (irq 10), MIMO 3T3R, MoW, address 00:21:6a:0f:b2:8e ppb3 at pci0 dev 28 function 2 "Intel 82801I PCIE" rev 0x03: apic 1 int 18 (irq 11) pci4 at ppb3 bus 4 ppb4 at pci0 dev 28 function 4 "Intel 82801I PCIE" rev 0x03: apic 1 int 16 (irq 10) pci5 at ppb4 bus 69 uhci3 at pci0 dev 29 function 0 "Intel 82801I USB" rev 0x03: apic 1 int 20 (irq 10) uhci4 at pci0 dev 29 function 1 "Intel 82801I USB" rev 0x03: apic 1 int 22 (irq 10) uhci5 at pci0 dev 29 function 2 "Intel 82801I USB" rev 0x03: apic 1 int 18 (irq 11) ehci1 at pci0 dev 29 function 7 "Intel 82801I USB" rev 0x03: apic 1 int 20 (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: apic 1 int 22 (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: apic 1 int 22 (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: apic 1 int 21 (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 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: radio is disabled by hardware switch iwn0: RF switch: radio disabled