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

Side by Side Diff: webrtc/modules/audio_coding/codecs/audio_decoder.h

Issue 2326003002: Moved codec-specific audio packet splitting into decoders. (Closed)
Patch Set: Fixed types in packet splitting (size_t vs. uint32_t) Created 4 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
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 #ifndef WEBRTC_MODULES_AUDIO_CODING_NETEQ_INCLUDE_AUDIO_DECODER_H_ 11 #ifndef WEBRTC_MODULES_AUDIO_CODING_NETEQ_INCLUDE_AUDIO_DECODER_H_
12 #define WEBRTC_MODULES_AUDIO_CODING_NETEQ_INCLUDE_AUDIO_DECODER_H_ 12 #define WEBRTC_MODULES_AUDIO_CODING_NETEQ_INCLUDE_AUDIO_DECODER_H_
13 13
14 #include <stdlib.h> // NULL 14 #include <memory>
15 #include <vector>
15 16
16 #include <memory> 17 #include <memory>
17 #include <vector> 18 #include <vector>
18 19
19 #include "webrtc/base/array_view.h" 20 #include "webrtc/base/array_view.h"
20 #include "webrtc/base/buffer.h" 21 #include "webrtc/base/buffer.h"
21 #include "webrtc/base/constructormagic.h" 22 #include "webrtc/base/constructormagic.h"
22 #include "webrtc/base/optional.h" 23 #include "webrtc/base/optional.h"
23 #include "webrtc/typedefs.h" 24 #include "webrtc/typedefs.h"
24 25
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 int sample_rate_hz, 171 int sample_rate_hz,
171 int16_t* decoded, 172 int16_t* decoded,
172 SpeechType* speech_type); 173 SpeechType* speech_type);
173 174
174 private: 175 private:
175 RTC_DISALLOW_COPY_AND_ASSIGN(AudioDecoder); 176 RTC_DISALLOW_COPY_AND_ASSIGN(AudioDecoder);
176 }; 177 };
177 178
178 } // namespace webrtc 179 } // namespace webrtc
179 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_INCLUDE_AUDIO_DECODER_H_ 180 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_INCLUDE_AUDIO_DECODER_H_
OLDNEW
« no previous file with comments | « webrtc/modules/audio_coding/audio_coding.gypi ('k') | webrtc/modules/audio_coding/codecs/audio_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698