| Index: chromecast/media/cma/backend/alsa/slew_volume.h
|
| diff --git a/chromecast/media/cma/backend/alsa/slew_volume.h b/chromecast/media/cma/backend/alsa/slew_volume.h
|
| index 44c042d2f5fcfdefe9b1c8986e71a668b706e782..6308f50a77dcad05b5e6262d6c77b6d7bf94ef52 100644
|
| --- a/chromecast/media/cma/backend/alsa/slew_volume.h
|
| +++ b/chromecast/media/cma/backend/alsa/slew_volume.h
|
| @@ -23,6 +23,10 @@ class SlewVolume {
|
| void SetSampleRate(int sample_rate);
|
| void SetVolume(double volume_scale);
|
|
|
| + // Called to indicate that the stream was interrupted; volume changes can be
|
| + // applied immediately.
|
| + void Interrupted();
|
| +
|
| // Assumes 1 channel float data that is 16-byte aligned. Smoothly calculates
|
| // dest[i] += src[i] * volume_scaling
|
| // ProcessFMAC will be called once for each channel of audio present and
|
| @@ -44,6 +48,7 @@ class SlewVolume {
|
| int max_slew_time_down_ms_;
|
| double max_slew_up_;
|
| double max_slew_down_;
|
| + bool interrupted_ = true;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(SlewVolume);
|
| };
|
|
|