SetSampleRate() public method

public SetSampleRate ( int sr ) : void
sr int
return void
        /** Change the sample rate of the playback */
        public void SetSampleRate(int sr)
        {
            sampleRate = sr;

            channel1.SetSampleRate(sr);
            channel2.SetSampleRate(sr);
            channel3.SetSampleRate(sr);
            channel4.SetSampleRate(sr);
        }