OpenEnroth 73e68f7
|
#include <AudioBufferDataSource.h>
Public Member Functions | |
AudioBufferDataSource (Blob buffer) | |
virtual | ~AudioBufferDataSource ()=default |
virtual bool | Open () override |
Public Member Functions inherited from AudioBaseDataSource | |
AudioBaseDataSource () | |
virtual | ~AudioBaseDataSource () |
virtual bool | Open () override |
virtual void | Close () override |
virtual size_t | GetSampleRate () override |
virtual size_t | GetChannelCount () override |
virtual Blob | GetNextBuffer () override |
virtual float | GetDuration () override |
Public Member Functions inherited from IAudioDataSource | |
IAudioDataSource () | |
virtual | ~IAudioDataSource () |
virtual bool | Open ()=0 |
virtual void | Close ()=0 |
virtual size_t | GetSampleRate ()=0 |
virtual size_t | GetChannelCount ()=0 |
virtual Blob | GetNextBuffer ()=0 |
virtual float | GetDuration ()=0 |
Protected Attributes | |
FFmpegBlobInputStream | stream |
Protected Attributes inherited from AudioBaseDataSource | |
AVFormatContext * | pFormatContext |
int | iStreamIndex |
AVCodecContext * | pCodecContext |
SwrContext * | pConverter |
bool | bOpened |
std::queue< Blob > | queue |
float | _savedDuration |
|
explicit |
|
virtualdefault |
|
overridevirtual |
Reimplemented from AudioBaseDataSource.
|
protected |