Changeset 5849


Ignore:
Timestamp:
04/04/14 09:45:55 (6 years ago)
Author:
avneesh-singh
Message:

minor: playback states are more closely followed for monitor continuously.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Obi/Obi/ProjectView/TransportBar.cs

    r5844 r5849  
    739739                    mDisplayTimer.Start(); 
    740740                    if (mState == State.Playing || mState == State.Paused) mView.SetPlaybackBlockIfRequired(); 
    741                     if (mState == State.Playing && !(mCurrentPlaylist is PreviewPlaylist) && MonitorContinuously) MonitorContinuously = false; //@MonitorContinuously 
     741                     
    742742                } 
    743743                else if (mState == State.Stopped) 
     
    752752                if (StateChanged != null) StateChanged(this, e); 
    753753 
     754                if (IsPlayerActive && !(mCurrentPlaylist is PreviewPlaylist) && MonitorContinuously) MonitorContinuously = false; //@MonitorContinuously 
    754755                if (m_IsPreviewing && mCurrentPlaylist is PreviewPlaylist) 
    755756                { 
     
    40664067        private void StartMonitorContinuously() 
    40674068        { 
    4068             if (m_MonitorContinuously && CurrentState == State.Stopped) 
     4069            if (m_MonitorContinuously && mPlayer.CurrentState == AudioLib.AudioPlayer.State.Stopped && mRecorder.CurrentState == AudioLib.AudioRecorder.State.Stopped) 
    40694070            { 
    40704071                mRecordingSession = new RecordingSession(mView.Presentation, mRecorder, mView.ObiForm.Settings); 
Note: See TracChangeset for help on using the changeset viewer.