YARP
Yet Another Robot Platform
yarp::sig::file::soundStreamReader Class Reference

#include <yarp/sig/SoundFile.h>

Public Member Functions

 soundStreamReader ()
 
 ~soundStreamReader ()
 
bool open (const char *filename)
 
bool close ()
 
size_t readBlock (Sound &dest, size_t block_size)
 
bool rewind (size_t sample_offset=0)
 
size_t getIndex ()
 

Detailed Description

Definition at line 35 of file SoundFile.h.

Constructor & Destructor Documentation

◆ soundStreamReader()

yarp::sig::file::soundStreamReader::soundStreamReader ( )
inline

Definition at line 51 of file SoundFile.h.

◆ ~soundStreamReader()

yarp::sig::file::soundStreamReader::~soundStreamReader ( )
inline

Definition at line 58 of file SoundFile.h.

Member Function Documentation

◆ close()

bool yarp::sig::file::soundStreamReader::close ( )

Definition at line 333 of file SoundFile.cpp.

◆ getIndex()

size_t yarp::sig::file::soundStreamReader::getIndex ( )

Definition at line 394 of file SoundFile.cpp.

◆ open()

bool yarp::sig::file::soundStreamReader::open ( const char *  filename)

Definition at line 302 of file SoundFile.cpp.

◆ readBlock()

size_t yarp::sig::file::soundStreamReader::readBlock ( Sound dest,
size_t  block_size 
)

Definition at line 347 of file SoundFile.cpp.

◆ rewind()

bool yarp::sig::file::soundStreamReader::rewind ( size_t  sample_offset = 0)

Definition at line 374 of file SoundFile.cpp.

Member Data Documentation

◆ bits

int yarp::sig::file::soundStreamReader::bits

Definition at line 45 of file SoundFile.h.

◆ channels

int yarp::sig::file::soundStreamReader::channels

Definition at line 44 of file SoundFile.h.

◆ data_start_offset

size_t yarp::sig::file::soundStreamReader::data_start_offset

Definition at line 47 of file SoundFile.h.

◆ freq

int yarp::sig::file::soundStreamReader::freq

Definition at line 43 of file SoundFile.h.

◆ samples

int yarp::sig::file::soundStreamReader::samples

Definition at line 46 of file SoundFile.h.


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