Yet Another Robot Platform
No Matches
yarp::sig::file::soundStreamReader Class Reference

#include <yarp/sig/SoundFile.h>

Public Member Functions

 soundStreamReader ()=default
 ~soundStreamReader ()=default
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 37 of file SoundFile.h.

Constructor & Destructor Documentation

◆ soundStreamReader()

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

◆ ~soundStreamReader()

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

Member Function Documentation

◆ close()

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

Definition at line 108 of file SoundFile.cpp.

◆ getIndex()

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

Definition at line 141 of file SoundFile.cpp.

◆ open()

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

Definition at line 94 of file SoundFile.cpp.

◆ readBlock()

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

Definition at line 116 of file SoundFile.cpp.

◆ rewind()

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

Definition at line 130 of file SoundFile.cpp.

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