| 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/sample_rates.h" | 5 #include "media/audio/sample_rates.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 | 8 |
| 9 namespace media { | 9 namespace media { |
| 10 | 10 |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 return true; | 37 return true; |
| 38 case 88200: | 38 case 88200: |
| 39 *asr = k88200Hz; | 39 *asr = k88200Hz; |
| 40 return true; | 40 return true; |
| 41 case 176400: | 41 case 176400: |
| 42 *asr = k176400Hz; | 42 *asr = k176400Hz; |
| 43 return true; | 43 return true; |
| 44 case 192000: | 44 case 192000: |
| 45 *asr = k192000Hz; | 45 *asr = k192000Hz; |
| 46 return true; | 46 return true; |
| 47 case 24000: |
| 48 *asr = k24000Hz; |
| 49 return true; |
| 47 } | 50 } |
| 48 return false; | 51 return false; |
| 49 } | 52 } |
| 50 | 53 |
| 51 } // namespace media | 54 } // namespace media |
| OLD | NEW |