diff options
Diffstat (limited to 'cast/standalone_sender/simulated_capturer.h')
-rw-r--r-- | cast/standalone_sender/simulated_capturer.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cast/standalone_sender/simulated_capturer.h b/cast/standalone_sender/simulated_capturer.h index 8d32085a..61738e1f 100644 --- a/cast/standalone_sender/simulated_capturer.h +++ b/cast/standalone_sender/simulated_capturer.h @@ -40,6 +40,8 @@ class SimulatedCapturer { virtual ~Observer(); }; + void SetPlaybackRate(double rate); + protected: SimulatedCapturer(Environment* environment, const char* path, @@ -103,6 +105,10 @@ class SimulatedCapturer { // Used to schedule the next task to execute and when it should execute. There // is only ever one task scheduled/running at any time. Alarm next_task_; + + // Used to determine playback rate. Currently, we only support "playing" + // at 1x speed, or "pausing" at 0x speed. + bool playback_rate_is_non_zero_ = true; }; // Emits the primary audio stream from a file. |