Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

ark::SoundFile Class Reference

#include <SoundResource.h>

Inheritance diagram for ark::SoundFile:

ark::SoundResource ark::SoundFile_libsndfile List of all members.

Public Member Functions

 SoundFile (std::string path)
virtual unsigned read (Sample **chunk, unsigned frames)=0
virtual unsigned frameCount () const =0
virtual bool knowsFrameCount () const
virtual unsigned seek (int, bool=false)=0
virtual bool canSeek () const
virtual unsigned write (SoundChunk &chunk)=0
virtual bool canWrite () const
std::string const & filePath () const

Protected Member Functions

void _setPath (std::string const &p)

Private Attributes

std::string _path

Detailed Description

SoundFile An extremely simple base class interface for sound file access.


Constructor & Destructor Documentation

ark::SoundFile::SoundFile std::string  path  )  [inline]
 


Member Function Documentation

void ark::SoundFile::_setPath std::string const &  p  )  [inline, protected]
 

virtual bool ark::SoundFile::canSeek  )  const [inline, virtual]
 

Reimplemented from ark::SoundResource.

virtual bool ark::SoundFile::canWrite  )  const [inline, virtual]
 

Reimplemented from ark::SoundResource.

std::string const& ark::SoundFile::filePath  )  const [inline]
 

virtual unsigned ark::SoundFile::frameCount  )  const [pure virtual]
 

Reimplemented from ark::SoundResource.

Implemented in ark::SoundFile_libsndfile.

virtual bool ark::SoundFile::knowsFrameCount  )  const [inline, virtual]
 

Reimplemented from ark::SoundResource.

virtual unsigned ark::SoundFile::read Sample **  chunk,
unsigned  frames
[pure virtual]
 

Implements ark::SoundResource.

Implemented in ark::SoundFile_libsndfile.

virtual unsigned ark::SoundFile::seek int  ,
bool  = false
[pure virtual]
 

Reimplemented from ark::SoundResource.

Implemented in ark::SoundFile_libsndfile.

virtual unsigned ark::SoundFile::write SoundChunk chunk  )  [pure virtual]
 

Reimplemented from ark::SoundResource.

Implemented in ark::SoundFile_libsndfile.


Member Data Documentation

std::string ark::SoundFile::_path [private]
 


The documentation for this class was generated from the following file:
Generated on Tue Sep 6 14:54:42 2005 for Arkonnekt Sound by  doxygen 1.4.4