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

Side by Side Diff: webrtc/api/audio_codecs/audio_decoder.cc

Issue 3007763002: Move array_view.h to webrtc/api/ (Closed)
Patch Set: rebase Created 3 years, 3 months 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
« no previous file with comments | « webrtc/api/audio_codecs/audio_decoder.h ('k') | webrtc/api/audio_codecs/audio_encoder.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "webrtc/api/audio_codecs/audio_decoder.h" 11 #include "webrtc/api/audio_codecs/audio_decoder.h"
12 12
13 #include <assert.h> 13 #include <assert.h>
14 #include <memory> 14 #include <memory>
15 #include <utility> 15 #include <utility>
16 16
17 #include "webrtc/rtc_base/array_view.h" 17 #include "webrtc/api/array_view.h"
18 #include "webrtc/rtc_base/checks.h" 18 #include "webrtc/rtc_base/checks.h"
19 #include "webrtc/rtc_base/sanitizer.h" 19 #include "webrtc/rtc_base/sanitizer.h"
20 #include "webrtc/rtc_base/trace_event.h" 20 #include "webrtc/rtc_base/trace_event.h"
21 21
22 namespace webrtc { 22 namespace webrtc {
23 23
24 namespace { 24 namespace {
25 25
26 class OldStyleEncodedFrame final : public AudioDecoder::EncodedAudioFrame { 26 class OldStyleEncodedFrame final : public AudioDecoder::EncodedAudioFrame {
27 public: 27 public:
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 return kSpeech; 160 return kSpeech;
161 case 2: 161 case 2:
162 return kComfortNoise; 162 return kComfortNoise;
163 default: 163 default:
164 assert(false); 164 assert(false);
165 return kSpeech; 165 return kSpeech;
166 } 166 }
167 } 167 }
168 168
169 } // namespace webrtc 169 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/api/audio_codecs/audio_decoder.h ('k') | webrtc/api/audio_codecs/audio_encoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698