Project

General

Profile

Audio Scol plugin 1.0
Audio Scol plugin based on CAudio library
Inheritance diagram for cScolFileSource:

Public Member Functions

 cScolFileSource (const char *filename)
 
virtual bool isValid ()
 
virtual int getCurrentPos ()
 
virtual int getSize ()
 
virtual int read (void *output, int size)
 
virtual bool seek (int amount, bool relative)
 

Protected Attributes

bool Valid
 Holds if valid

 
int Filesize
 Holds file size.
 
FILE * pFile
 File stream.
 

Detailed Description

Definition at line 18 of file audio.h.

Constructor & Destructor Documentation

◆ cScolFileSource()

cScolFileSource::cScolFileSource ( const char *  filename)

Definition at line 10 of file audio.cpp.

◆ ~cScolFileSource()

cScolFileSource::~cScolFileSource ( )

Definition at line 30 of file audio.cpp.

Member Function Documentation

◆ getCurrentPos()

int cScolFileSource::getCurrentPos ( )
virtual

Definition at line 41 of file audio.cpp.

◆ getSize()

int cScolFileSource::getSize ( )
virtual

Definition at line 46 of file audio.cpp.

◆ isValid()

bool cScolFileSource::isValid ( )
virtual

Definition at line 36 of file audio.cpp.

◆ read()

int cScolFileSource::read ( void *  output,
int  size 
)
virtual

Definition at line 51 of file audio.cpp.

◆ seek()

bool cScolFileSource::seek ( int  amount,
bool  relative 
)
virtual

Definition at line 56 of file audio.cpp.

Member Data Documentation

◆ Filesize

int cScolFileSource::Filesize
protected

Holds file size.

Definition at line 34 of file audio.h.

◆ pFile

FILE* cScolFileSource::pFile
protected

File stream.

Definition at line 36 of file audio.h.

◆ Valid

bool cScolFileSource::Valid
protected

Holds if valid

Definition at line 32 of file audio.h.


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