Difference between revisions of "Shell Commands/SetMixer"
From MorphOS Library
(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...") |
|||
Line 10: | Line 10: | ||
VOLUMEADJUST - Adjusts volume by the value | VOLUMEADJUST - Adjusts volume by the value | ||
MUTE - Mute 'on' or 'off' | MUTE - Mute 'on' or 'off' | ||
− | SPDIF - | + | SPDIF - Enables or disables SPDIF |
S3DLEVEL - | S3DLEVEL - | ||
</nowiki> | </nowiki> |
Latest revision as of 19:15, 11 December 2015
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 - Enables or disables 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.