Hi,

out of curiosity I connected some active PC speakers to my SS5, but so far, I
was not yet successful to play something good.

I made some minimal tests using an au file downloaded from here:
http://www-mmsp.ece.mcgill.ca/documents/AudioFormats/AU/Samples/AFsp/M1F1-int8-AFsp.au


playing this on i386 sounds good:
(audioctl -f /dev/audioctl play.channels=2; audioctl play.precision=8;audioctl
play.rate=8000; audioctl play.sample_rate=8000; cat M1F1-int8-AFsp.au) >
/dev/audio0

but doing the same on the SS5, I get some very noisy output.

Don't know when those timeouts entered dmesg. Before I made the tests with the
.au file, I tried playing a mp3 using mpg123.

Is there anything I can do to improve the audio on the sparc?

Sebastian

$ mixerctl -v                                                                   
                                     
inputs.dac=0,0 volume
inputs.dac.mute=on  [ on off ]
inputs.line=0,0 volume
inputs.line.mute=on  [ on off ]
inputs.mic=0 volume
inputs.mic.mute=on  [ on off ]
inputs.cd=0,0 volume
inputs.cd.mute=on  [ on off ]
monitor.monitor=32 volume
outputs.monitor.mute=off  [ on off ]
outputs.output=192,192 volume
outputs.output.mute=off  [ on off ]
record.record=0,0 volume
record.record.source=mic  [ mic line cd dac ]
monitor.output=spkr  [ spkr line hp ]
$ audioctl                                                                      
                                     
name=SUNW,CS4231
version=a
config=onboard1
encodings=mulaw:8:1:1,alaw:8:1:1,slinear_le:16:2:1,ulinear:8:1:1,slinear_be:16:2:1,slinear:8:1:1*,ulinear_le:16:2:1*,ulinear_be:16:2:1*,adpcm:8:1:1

properties=full_duplex
full_duplex=0
fullduplex=0
blocksize=400
hiwat=163
lowat=1
output_muted=0
monitor_gain=32
mode=
play.rate=8000
play.sample_rate=8000
play.channels=2
play.precision=8
play.bps=1
play.msb=1
play.encoding=mulaw
play.gain=0
play.balance=32
play.port=0x0
play.avail_ports=0x0
play.seek=400
play.samples=46686
play.eof=0
play.pause=0
play.error=1
play.waiting=0
play.open=0
play.active=0
play.buffer_size=65536
play.block_size=400
play.errors=57
record.rate=8000
record.sample_rate=8000
record.channels=2
record.precision=8
record.bps=1
record.msb=1
record.encoding=mulaw
record.gain=0
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.block_size=400
record.errors=0

$ dmesg                                                                         
                                     
OpenBSD 5.1-current (GENERIC) #62: Sun May 27 12:05:06 MDT 2012
    dera...@sparc.openbsd.org:/usr/src/sys/arch/sparc/compile/GENERIC
real mem = 200933376 (191MB)
avail mem = 192966656 (184MB)
mainbus0 at root: SUNW,SPARCstation-5
cpu0 at mainbus0: MB86907 @ 170 MHz, on-chip FPU
cpu0: 16K instruction (32 b/l), 16K data (32 b/l), 512K external (32 b/l) DVMA
coherent cache enabled
obio0 at mainbus0
clock0 at obio0 addr 0x71200000: mk48t08 (eeprom)
timer0 at obio0 addr 0x71d00000 delay constant 82
zs0 at obio0 addr 0x71100000 pri 12, softpri 6
zstty0 at zs0 channel 0: console
zstty1 at zs0 channel 1
zs1 at obio0 addr 0x71000000 pri 12, softpri 6
zskbd0 at zs1 channel 0: no keyboard
zsms0 at zs1 channel 1
wsmouse0 at zsms0 mux 0
slavioconfig at obio0 addr 0x71800000 not configured
auxreg0 at obio0 addr 0x71900000
power0 at obio0 addr 0x71910000
fdc0 at obio0 addr 0x71400000 pri 11, softpri 4: chip 82077
iommu0 at mainbus0 addr 0x10000000: version 0x5/0x0, page-size 4096, range 64MB
sbus0 at iommu0: 21.250 MHz
dma0 at sbus0 slot 5 offset 0x8400000: rev 2
esp0 at dma0 offset 0x8800000 pri 4: ESP200, 40MHz
scsibus0 at esp0: 8 targets, initiator 7
cd0 at scsibus0 targ 2 lun 0: <MATSHITA, CD-ROM CR-504, ST23> SCSI2 5/cdrom
removable
sd0 at scsibus0 targ 3 lun 0: <IBM, DCAS32160SUN2.1G, S60B> SCSI2 0/direct fixed
serial.IBM_DCAS32160SUN2.1GF2583160_
sd0: 2063MB, 512 bytes/sector, 4226725 sectors
bpp0 at sbus0 slot 5 offset 0xc800000: DMA2
ledma0 at sbus0 slot 5 offset 0x8400010: rev 2
le0 at ledma0 offset 0x8c00000 pri 6: address 08:00:20:89:d9:b5
le0: 16 receive buffers, 4 transmit buffers
audiocs0 at sbus0 slot 4 offset 0xc000000 pri 9
audio0 at audiocs0
"power-management" at sbus0 slot 4 offset 0xa000000 not configured
cgsix0 at sbus0 slot 3 offset 0x0 pri 9: SUNW,501-2325, 1152x900, rev 11
wsdisplay0 at cgsix0 mux 1
wsdisplay0: screen 0 added (std, sun emulation)
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
bootpath:
/iommu@0,10000000/sbus@0,10001000/espdma@5,8400000/esp@5,8800000/sd@3,0
root on sd0a (767d44393957fabc.a) swap on sd0b dump on sd0b
audiocs0: timeout committing fspb
audiocs0: timeout committing cdf
audiocs0: timeout waiting for !mce
audiocs0: timeout committing fspb
audiocs0: timeout committing cdf
audiocs0: timeout waiting for !mce
audiocs0: timeout committing fspb
audiocs0: timeout committing cdf
audiocs0: timeout waiting for !mce
audiocs0: timeout committing fspb
audiocs0: timeout committing cdf
audiocs0: timeout waiting for !mce
audiocs0: timeout committing fspb
audiocs0: timeout committing cdf
audiocs0: timeout waiting for !mce
audiocs0: timeout committing fspb
audiocs0: timeout committing cdf
audiocs0: timeout waiting for !mce

Reply via email to