On Fri, 18 Jan 2008 22:23:36 +0100, Deanna Phillips wrote: > As you may recall, a long-overdue update to esound was backed > out at the last minute before the 4.2 release. The thread is > here: > > http://marc.info/?l=openbsd-ports&m=118541595130336&w=2 > > I've just tried the 2.38 update on auich(4) and can't reproduce > the problems we once had. > > 2.38 also fixes some bugs with socket creation and cleanup that > are causing micropolis to skip some sounds. This bug can be > reproduced by throwing many files at esdplay at once with > something like 'for file in *.wav ; do esdplay $file& ; done', > or running the Firebomb scenario in Micropolis and watching > stderr. > > esd should be able to mix those sounds (that's what it's for), > but with the version in tree it gets very confused and skips > some, fails to open the audio device or resample, etc. > > So. Here's Martynas's old diff pulled from cvs. > > Anyone want to try again?
Using the same laptop as I did in the thread referenced above, I still have the behaviour I described at <http://marc.info/?l=openbsd-ports&m=118616452718942&w=2>. Regards, Tim OpenBSD 4.2-current (GENERIC) #651: Tue Jan 22 17:34:45 MST 2008 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Pentium(R) III Mobile CPU 933MHz ("GenuineIntel" 686-class) 931 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE real mem = 267350016 (254MB) avail mem = 250601472 (238MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 07/30/01, BIOS32 rev. 0 @ 0xfd860, SMBIOS rev. 2.3 @ 0xfef0000 (53 entries) bios0: vendor Phoenix/FUJITSU version "Version 1.06" date 07/30/2001 bios0: FUJITSU SIEMENS LIFEBOOK E Series apm0 at bios0: Power Management spec V1.2 apm0: battery life expectancy 90% apm0: AC on, battery charge high, charging acpi at bios0 function 0x0 not configured pcibios0 at bios0: rev 2.1 @ 0xfd860/0x7a0 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf40/160 (8 entries) pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371FB ISA" rev 0x00) pcibios0: PCI bus #4 is the last bus bios0: ROM list: 0xc0000/0xe000 cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "Intel 82830M Host" rev 0x02 agp0 at pchb0: no integrated graphics ppb0 at pci0 dev 1 function 0 "Intel 82830M AGP" rev 0x02 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 "ATI Radeon Mobility M6 LY" rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) uhci0 at pci0 dev 29 function 0 "Intel 82801CA/CAM USB" rev 0x01: irq 11 uhci1 at pci0 dev 29 function 2 "Intel 82801CA/CAM USB" rev 0x01: irq 11 ppb1 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0x41 pci2 at ppb1 bus 2 cbb0 at pci2 dev 10 function 0 "O2 Micro OZ6933 CardBus" rev 0x02: irq 11 cbb1 at pci2 dev 10 function 1 "O2 Micro OZ6933 CardBus" rev 0x02: irq 11 rl0 at pci2 dev 13 function 0 "Realtek 8139" rev 0x10: irq 11, address 00:e0:00:58:97:2d rlphy0 at rl0 phy 0: RTL internal PHY cardslot0 at cbb0 slot 0 flags 0 cardbus0 at cardslot0: bus 3 device 0 cacheline 0x0, lattimer 0x20 pcmcia0 at cardslot0 cardslot1 at cbb1 slot 1 flags 0 cardbus1 at cardslot1: bus 4 device 0 cacheline 0x0, lattimer 0x20 pcmcia1 at cardslot1 ichpcib0 at pci0 dev 31 function 0 "Intel 82801CAM LPC" rev 0x01: 24-bit timer at 3579545Hz: SpeedStep pciide0 at pci0 dev 31 function 1 "Intel 82801CAM IDE" rev 0x01: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: <TOSHIBA MK6014MAP> wd0: 16-sector PIO, LBA, 5729MB, 11733120 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: <TEAC, CD-224E, 1.7A> SCSI0 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 ichiic0 at pci0 dev 31 function 3 "Intel 82801CA/CAM SMBus" rev 0x01: SMI iic0 at ichiic0 iic0: addr 0x19 00=00 01=00 02=00 03=00 04=00 05=00 06=00 07=00 08=00 09=00 0a=00 0b=00 0c=00 0d=00 0e=00 0f=00 10=00 11=20 24=00 b9=00 ba=00 words 00=0000 01=0000 02=0000 03=0000 04=0000 05=0000 06=0000 07=0000 08=0000 09=0000 0a=0000 0b=0000 0c=0000 0d=0000 0e=0000 0f=0000 auich0 at pci0 dev 31 function 5 "Intel 82801CA/CAM AC97" rev 0x01: irq 11, ICH3 AC97 ac97: codec id 0x83847609 (SigmaTel STAC9721/23) ac97: codec features 18 bit DAC, 18 bit ADC, SigmaTel 3D audio0 at auich0 usb0 at uhci0: USB revision 1.0 uhub0 at usb0 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb1 at uhci1: USB revision 1.0 uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1 isa0 at ichpcib0 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 pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 biomask ef6d netmask ef6d ttymask ffef mtrr: Pentium Pro MTRR support softraid0 at root root on wd0a swap on wd0b dump on wd0b