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

ESD - sound is to slow



I can not figure out how to speed up the sound when playing wave files through ESD. I played around with the esd options "-b" and "-r" and they don't seem to have any effects. To get esd working I used the "-d /dev/audio" option since using /dev/sound causes an invalid argument:

$ esdplay E_logout.wav
- using device /dev/sound
/dev/sound: Invalid argument
/dev/sound: Invalid argument

A guy from the local LUG group informed me that /dev/audio is not a generic sound device and it accepts only .au files (8-bit mono raw files running at 11050 KHz). No matter what I throw at /dev/audio, it will always attempt to interpret it as if it's such a sound stream. I guess I was on the wrong track with /dev/audio.

He and some other places recommended using /dev/dsp but OpenBSD doesn't have this. Instead I found /usr/local/emul/redhat/dev/dsp but that also gives me an invalid argument error (since it's linked back to /dev/sound).

I'm trying to run Enlightenment and besides the sound everything is working fine. It would really be nice to get the sound working as well. Does anybody have any tips, hints or solutions?

Thanks
  Claus

----- Just in case the dmesg:
OpenBSD 2.9 (GENERIC) #653: Sat Apr 28 13:57:59 MDT 2001
deraadt_(_at_)_i386_(_dot_)_openbsd_(_dot_)_org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium II (Klamath) ("GenuineIntel" 686-class, 512KB L2 cache) 265
MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SYS,MTRR,PGE,MCA,CMOV,MMX
real mem = 268021760 (261740K)
avail mem = 243597312 (237888K)
using 3297 buffers containing 13504512 bytes (13188K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(ee) BIOS, date 04/13/98, BIOS32 rev. 0 @ 0xec700
pcibios0 at bios0: rev. 2.1 @ 0xec700/0x3900
pcibios0: PCI IRQ Routing Table rev. 1.0 @ 0xf69e0/176 (9 entries)
pcibios0: PCI Interrupt Router at 000:20:0
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc0000/0x8000 0xc8000/0x800 0xe0000/0x8000!
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82443BX PCI-AGP" rev 0x02
ppb0 at pci0 dev 1 function 0 "Intel 82443BX AGP" rev 0x02
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "ATI Mach64 GD" rev 0x5c
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
fxp0 at pci0 dev 13 function 0 "Intel 82557" rev 0x05: irq 11, address 00:08:c7:
29:01:64
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 0
bktr0 at pci0 dev 16 function 0 "Brooktree BT848" rev 0x11: irq 11
bktr0: Intel Smart Video III/VideoLogic Captivator PCI, <no> tuner.
pcib0 at pci0 dev 20 function 0 "Intel 82371AB PIIX4 ISA" rev 0x02
pciide0 at pci0 dev 20 function 1 "Intel 82371AB IDE" rev 0x01: DMA, channel 0 w
ired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <Maxtor 90320D2>
wd0: 16-sector PIO, LBA, 3098MB, 6296 cyl, 16 head, 63 sec, 6346368 sectors
pciide0: channel 0 interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
atapiscsi0 at pciide0 channel 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <PIONEER, CD-ROM DR-A24X, 1.03> SCSI0 5/cdrom remo
vable
pciide0: channel 1 interrupting at irq 15
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
uhci0 at pci0 dev 20 function 2 "Intel 82371AB USB" rev 0x01: irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: vendor 0x0000 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
"Intel 82371AB Power Management" rev 0x02 at pci0 dev 20 function 3 not configur
ed
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
sb0 at isa0 port 0x220/24 irq 5 drq 1: dsp v3.01
midi0 at sb0: <SB MIDI UART>
audio0 at sb0
opl0 at sb0: model OPL3
midi1 at opl0: <SB Yamaha OPL3>
pcppi0 at isa0 port 0x61
midi2 at pcppi0: <PC speaker>
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask c840 netmask c840 ttymask d8c2
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
dkcsum: wd0 matched BIOS disk 80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302