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

help with half-speed audio



I have a 3GHz Pentium IV, with a Creative 128 bit soundblaster card.
I'm running OpenBSD 3.4.  Dmesg reports the card as:

	eap0 at pci2 dev 10 function 0 "Ensoniq CT5880" rev 0x04: irq 11
	audio0 at eap0

All the utilities like mixerctl, audioctl, etc., seem to give
reasonable output.  I can also play CDs just fine, so everything is
wired up correctly.  However, when I attempt to play mp3 files, the
audio comes out at half-speed (and I think out of only one channel).
I can, for example, run xmms and each second of audio takes two
seconds to play, and comes out sounding low and very slow.  The same
issue happens with other utilities such as mpg321.  I also get
messages like this printed out:

eap0: eap1371_read_codec timeout 2

This machine's hard disk is essentially a clone of an OpenBSD
installation running on a bunch of different machines.  Several of the
other machines have a similar sound card, but do not exhibit the
problem, though they all seem to print the "timeout 2" message every
few seconds.  audioctl -a reports identical values (except for
play.samples) while playing mp3 files on both working computers and
the non-working one.

Has anyone seen anything like this, or can anyone suggest a way to fix
the problem?  I'd appreciate any ideas people have about this.  I'm
appending my dmesg and audioctl -a.

Thanks,
David

===

OpenBSD 3.4-stable (XFS) #1: Fri Nov 21 13:28:12 EST 2003
    dm_(_at_)_orchard_(_dot_)_scs_(_dot_)_cs_(_dot_)_nyu_(_dot_)_edu:/sys/arch/i386/compile/XFS
cpu0: Intel Pentium 4 ("GenuineIntel" 686-class) 3.06 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,ACPI,MMX,FXSR,SIMD,SIMD2,SS,HTT,TM,SBF,CNXT-ID
real mem  = 1073049600 (1047900K)
avail mem = 763260928 (745372K)
using 4278 buffers containing 280363008 bytes (273792K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 12/18/02, BIOS32 rev. 0 @ 0xfda74
pcibios0 at bios0: rev. 2.1 @ 0xf0000/0x10000
pcibios0: PCI IRQ Routing Table rev. 1.0 @ 0xf28c0/208 (11 entries)
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371FB PCI-ISA" rev 0x00)
pcibios0: PCI bus #2 is the last bus
bios0: ROM list: 0xc0000/0x9000 0xc9000/0x6a00
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82845 Host" rev 0x11
ppb0 at pci0 dev 1 function 0 "Intel 82845 AGP" rev 0x11
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "Matrox MGA G550 AGP" rev 0x01
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ppb1 at pci0 dev 30 function 0 "Intel 82801BA AGP" rev 0x05
pci2 at ppb1 bus 2
eap0 at pci2 dev 10 function 0 "Ensoniq CT5880" rev 0x04: irq 11
ac97: codec id 0x454d4328
ac97: codec features 18 bit DAC, 18 bit ADC, No 3D Stereo
audio0 at eap0
ahc1 at pci2 dev 11 function 0 "Adaptec AHA-29160 U160" rev 0x02: irq 9
ahc1: aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/255 SCBs
scsibus0 at ahc1: 16 targets
ahc1: target 0 synchronous at 80.0MHz DT, offset = 0x3f
ahc1: target 0 using tagged queuing
sd0 at scsibus0 targ 0 lun 0: <SEAGATE, ST336753LW, 0005> SCSI3 0/direct fixed
sd0: 35003MB, 31310 cyl, 4 head, 572 sec, 512 bytes/sec, 71687372 sec total
fxp0 at pci2 dev 12 function 0 "Intel 82557" rev 0x0d: irq 11, address 00:07:e9:52:c3:93
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
fxp1 at pci2 dev 13 function 0 "Intel 82557" rev 0x0d: irq 11, address 00:07:e9:52:c3:94
inphy1 at fxp1 phy 1: i82555 10/100 media interface, rev. 4
pcib0 at pci0 dev 31 function 0 "Intel 82801BA LPC" rev 0x05
pciide0 at pci0 dev 31 function 1 "Intel 82801BA IDE" rev 0x05: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility
pciide0: channel 0 ignored (disabled)
atapiscsi0 at pciide0 channel 1 drive 0
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: <SONY, CD-RW CRX225E, QYB2> SCSI0 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
uhci0 at pci0 dev 31 function 2 "Intel 82801BA USB" rev 0x05: irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
"Intel 82801BA SMBus" rev 0x05 at pci0 dev 31 function 3 not configured
uhci1 at pci0 dev 31 function 4 "Intel 82801BA USB2" rev 0x05: irq 9
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
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>
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 8a40 netmask 8a40 ttymask 9ac2
pctr: user-level cycle counter enabled
dkcsum: sd0 matched BIOS disk 80
root on sd0a
rootdev=0x400 rrootdev=0xd00 rawdev=0xd02


name=Ensoniq AudioPCI
version=
config=eap
encodings=ulinear:8,mulaw:8*,alaw:8*,slinear:8*,slinear_le:16,ulinear_le:16*,slinear_be:16*,ulinear_be:16*
properties=full_duplex,mmap,independent
full_duplex=0
fullduplex=0
blocksize=8800
hiwat=7
lowat=5
monitor_gain=0
mode=playsync
play.rate=44100
play.channels=2
play.precision=16
play.encoding=slinear_le
play.gain=127
play.balance=32
play.port=0x0
play.avail_ports=0x0
play.seek=52800
play.samples=1399200
play.eof=0
play.pause=0
play.error=0
play.waiting=0
play.open=1
play.active=1
play.buffer_size=65536
record.rate=8000
record.channels=1
record.precision=8
record.encoding=mulaw
record.gain=191
record.balance=32
record.port=0x1
record.avail_ports=0x7
record.seek=0
record.samples=0
record.eof=0
record.pause=0
record.error=0
record.waiting=0
record.open=0
record.active=0
record.buffer_size=65536
record.errors=0



Visit your host, monkey.org