RE: mp3's on SPARC LX - Debian 2.2...
Mike Hebel writes:
> Actually what I'm trying to do is shift the output from the internal speaker
> to line-out. In NetBSD I user mixerctl to do that but I can't find a way to
> do it in Debian from the command line. The -oh/-ol switches on mpg123 don't
> work. audioctl doesn't seem to have an option for it. Am I stuck here
> without running X? I'm running "headless" so I don't know what my options
> are.
>
> Any other ideas?
root@scotty /lib/modules/2.2.17/misc 49 : audioctl -a
name=SUNW,CS4231
version=a
config=onboard1
encodings=not yet implemented
monitor_gain=0
output_muted=0
play.rate=44100
play.channels=2
play.precision=16
play.encoding=linear_be
play.gain=72
play.balance=32
play.port=0x7 (speaker (0x1)|headphone (0x2)|line out (0x4))
play.avail_ports=0x7 (speaker (0x1)|headphone (0x2)|line out (0x4))
play.samples=1615516827
play.eof=0
play.pause=0
play.error=0
play.waiting=0
play.open=1
play.active=1
play.buffer_size=0
record.rate=44100
record.channels=2
record.precision=16
record.encoding=linear_be
record.gain=0
record.balance=32
record.port=0x1 (microphone (0x1))
record.avail_ports=0x47 (microphone (0x1)|line in (0x2)|internal cd
(0x4)|analog
loopback (0x40))
record.samples=32768
record.eof=0
record.pause=0
record.error=1
record.waiting=0
record.open=0
record.active=0
record.buffer_size=0
record.errors=0
root@scotty /lib/modules/2.2.17/misc 50 :
To make it play on all outputs (speaker, headphone and line out ).
root@scotty /lib/modules/2.2.17/misc 50 : audioctl -w play.port=0x7
Mileage may vary - this is on an Ultra 30 running potato.
wes
Reply to: