Shell Commands/SetMixer

From MorphOS Library

Revision as of 19:14, 11 December 2015 by JPV (talk | contribs) (Created page with "'''SetMixer''' - Sets audio input and output mixing MIXER/K,INPUT/S, OUTPUT/S, NAME/K, VOLUME/K/N, VOLUMEADJUST/K/N, MUTE/K, SPDIF/K, S3DLEVEL/K/N <nowiki> MIXER - Na...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

< Shell Commands

SetMixer - Sets audio input and output mixing

MIXER/K,INPUT/S, OUTPUT/S, NAME/K, VOLUME/K/N, VOLUMEADJUST/K/N, MUTE/K, SPDIF/K, S3DLEVEL/K/N

MIXER        - Name of mixer device (i.e. 'efika' or 'pegasos')
INPUT        - Sets input values
OUTPUT       - Sets output values
NAME         - Name of channel, can be also number of channel (1...n, -1 for all channels)
VOLUME       - Sets volume to the value
VOLUMEADJUST - Adjusts volume by the value
MUTE         - Mute 'on' or 'off'
SPDIF        - 
S3DLEVEL     -

Examples:

Ram Disk:> SetMixer MUTE=on
I2S SoftCodec: Channel "Volume" is muted.
Ram Disk:> SetMixer MUTE=off
I2S SoftCodec: Channel "Volume" is not muted.
Ram Disk:> SetMixer OUTPUT VOLUMEADJUST=10
I2S SoftCodec: Volume level on channel "Volume" is set to 27.
Ram Disk:> SetMixer OUTPUT VOLUMEADJUST=-10
I2S SoftCodec: Volume level on channel "Volume" is set to 16.