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

Unified Diff: webrtc/modules/audio_coding/codecs/audio_format_conversion.h

Issue 2388153004: Stop using old AudioCodingModule::RegisterReceiveCodec overloads (Closed)
Patch Set: rebase Created 4 years, 2 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
Index: webrtc/modules/audio_coding/codecs/audio_format_conversion.h
diff --git a/webrtc/modules/desktop_capture/screen_drawer_mac.cc b/webrtc/modules/audio_coding/codecs/audio_format_conversion.h
similarity index 55%
copy from webrtc/modules/desktop_capture/screen_drawer_mac.cc
copy to webrtc/modules/audio_coding/codecs/audio_format_conversion.h
index c84592923fd5e48efea1cc3796c721bd5dfd7dbc..ff71282f7e2e42c8bb27a4cd23316fab15e41ff9 100644
--- a/webrtc/modules/desktop_capture/screen_drawer_mac.cc
+++ b/webrtc/modules/audio_coding/codecs/audio_format_conversion.h
@@ -8,20 +8,16 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-// TODO(zijiehe): Implement ScreenDrawerMac
+#ifndef WEBRTC_MODULES_AUDIO_CODING_CODECS_AUDIO_FORMAT_CONVERSION_H_
+#define WEBRTC_MODULES_AUDIO_CODING_CODECS_AUDIO_FORMAT_CONVERSION_H_
-#include "webrtc/modules/desktop_capture/screen_drawer.h"
+#include "webrtc/common_types.h"
+#include "webrtc/modules/audio_coding/codecs/audio_format.h"
namespace webrtc {
-// static
-std::unique_ptr<ScreenDrawerLock> ScreenDrawerLock::Create() {
- return nullptr;
-}
-
-// static
-std::unique_ptr<ScreenDrawer> ScreenDrawer::Create() {
- return nullptr;
-}
+SdpAudioFormat CodecInstToSdp(const CodecInst& codec_inst);
} // namespace webrtc
+
+#endif // WEBRTC_MODULES_AUDIO_CODING_CODECS_AUDIO_FORMAT_CONVERSION_H_

Powered by Google App Engine
This is Rietveld 408576698