| Index: media/audio/audio_parameters.cc
|
| diff --git a/media/audio/audio_parameters.cc b/media/audio/audio_parameters.cc
|
| index 029f8314adfeb777c2686f52f9945a66ac94369e..45c98d9d5a2ce8315f76fcf1989ca2c1444aae2c 100644
|
| --- a/media/audio/audio_parameters.cc
|
| +++ b/media/audio/audio_parameters.cc
|
| @@ -15,15 +15,6 @@ AudioParameters::AudioParameters()
|
| channels(0) {
|
| }
|
|
|
| -AudioParameters::AudioParameters(const media::AudioDecoderConfig& config)
|
| - : format(AUDIO_PCM_LINEAR),
|
| - channel_layout(config.channel_layout),
|
| - sample_rate(config.sample_rate),
|
| - bits_per_sample(config.bits_per_channel),
|
| - samples_per_packet(0),
|
| - channels(ChannelLayoutToChannelCount(config.channel_layout)) {
|
| -}
|
| -
|
| AudioParameters::AudioParameters(Format format, ChannelLayout channel_layout,
|
| int sample_rate, int bits_per_sample,
|
| int samples_per_packet)
|
|
|