| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef MEDIA_BASE_AUDIO_DECODER_CONFIG_H_ | |
| 6 #define MEDIA_BASE_AUDIO_DECODER_CONFIG_H_ | |
| 7 | |
| 8 #include "media/base/channel_layout.h" | |
| 9 | |
| 10 namespace media { | |
| 11 | |
| 12 struct AudioDecoderConfig { | |
| 13 AudioDecoderConfig(int bits, ChannelLayout layout, int rate) | |
| 14 : bits_per_channel(bits), | |
| 15 channel_layout(layout), | |
| 16 sample_rate(rate) { | |
| 17 } | |
| 18 | |
| 19 int bits_per_channel; | |
| 20 ChannelLayout channel_layout; | |
| 21 int sample_rate; | |
| 22 }; | |
| 23 | |
| 24 } // namespace media | |
| 25 | |
| 26 #endif // MEDIA_BASE_AUDIO_DECODER_CONFIG_H_ | |
| OLD | NEW |