Developer World
Spresense SDK Library v3.3.0-375c679
audiolite_filestream Class Reference
Inheritance diagram for audiolite_filestream:
Collaboration diagram for audiolite_filestream:

Public Member Functions

int rfile (const char *fname)
 
int wfile (const char *fname)
 
int set_file (FILE *fp)
 
void close ()
 
int filesize ()
 
int seek (int size)
 
int seekcur (int size)
 
int seekend (int size)
 
bool has_file ()
 
int read_data (void *data, int sz, int toms)
 
int write_data (void *data, int sz, int toms)
 
int receive_data (audiolite_mem *mem, int ofst, int toms)
 
int send_data (audiolite_mem *mem, int ofst, int toms)
 
virtual int rfile (const char *fname)=0
 
virtual int wfile (const char *fname)=0
 
virtual void close ()=0
 
virtual int filesize ()=0
 
virtual int seek (int size)=0
 
virtual int seekcur (int size)=0
 
virtual int seekend (int size)=0
 
virtual bool has_file ()=0
 
virtual int read_data (void *data, int sz, int toms)=0
 
virtual int write_data (void *data, int sz, int toms)=0
 
virtual int receive_data (audiolite_mem *mem, int ofst, int toms)=0
 
virtual int send_data (audiolite_mem *mem, int ofst, int toms)=0
 

Member Function Documentation

◆ rfile()

int rfile ( const char *  fname)
virtual

Implements audiolite_stream.

◆ wfile()

int wfile ( const char *  fname)
virtual

Implements audiolite_stream.

◆ close()

void close ( )
virtual

Implements audiolite_stream.

◆ filesize()

int filesize ( )
virtual

Implements audiolite_stream.

◆ seek()

int seek ( int  size)
virtual

Implements audiolite_stream.

◆ seekcur()

int seekcur ( int  size)
virtual

Implements audiolite_stream.

◆ seekend()

int seekend ( int  size)
virtual

Implements audiolite_stream.

◆ has_file()

bool has_file ( )
virtual

Implements audiolite_stream.

◆ read_data()

int read_data ( void *  data,
int  sz,
int  toms 
)
virtual

Implements audiolite_stream.

◆ write_data()

int write_data ( void *  data,
int  sz,
int  toms 
)
virtual

Implements audiolite_stream.

◆ receive_data()

int receive_data ( audiolite_mem mem,
int  ofst,
int  toms 
)
virtual

Implements audiolite_stream.

◆ send_data()

int send_data ( audiolite_mem mem,
int  ofst,
int  toms 
)
virtual

Implements audiolite_stream.


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