| Index: media/audio/audio_parameters.h
|
| diff --git a/media/audio/audio_parameters.h b/media/audio/audio_parameters.h
|
| index b23d26fdcae0e9ff57f310a826348cfea2a11a39..cbcb93240d90d4318a528f95e8c9bf2f5f7f6a1c 100644
|
| --- a/media/audio/audio_parameters.h
|
| +++ b/media/audio/audio_parameters.h
|
| @@ -108,6 +108,16 @@ class MEDIA_EXPORT AudioParameters {
|
| frames_per_buffer_ == other.frames_per_buffer() &&
|
| effects_ == other.effects();
|
| }
|
| + bool operator!=(const AudioParameters& other) const {
|
| + return format_ != other.format() ||
|
| + sample_rate_ != other.sample_rate() ||
|
| + channel_layout_ != other.channel_layout() ||
|
| + channels_ != other.channels() ||
|
| + input_channels_ != other.input_channels() ||
|
| + bits_per_sample_ != other.bits_per_sample() ||
|
| + frames_per_buffer_ != other.frames_per_buffer() ||
|
| + effects_ != other.effects();
|
| + }
|
|
|
| private:
|
| // These members are mutable to support entire struct assignment. They should
|
|
|