Subject: changing volume
To: None <port-macppc@netbsd.org>
From: Emmanuel Hainry <ehainry@free.fr>
List: port-macppc
Date: 01/12/2006 01:22:03
Hello,

It may not be the good list to post that. (?)

I am now able to play sound but have not understood how to change the
volume at which it is playing.

mixerctl -a says:

monitor.output=headphones
outputs.speaker=0,0
outputs.headphones=32,32
record.source=cd
record.record=64,64 

but changin any values with mixerctl -w does not change the hearing
volume. (too much if I plug headphones, too low if any when I do not)

audioctl -a says many things, including things about play.gain, but I
cannot set it to anything else than 127...

name=AWACS
version=
config=awacs
encodings=slinear:16,slinear_be:16,slinear_le:16*,ulinear_be:16*,ulinear_le:16*,mulaw:8*,alaw:8*
properties=full_duplex
full_duplex=0
fullduplex=0
blocksize=8192
hiwat=8
lowat=1
monitor_gain=0
mode=
play.rate=44100
play.channels=2
play.precision=16
play.encoding=slinear_be
play.gain=127
play.balance=32
play.port=0x0
play.avail_ports=0x0
play.seek=8192
play.samples=34943488
play.eof=0
play.pause=0
play.error=1
play.waiting=0
play.open=0
play.active=0
play.buffer_size=65536
record.rate=44100
record.channels=2
record.precision=16
record.encoding=slinear_be
record.gain=64
record.balance=32
record.port=0x4
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

Emmanuel