summaryrefslogtreecommitdiff
path: root/src/decoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/decoder.h')
-rw-r--r--src/decoder.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/decoder.h b/src/decoder.h
index ba78d49..20878c7 100644
--- a/src/decoder.h
+++ b/src/decoder.h
@@ -67,8 +67,11 @@ public:
void shoot(unsigned char *rgb);
void start();
void stop(n_savestate save);
+ void setMute(bool mute);
private:
+ volatile bool mute;
+
void getScreenshot(Frame *frame, unsigned char *rgb);
pthread_mutex_t shot_mutex;