Credit Andrew - fix vorbis audio which was scratchy and ensure aging plugin does...
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / playbackengine.h
index 0a717f117f3bc0ba6e22a6ad09424d581da7b59f..9fdb45fbc428fd5b7b8d35be2b5ebee141b33d55 100644 (file)
@@ -55,6 +55,7 @@ public:
        void create_cache();
        void perform_change();
        void sync_parameters(EDL *edl);
+       void clear_borders();
 // Set wait_tracking for events that change the cursor location but
 // be sure to unlock the windows
        void interrupt_playback(int wait_tracking = 0);
@@ -69,7 +70,7 @@ public:
        virtual int brender_available(long position);
 // For normal playback tracking and the cursor are started
        virtual void init_tracking();
-       virtual void stop_tracking();
+       virtual void stop_tracking(double position);
        virtual void init_meters();
 // The playback cursor calls this to calculate the current tracking position
        virtual double get_tracking_position();
@@ -84,6 +85,8 @@ public:
        void send_command(int command, EDL *edl, int wait_tracking, int use_inout);
        void stop_playback(int wait);
        void refresh_frame(int change_type, EDL *edl, int dir=1);
+       int get_direction();
+       void update_preferences(Preferences *prefs);
 
 // Maintain caches through console changes
        CICache *audio_cache, *video_cache;
@@ -104,6 +107,8 @@ public:
        Condition *pause_lock;
 // Wait until thread has started
        Condition *start_lock;
+// Reinit caches
+       Mutex *cache_lock;
 
        MWindow *mwindow;
        Canvas *output;