Changeset 5880


Ignore:
Timestamp:
04/09/14 12:11:21 (6 years ago)
Author:
avneesh-singh
Message:

play section works well even if a part of waveform is selected

File:
1 edited

Legend:

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

    r5879 r5880  
    13491349                { 
    13501350                    mLocalPlaylist = new Playlist(mPlayer,  node, mPlayQAPlaylist); 
    1351                     m_IsPlaySectionInspiteOfPhraseSelection = false; 
     1351                     
    13521352                } 
    13531353                else 
     
    13651365                PlayCurrentPlaylistFromSelection(); 
    13661366                } 
     1367                m_IsPlaySectionInspiteOfPhraseSelection = false; 
    13671368            } 
    13681369        } 
     
    14181419            if (mView.Selection is AudioSelection && ((AudioSelection)mView.Selection).AudioRange != null ) 
    14191420            { 
    1420                 if (!((AudioSelection)mView.Selection).AudioRange.HasCursor && mCurrentPlaylist != mMasterPlaylist) 
     1421                if (!((AudioSelection)mView.Selection).AudioRange.HasCursor && mCurrentPlaylist != mMasterPlaylist && m_IsPlaySectionInspiteOfPhraseSelection == false) 
    14211422                { 
    14221423                    // Play the audio selection (only for local playlist; play all ignores the end of the selection.) 
Note: See TracChangeset for help on using the changeset viewer.