RAPP Platform API
 All Classes Namespaces Files Functions Variables Typedefs
rapp::object::nao_single_channel_wav Class Reference

WAV Class specialisation for a single channel. More...

#include <audio.hpp>

Inheritance diagram for rapp::object::nao_single_channel_wav:
Collaboration diagram for rapp::object::nao_single_channel_wav:

Public Member Functions

 nao_single_channel_wav (const std::string filepath)
 
 nao_single_channel_wav (std::ifstream &bytestream)
 
std::string audio_source () const
 
std::string extension () const
 
- Public Member Functions inherited from rapp::object::audio
 audio (const std::string filepath)
 Construct from a file on disk. More...
 
 audio (std::ifstream &bytestream)
 Construct using an open file stream. More...
 
 audio (std::vector< rapp::types::byte > bytearray)
 construct using an existing byte-array More...
 
 audio (const audio &)=default
 Copy constructor. More...
 
std::vector< rapp::types::bytebytearray () const
 Get audio as array of bytes. More...
 
audiooperator= (const audio &)=default
 Assignment operator. More...
 
bool operator== (const audio &rhs) const
 Are audios same ? More...
 
bool save (const std::string filepath)
 Save audio to filepath. More...
 

Detailed Description

WAV Class specialisation for a single channel.

Definition at line 120 of file audio.hpp.

Constructor & Destructor Documentation

rapp::object::nao_single_channel_wav::nao_single_channel_wav ( const std::string  filepath)

Definition at line 124 of file audio.hpp.

rapp::object::nao_single_channel_wav::nao_single_channel_wav ( std::ifstream &  bytestream)

Definition at line 127 of file audio.hpp.

Member Function Documentation

std::string rapp::object::nao_single_channel_wav::audio_source ( ) const
virtual

Reimplemented from rapp::object::audio.

Definition at line 130 of file audio.hpp.

std::string rapp::object::nao_single_channel_wav::extension ( ) const
virtual

Reimplemented from rapp::object::audio.

Definition at line 133 of file audio.hpp.


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