diff options
Diffstat (limited to 'media/base/audio_decoder_config.h')
-rw-r--r-- | media/base/audio_decoder_config.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/media/base/audio_decoder_config.h b/media/base/audio_decoder_config.h index 168a941..90f51c1 100644 --- a/media/base/audio_decoder_config.h +++ b/media/base/audio_decoder_config.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -52,7 +52,11 @@ class MEDIA_EXPORT AudioDecoderConfig { // Resets the internal state of this object. void Initialize(AudioCodec codec, int bits_per_channel, ChannelLayout channel_layout, int samples_per_second, - const uint8* extra_data, size_t extra_data_size); + const uint8* extra_data, size_t extra_data_size, + bool record_stats); + + // Deep copies |audio_config|. + void CopyFrom(const AudioDecoderConfig& audio_config); // Returns true if this object has appropriate configuration values, false // otherwise. |