Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(59)

Side by Side Diff: webrtc/modules/audio_coding/acm2/acm_codec_database.cc

Issue 1481493004: audio_coding: remove "main" directory (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebased Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 /* 11 /*
12 * This file generates databases with information about all supported audio 12 * This file generates databases with information about all supported audio
13 * codecs. 13 * codecs.
14 */ 14 */
15 15
16 // TODO(tlegrand): Change constant input pointers in all functions to constant 16 // TODO(tlegrand): Change constant input pointers in all functions to constant
17 // references, where appropriate. 17 // references, where appropriate.
18 #include "webrtc/modules/audio_coding/main/acm2/acm_codec_database.h" 18 #include "webrtc/modules/audio_coding/acm2/acm_codec_database.h"
19 19
20 #include <assert.h> 20 #include <assert.h>
21 21
22 #include "webrtc/base/checks.h" 22 #include "webrtc/base/checks.h"
23 #include "webrtc/modules/audio_coding/main/acm2/acm_common_defs.h" 23 #include "webrtc/modules/audio_coding/acm2/acm_common_defs.h"
24 #include "webrtc/system_wrappers/include/trace.h" 24 #include "webrtc/system_wrappers/include/trace.h"
25 25
26 namespace webrtc { 26 namespace webrtc {
27 27
28 namespace acm2 { 28 namespace acm2 {
29 29
30 namespace { 30 namespace {
31 31
32 // Checks if the bitrate is valid for iSAC. 32 // Checks if the bitrate is valid for iSAC.
33 bool IsISACRateValid(int rate) { 33 bool IsISACRateValid(int rate) {
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 } 322 }
323 // Gets codec id number from database for the receiver. 323 // Gets codec id number from database for the receiver.
324 int ACMCodecDB::ReceiverCodecNumber(const CodecInst& codec_inst) { 324 int ACMCodecDB::ReceiverCodecNumber(const CodecInst& codec_inst) {
325 // Look for a matching codec in the database. 325 // Look for a matching codec in the database.
326 return CodecId(codec_inst); 326 return CodecId(codec_inst);
327 } 327 }
328 328
329 } // namespace acm2 329 } // namespace acm2
330 330
331 } // namespace webrtc 331 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/audio_coding/acm2/acm_codec_database.h ('k') | webrtc/modules/audio_coding/acm2/acm_common_defs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698