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

Unified Diff: webrtc/api/audio_codecs/audio_decoder.h

Issue 2668523004: Move AudioDecoder and related stuff to the api/ directory (Closed)
Patch Set: more review fixes Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/api/audio_codecs/BUILD.gn ('k') | webrtc/api/audio_codecs/audio_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/audio_codecs/audio_decoder.h
diff --git a/webrtc/modules/audio_coding/codecs/audio_decoder.h b/webrtc/api/audio_codecs/audio_decoder.h
similarity index 95%
copy from webrtc/modules/audio_coding/codecs/audio_decoder.h
copy to webrtc/api/audio_codecs/audio_decoder.h
index 8468da20f2b74669fabcd3607cbf8f47ef35c715..dab7d3b2731c68d075ec5017ad3a6bfce00d9739 100644
--- a/webrtc/modules/audio_coding/codecs/audio_decoder.h
+++ b/webrtc/api/audio_codecs/audio_decoder.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef WEBRTC_MODULES_AUDIO_CODING_CODECS_AUDIO_DECODER_H_
-#define WEBRTC_MODULES_AUDIO_CODING_CODECS_AUDIO_DECODER_H_
+#ifndef WEBRTC_API_AUDIO_CODECS_AUDIO_DECODER_H_
+#define WEBRTC_API_AUDIO_CODECS_AUDIO_DECODER_H_
#include <memory>
#include <vector>
@@ -22,13 +22,11 @@
namespace webrtc {
-// This is the interface class for decoders in NetEQ. Each codec type will have
-// and implementation of this class.
class AudioDecoder {
public:
enum SpeechType {
kSpeech = 1,
- kComfortNoise = 2
+ kComfortNoise = 2,
};
// Used by PacketDuration below. Save the value -1 for errors.
@@ -176,4 +174,4 @@ class AudioDecoder {
};
} // namespace webrtc
-#endif // WEBRTC_MODULES_AUDIO_CODING_CODECS_AUDIO_DECODER_H_
+#endif // WEBRTC_API_AUDIO_CODECS_AUDIO_DECODER_H_
« no previous file with comments | « webrtc/api/audio_codecs/BUILD.gn ('k') | webrtc/api/audio_codecs/audio_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698