Revert Sample Rate On Program Exit

Suggestion:

  • Store the sample rate of the audio device when the program starts
  • Return the sample rate to the original value when the program exits


    When Cubase is not running I keep the sample rate at 44K
    Most of my projects are 192K or 96K so the sample rate gets changed by Cubase
    When I close the program and another app tries to use the audio device at the higher sample rate, I get a blue screen
    I always have to remember to manually change the sample rate myself
    But sometimes I forget and a blue screen results
    I’m using Windows and a MOTU UltraLite Mk3 audio interface