| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "media/audio/audio_parameters.h" | 5 #include "media/base/audio_parameters.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "media/base/limits.h" | 8 #include "media/base/limits.h" |
| 9 | 9 |
| 10 namespace media { | 10 namespace media { |
| 11 | 11 |
| 12 AudioParameters::AudioParameters() | 12 AudioParameters::AudioParameters() |
| 13 : AudioParameters(AUDIO_PCM_LINEAR, CHANNEL_LAYOUT_NONE, 0, 0, 0) {} | 13 : AudioParameters(AUDIO_PCM_LINEAR, CHANNEL_LAYOUT_NONE, 0, 0, 0) {} |
| 14 | 14 |
| 15 AudioParameters::AudioParameters(Format format, | 15 AudioParameters::AudioParameters(Format format, |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 | 98 |
| 99 // static | 99 // static |
| 100 AudioParameters AudioParameters::UnavailableDeviceParams() { | 100 AudioParameters AudioParameters::UnavailableDeviceParams() { |
| 101 return media::AudioParameters( | 101 return media::AudioParameters( |
| 102 media::AudioParameters::AUDIO_FAKE, media::CHANNEL_LAYOUT_STEREO, | 102 media::AudioParameters::AUDIO_FAKE, media::CHANNEL_LAYOUT_STEREO, |
| 103 media::AudioParameters::kAudioCDSampleRate, 16, | 103 media::AudioParameters::kAudioCDSampleRate, 16, |
| 104 media::AudioParameters::kAudioCDSampleRate / 10); | 104 media::AudioParameters::kAudioCDSampleRate / 10); |
| 105 } | 105 } |
| 106 | 106 |
| 107 } // namespace media | 107 } // namespace media |
| OLD | NEW |