home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #6 / amigamamagazinepolishissue1998.iso / cdrom / rexxcd / rexx / stereo.rexx < prev    next >
OS/2 REXX Batch file  |  1977-12-31  |  468b  |  26 lines

  1. /*
  2.     Name        :    stereo.rexx
  3.     Created        :    25/06/96
  4.     Last change    :    25/06/96
  5.  
  6.     Programmer    :    Urban Lindeskog
  7.     Organization    :    ProNotion SWDG
  8.  
  9.     Toggles RexxCD between global volume control
  10.     or stereo controls.
  11.  
  12.     Useful with some old drives that require the
  13.     same levels on both left and right controls.
  14. */
  15. options results
  16. address REXXCD
  17.  
  18. GETATTR DRIVE FIELD STEREO VAR S
  19.  
  20. if S then do
  21.     'SETATTR DRIVE FIELD STEREO VALUE 0'
  22.     end
  23. else do
  24.     'SETATTR DRIVE FIELD STEREO VALUE 1'
  25.     end
  26.