Adding missing RTC_EXPORT for component build.
Bug: webrtc:9419 Change-Id: Ifa5d21edc708b5012b71e2e5101e10c6352a7218 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/157162 Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Cr-Commit-Position: refs/heads/master@{#29533}
This commit is contained in:
committed by
Commit Bot
parent
05269ecd0b
commit
c66e004edc
@ -79,6 +79,7 @@ rtc_library("audio_encoder_isac_fix") {
|
||||
"..:audio_codecs_api",
|
||||
"../../../modules/audio_coding:isac_fix",
|
||||
"../../../rtc_base:rtc_base_approved",
|
||||
"../../../rtc_base/system:rtc_export",
|
||||
"//third_party/abseil-cpp/absl/strings",
|
||||
"//third_party/abseil-cpp/absl/types:optional",
|
||||
]
|
||||
@ -95,6 +96,7 @@ rtc_library("audio_decoder_isac_fix") {
|
||||
"..:audio_codecs_api",
|
||||
"../../../modules/audio_coding:isac_fix",
|
||||
"../../../rtc_base:rtc_base_approved",
|
||||
"../../../rtc_base/system:rtc_export",
|
||||
"//third_party/abseil-cpp/absl/strings",
|
||||
"//third_party/abseil-cpp/absl/types:optional",
|
||||
]
|
||||
|
||||
@ -18,12 +18,13 @@
|
||||
#include "api/audio_codecs/audio_codec_pair_id.h"
|
||||
#include "api/audio_codecs/audio_decoder.h"
|
||||
#include "api/audio_codecs/audio_format.h"
|
||||
#include "rtc_base/system/rtc_export.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
// iSAC decoder API (fixed-point implementation) for use as a template
|
||||
// parameter to CreateAudioDecoderFactory<...>().
|
||||
struct AudioDecoderIsacFix {
|
||||
struct RTC_EXPORT AudioDecoderIsacFix {
|
||||
struct Config {}; // Empty---no config values needed!
|
||||
static absl::optional<Config> SdpToConfig(const SdpAudioFormat& audio_format);
|
||||
static void AppendSupportedDecoders(std::vector<AudioCodecSpec>* specs);
|
||||
|
||||
@ -18,12 +18,13 @@
|
||||
#include "api/audio_codecs/audio_codec_pair_id.h"
|
||||
#include "api/audio_codecs/audio_encoder.h"
|
||||
#include "api/audio_codecs/audio_format.h"
|
||||
#include "rtc_base/system/rtc_export.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
// iSAC encoder API (fixed-point implementation) for use as a template
|
||||
// parameter to CreateAudioEncoderFactory<...>().
|
||||
struct AudioEncoderIsacFix {
|
||||
struct RTC_EXPORT AudioEncoderIsacFix {
|
||||
struct Config {
|
||||
bool IsOk() const { return frame_size_ms == 30 || frame_size_ms == 60; }
|
||||
int frame_size_ms = 30;
|
||||
|
||||
@ -54,7 +54,7 @@ class EncodedImageBufferInterface : public rtc::RefCountInterface {
|
||||
};
|
||||
|
||||
// Basic implementation of EncodedImageBufferInterface.
|
||||
class EncodedImageBuffer : public EncodedImageBufferInterface {
|
||||
class RTC_EXPORT EncodedImageBuffer : public EncodedImageBufferInterface {
|
||||
public:
|
||||
static rtc::scoped_refptr<EncodedImageBuffer> Create() { return Create(0); }
|
||||
static rtc::scoped_refptr<EncodedImageBuffer> Create(size_t size);
|
||||
|
||||
Reference in New Issue
Block a user