home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: Multimed
/
Multimed.zip
/
mixo101a.zip
/
sbtest.cmd
< prev
next >
Wrap
OS/2 REXX Batch file
|
1997-09-21
|
3KB
|
70 lines
/* SBRexx Test */
call RxFuncAdd 'MixLoadFuncs','SBREXX','MixLoadFuncs'
call MixLoadFuncs
Say MixVer()
Say MixCopyright()
Say
/* if MixIsMasterAvailable() = 1 then Say 'Master: 'MixGetMasterL()'/'MixGetMasterR()'' */
if MixIsMasterAvailable() = 1 then
do
parse value MixGetMaster() with L','R
Say 'Master: 'L'/'R''
end;
if MixIsVoiceAvailable() = 1 then Say 'Voice: 'MixGetVoiceL()'/'MixGetVoiceR()''
if MixIsMidiAvailable() = 1 then Say 'Midi: 'MixGetMidiL()'/'MixGetMidiR()''
if MixIsCDAvailable() = 1 then Say 'CD: 'MixGetCDL()'/'MixGetCDR()''
if MixIsLineAvailable() = 1 then Say 'Line: 'MixGetLineL()'/'MixGetLineR()''
if MixIsMicroAvailable() = 1 then Say 'Micro: 'MixGetMicro()''
if MixIsSpeakerAvailable() = 1 then Say 'Speaker: 'MixGetSpeaker()''
if MixIsTrebleAvailable() = 1 then Say 'Treble: 'MixGetTrebleL()'/'MixGetTrebleR()''
if MixIsBassAvailable() = 1 then Say 'Bass: 'MixGetBassL()'/'MixGetBassR()''
pause
Say
Say 'Output:'
if MixIsOutLineAvailable() = 1 then Say 'Line: 'MixGetOutLineL()'/'MixGetOutLineR()''
if MixIsOutCDAvailable() = 1 then Say 'CD: 'MixGetOutCDL()'/'MixGetOutCDR()''
if MixIsOutMicroAvailable() = 1 then Say 'Micro: 'MixGetOutMicro()''
if MixIsOutGainAvailable() = 1 then
do
L = MixGetOutGainL()
if L = 0 then L = 'x1'
else if L = 1 then L = 'x2'
else if L = 2 then L = 'x4'
else if L = 3 then L = 'x8'
R = MixGetOutGainR()
if R = 0 then R = 'x1'
else if R = 1 then R = 'x2'
else if R = 2 then R = 'x4'
else if R = 3 then R = 'x8'
Say 'Gain: 'L'/'R''
end
Say
Say 'InputL:'
if MixIsInLMidiAvailable() = 1 then Say 'Midi: 'MixGetInLMidiL()'/'MixGetInLMidiR()''
if MixIsInLLineAvailable() = 1 then Say 'Line: 'MixGetInLLineL()'/'MixGetInLLineR()''
if MixIsInLCDAvailable() = 1 then Say 'CD: 'MixGetInLCDL()'/'MixGetInLCDR()''
if MixIsInLMicroAvailable() = 1 then Say 'Micro: 'MixGetInLMicro()''
Say
Say 'InputR:'
if MixIsInRMidiAvailable() = 1 then Say 'Midi: 'MixGetInRMidiL()'/'MixGetInRMidiR()''
if MixIsInRLineAvailable() = 1 then Say 'Line: 'MixGetInRLineL()'/'MixGetInRLineR()''
if MixIsInRCDAvailable() = 1 then Say 'CD: 'MixGetInRCDL()'/'MixGetInRCDR()''
if MixIsInRMicroAvailable() = 1 then Say 'Micro: 'MixGetInRMicro()''
if MixIsInGainAvailable() = 1 then
do
L = MixGetInGainL()
if L = 0 then L = 'x1'
else if L = 1 then L = 'x2'
else if L = 2 then L = 'x4'
else if L = 3 then L = 'x8'
R = MixGetInGainR()
if R = 0 then R = 'x1'
else if R = 1 then R = 'x2'
else if R = 2 then R = 'x4'
else if R = 3 then R = 'x8'
Say 'Gain: 'L'/'R''
end
if MixIsAGCAvailable() = 1 then Say 'AGC: 'MixGetAGC()''