Krita Source Code Documentation
Loading...
Searching...
No Matches
KisPlaybackEngine.h File Reference
#include "KoCanvasObserverBase.h"
#include <QObject>
#include <kritaui_export.h>

Go to the source code of this file.

Classes

class  KisPlaybackEngine
 Krita's base animation playback engine for producing image frame changes and associated audio. More...
 
struct  KisPlaybackEngine::PlaybackStats
 

Enumerations

enum  SeekOption { SEEK_NONE = 0 , SEEK_PUSH_AUDIO = 1 , SEEK_FINALIZE = 1 << 1 }
 The SeekOption enum represents additional behaviors associated with seeking to a new frame. For example, sometimes you want to push audio when seeking, and other times you might want to reload the image without using the cache. Other optional, uncommon or specialized seeking behaviors might make sense to add here. More...
 

Enumeration Type Documentation

◆ SeekOption

enum SeekOption

The SeekOption enum represents additional behaviors associated with seeking to a new frame. For example, sometimes you want to push audio when seeking, and other times you might want to reload the image without using the cache. Other optional, uncommon or specialized seeking behaviors might make sense to add here.

Enumerator
SEEK_NONE 
SEEK_PUSH_AUDIO 
SEEK_FINALIZE 

Definition at line 21 of file KisPlaybackEngine.h.

21 {
22 SEEK_NONE = 0,
23 SEEK_PUSH_AUDIO = 1, // Whether we should be pushing audio or not. Used to prevent double-takes on scrubbing.
24 SEEK_FINALIZE = 1 << 1 // Force reload of KisImage to specific frame, ignore caching ability.
25};
@ SEEK_NONE
@ SEEK_PUSH_AUDIO
@ SEEK_FINALIZE