48 virtual
sampleFormat GetPreferredAudacitySampleFormat() const noexcept = 0;
53 virtual
int GetBitRate() const noexcept = 0;
54 virtual
void SetBitRate(
int value) noexcept = 0;
56 virtual uint64_t GetChannelLayout() const noexcept = 0;
57 virtual
void SetChannelLayout(uint64_t value) noexcept = 0;
59 virtual
int GetChannels() const noexcept = 0;
60 virtual
void SetChannels(
int value) noexcept = 0;
66 void SetCodecTagFourCC(const
char* fourCC) noexcept;
68 virtual
void SetCodecTag(
unsigned int tag) noexcept = 0;
69 virtual
unsigned int GetCodecTag() const noexcept = 0;
73 virtual
int GetCompressionLevel() const noexcept = 0;
74 virtual
void SetCompressionLevel(
int value) noexcept = 0;
76 virtual
int GetCutoff() const noexcept = 0;
77 virtual
void SetCutoff(
int value) noexcept = 0;
79 virtual
int GetFlags() const noexcept = 0;
80 virtual
void SetFlags(
int value) noexcept = 0;
82 virtual
int GetFlags2() const noexcept = 0;
83 virtual
void SetFlags2(
int value) noexcept = 0;
85 virtual
int GetFrameNumber() const noexcept = 0;
86 virtual
void SetFrameNumber(
int value) noexcept = 0;
89 virtual
void SetFrameSize(
int value) noexcept = 0;
91 virtual
int GetGlobalQuality() const noexcept = 0;
92 virtual
void SetGlobalQuality(
int value) noexcept = 0;
94 virtual
int GetProfile() const noexcept = 0;
95 virtual
void SetProfile(
int value) noexcept = 0;
100 virtual
int GetSampleRate() const noexcept = 0;
101 virtual
void SetSampleRate(
int value) noexcept = 0;
103 virtual
int GetStrictStdCompliance() const noexcept = 0;
104 virtual
void SetStrictStdCompliance(
int value) noexcept = 0;
128 bool mIsOwned {
false };
std::unique_ptr< AVCodecWrapper > mAVCodec
AVCodecContextWrapper & operator=(AVCodecContextWrapper &&)=delete
AVCodecContextWrapper & operator=(AVCodecContextWrapper &)=delete
AVCodecContextWrapper(AVCodecContextWrapper &&)=delete
AVCodecContextWrapper(const AVCodecContextWrapper &)=delete
int GetFrameSize(int sampleRate)