svvitch
digital signage player
|
FFmpegオーディオデコーダクラス. More...
#include <FFAudioDecoder.h>
Private Member Functions | |
FFAudioDecoder (Renderer &renderer, AVFormatContext *ic, const int streamNo) | |
virtual | ‾FFAudioDecoder () |
virtual bool | isReady () |
void | start () |
const UINT | bufferedFrames () |
void | decode () |
void | writeData () |
void | finishedPacket () |
bool | playing () |
void | play () |
void | stop () |
Private Attributes | |
LPDIRECTSOUNDBUFFER | _buffer |
DWORD | _bufferOffset |
DWORD | _bufferSize |
bool | _running |
uint8_t * | _data |
int | _dataOffset |
int | _len |
DWORD | _playCursor |
DWORD | _writeCursor |
Static Private Attributes | |
static const int | BUFFER_SIZE = AVCODEC_MAX_AUDIO_FRAME_SIZE * 3 |
Friends | |
class | FFMovieContent |
FFAudioDecoder::FFAudioDecoder | ( | Renderer & | renderer, |
AVFormatContext * | ic, | ||
const int | streamNo | ||
) | [private] |
const UINT FFAudioDecoder::bufferedFrames | ( | ) | [private] |
void FFAudioDecoder::decode | ( | ) | [private] |
void FFAudioDecoder::finishedPacket | ( | ) | [private] |
virtual bool FFAudioDecoder::isReady | ( | ) | [private, virtual] |
Implements FFBaseDecoder.
void FFAudioDecoder::play | ( | ) | [private] |
bool FFAudioDecoder::playing | ( | ) | [private] |
void FFAudioDecoder::start | ( | ) | [private] |
void FFAudioDecoder::stop | ( | ) | [private] |
void FFAudioDecoder::writeData | ( | ) | [private] |
virtual FFAudioDecoder::‾FFAudioDecoder | ( | ) | [private, virtual] |
friend class FFMovieContent [friend] |
Definition at line 12 of file FFAudioDecoder.h.
LPDIRECTSOUNDBUFFER FFAudioDecoder::_buffer [private] |
Definition at line 16 of file FFAudioDecoder.h.
DWORD FFAudioDecoder::_bufferOffset [private] |
Definition at line 17 of file FFAudioDecoder.h.
DWORD FFAudioDecoder::_bufferSize [private] |
Definition at line 18 of file FFAudioDecoder.h.
uint8_t* FFAudioDecoder::_data [private] |
Definition at line 22 of file FFAudioDecoder.h.
int FFAudioDecoder::_dataOffset [private] |
Definition at line 23 of file FFAudioDecoder.h.
int FFAudioDecoder::_len [private] |
Definition at line 24 of file FFAudioDecoder.h.
DWORD FFAudioDecoder::_playCursor [private] |
Definition at line 26 of file FFAudioDecoder.h.
bool FFAudioDecoder::_running [private] |
Definition at line 20 of file FFAudioDecoder.h.
DWORD FFAudioDecoder::_writeCursor [private] |
Definition at line 27 of file FFAudioDecoder.h.
const int FFAudioDecoder::BUFFER_SIZE = AVCODEC_MAX_AUDIO_FRAME_SIZE * 3 [static, private] |
Definition at line 14 of file FFAudioDecoder.h.