summaryrefslogtreecommitdiffstats
path: root/media/audio/audio_parameters.h
diff options
context:
space:
mode:
authorscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-16 20:44:42 +0000
committerscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-16 20:44:42 +0000
commite11c8ee1b8d01092326de43f8b881efb03a7ba0c (patch)
tree61a2ec2d89543d66ea9b555be3d9c1496c9bbabc /media/audio/audio_parameters.h
parente75962686027614e8b532e6e630cd84b88360486 (diff)
downloadchromium_src-e11c8ee1b8d01092326de43f8b881efb03a7ba0c.zip
chromium_src-e11c8ee1b8d01092326de43f8b881efb03a7ba0c.tar.gz
chromium_src-e11c8ee1b8d01092326de43f8b881efb03a7ba0c.tar.bz2
Replace AudioDecoderConfig with simple accessors on AudioDecoder.
AudioDecoderConfig was being used as a struct for outputting format information to an AudioRenderer. This was confusing and in contrast to VideoDecoderConfig, which is is actually used as input to configure a video decoder! Review URL: http://codereview.chromium.org/7796033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101563 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/audio/audio_parameters.h')
-rw-r--r--media/audio/audio_parameters.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/media/audio/audio_parameters.h b/media/audio/audio_parameters.h
index 5c86990..0de5f6a 100644
--- a/media/audio/audio_parameters.h
+++ b/media/audio/audio_parameters.h
@@ -6,7 +6,7 @@
#define MEDIA_AUDIO_AUDIO_PARAMETERS_H_
#include "base/basictypes.h"
-#include "media/base/audio_decoder_config.h"
+#include "media/base/channel_layout.h"
#include "media/base/media_export.h"
struct MEDIA_EXPORT AudioParameters {
@@ -31,9 +31,6 @@ struct MEDIA_EXPORT AudioParameters {
static const uint32 kAudioDATSampleRate = 48000;
AudioParameters();
-
- explicit AudioParameters(const media::AudioDecoderConfig& config);
-
AudioParameters(Format format, ChannelLayout channel_layout, int sample_rate,
int bits_per_sample, int samples_per_packet);