Switch Controller
Loading...
Searching...
No Matches
Classes | Public Member Functions | List of all members
AudioFrameSink Class Reference

#include <AudioFrameSink.h>

Inheritance diagram for AudioFrameSink:
Inheritance graph
Collaboration diagram for AudioFrameSink:
Collaboration graph

Public Member Functions

 AudioFrameSink ()
 
 AudioFrameSink (AVChannelLayout outChannelLayout, AVSampleFormat outputSampleFormat, int outSampleRate, bool loopRecording=false, int64_t loopBufferSize=0)
 
AVMediaType getType () const override
 
- Public Member Functions inherited from FFmpegFrameSink
virtual ~FFmpegFrameSink ()
 
void init (AVCodecContext *decoderContext)
 
void waitForInit ()
 
void outputFrame (AVFrame *frame)
 
long long getData (std::vector< uint8_t > &data)
 
long long getNextData (std::vector< uint8_t > &data, long long lastFrameSeen)
 
virtual AVMediaType getType () const =0
 

Additional Inherited Members

virtual void virtualInit (AVCodecContext *decoderContext)=0
 
virtual void virtualOutputFrame (AVFrame *frame)=0
 
virtual void getDataWithoutLock (std::vector< uint8_t > &data)=0
 

Constructor & Destructor Documentation

◆ AudioFrameSink() [1/2]

AudioFrameSink::AudioFrameSink ( )
inline

◆ AudioFrameSink() [2/2]

AudioFrameSink::AudioFrameSink ( AVChannelLayout  outChannelLayout,
AVSampleFormat  outputSampleFormat,
int  outSampleRate,
bool  loopRecording = false,
int64_t  loopBufferSize = 0 
)
inline

Member Function Documentation

◆ getType()

AVMediaType AudioFrameSink::getType ( ) const
inlineoverridevirtual

Implements FFmpegFrameSink.


The documentation for this class was generated from the following file: