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_ |