persona-3-dual
A DS demake of Persona 3
Loading...
Searching...
No Matches
VideoAudio Struct Reference

Public Member Functions

bool open (uint32_t sampleRate, uint32_t numChannels)
bool start ()
void close ()
void pump ()
uint32_t space () const
bool readFrom (FILE *f, uint32_t size)
bool decodeFrame ()
uint32_t clock () const
bool failed () const

Public Attributes

uint8_t * ring = nullptr
uint32_t head = 0
uint32_t count = 0
short * pcm = nullptr
uint32_t pcmPos = 0
uint32_t pcmLen = 0
uint8_t * scratch = nullptr
uint32_t scratchSize = 0
qoa_desc desc
uint32_t rate = 0
uint32_t channels = 0
uint32_t streamSamples = 0
uint32_t contentSamples = 0
uint32_t freeRunSamples = 0
uint32_t silentRun = 0
bool fileEnded = false
bool fault = false
bool streamOpen = false

Detailed Description

Definition at line 30 of file VideoController.cpp.

Member Function Documentation

◆ clock()

uint32_t VideoAudio::clock ( ) const
inline

Definition at line 200 of file VideoController.cpp.

◆ close()

void VideoAudio::close ( )
inline

Definition at line 96 of file VideoController.cpp.

Here is the caller graph for this function:

◆ decodeFrame()

bool VideoAudio::decodeFrame ( )
inline

Definition at line 147 of file VideoController.cpp.

Here is the caller graph for this function:

◆ failed()

bool VideoAudio::failed ( ) const
inline

Definition at line 207 of file VideoController.cpp.

◆ open()

bool VideoAudio::open ( uint32_t sampleRate,
uint32_t numChannels )
inline

Definition at line 55 of file VideoController.cpp.

Here is the call graph for this function:

◆ pump()

void VideoAudio::pump ( )
inline

Definition at line 112 of file VideoController.cpp.

◆ readFrom()

bool VideoAudio::readFrom ( FILE * f,
uint32_t size )
inline

Definition at line 126 of file VideoController.cpp.

◆ space()

uint32_t VideoAudio::space ( ) const
inline

Definition at line 120 of file VideoController.cpp.

◆ start()

bool VideoAudio::start ( )
inline

Definition at line 78 of file VideoController.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ channels

uint32_t VideoAudio::channels = 0

Definition at line 45 of file VideoController.cpp.

◆ contentSamples

uint32_t VideoAudio::contentSamples = 0

Definition at line 48 of file VideoController.cpp.

◆ count

uint32_t VideoAudio::count = 0

Definition at line 34 of file VideoController.cpp.

◆ desc

qoa_desc VideoAudio::desc

Definition at line 43 of file VideoController.cpp.

◆ fault

bool VideoAudio::fault = false

Definition at line 52 of file VideoController.cpp.

◆ fileEnded

bool VideoAudio::fileEnded = false

Definition at line 51 of file VideoController.cpp.

◆ freeRunSamples

uint32_t VideoAudio::freeRunSamples = 0

Definition at line 49 of file VideoController.cpp.

◆ head

uint32_t VideoAudio::head = 0

Definition at line 33 of file VideoController.cpp.

◆ pcm

short* VideoAudio::pcm = nullptr

Definition at line 36 of file VideoController.cpp.

◆ pcmLen

uint32_t VideoAudio::pcmLen = 0

Definition at line 38 of file VideoController.cpp.

◆ pcmPos

uint32_t VideoAudio::pcmPos = 0

Definition at line 37 of file VideoController.cpp.

◆ rate

uint32_t VideoAudio::rate = 0

Definition at line 44 of file VideoController.cpp.

◆ ring

uint8_t* VideoAudio::ring = nullptr

Definition at line 32 of file VideoController.cpp.

◆ scratch

uint8_t* VideoAudio::scratch = nullptr

Definition at line 40 of file VideoController.cpp.

◆ scratchSize

uint32_t VideoAudio::scratchSize = 0

Definition at line 41 of file VideoController.cpp.

◆ silentRun

uint32_t VideoAudio::silentRun = 0

Definition at line 50 of file VideoController.cpp.

◆ streamOpen

bool VideoAudio::streamOpen = false

Definition at line 53 of file VideoController.cpp.

◆ streamSamples

uint32_t VideoAudio::streamSamples = 0

Definition at line 46 of file VideoController.cpp.


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