better design for range plays that leaves the range play button able to play the...
[ardour.git] / libs / ardour / ardour / session.h
index 50ca7a91fef6a6c0448d04b2341856ea5283ae67..312f0f362892a2f6a6890ebea218fc9786bfb23f 100644 (file)
@@ -135,8 +135,7 @@ class Session : public PBD::StatefulDestructible
                    SetSlaveSource,
                    Audition,
                    InputConfigurationChange,
-                   SetAudioRange,
-                   SetPlayRange,
+                   SetPlayAudioRange,
                    
                    /* only one of each of these events
                       can be queued at any one time
@@ -927,10 +926,7 @@ class Session : public PBD::StatefulDestructible
 
        /* ranges */
 
-       void set_audio_range (list<AudioRange>&);
-       void set_music_range (list<MusicRange>&);
-
-       void request_play_range (bool yn, bool leave_rolling = false);
+       void request_play_range (list<AudioRange>&, bool yn, bool leave_rolling = false);
        bool get_play_range () const { return _play_range; }
 
        /* favorite dirs */
@@ -1738,8 +1734,8 @@ class Session : public PBD::StatefulDestructible
 
        list<AudioRange> current_audio_range;
        bool _play_range;
-       void set_play_range (bool yn, bool leave_rolling);
-       void setup_auto_play ();
+       void set_play_range (list<AudioRange>&, bool yn, bool leave_rolling);
+       void setup_auto_play (list<AudioRange>&);
 
        /* main outs */
        uint32_t main_outs;