newspeoplefor developersdocumentationdownloads

nOggFile Class Reference
[Audio Subsystem]

#include <noggfile.h>

Inheritance diagram for nOggFile:

nAudioFile List of all members.

Detailed Description

Provide read-access to a ogg file.

(C) 2005 Radon Labs GmbH

Definition at line 17 of file noggfile.h.


Public Member Functions

 nOggFile ()
 constructor
virtual ~nOggFile ()
 destructor
virtual bool Open (const nString &filename)
 open the file
virtual void Close ()
 close the file
virtual int GetSize () const
 return size of audio data in file in bytes
virtual WAVEFORMATEX * GetFormat () const
 return pointer to format description
virtual uint Read (void *buffer, uint bytesToRead)
 read bytes from file
virtual bool Reset ()
 reset to beginning of audio data

Constructor & Destructor Documentation

nOggFile::nOggFile  ) 
 

constructor

Definition at line 11 of file noggfile.cc.

nOggFile::~nOggFile  )  [virtual]
 

destructor

Definition at line 21 of file noggfile.cc.


Member Function Documentation

bool nOggFile::Open const nString filename  )  [virtual]
 

open the file

Reimplemented from nAudioFile.

Definition at line 30 of file noggfile.cc.

void nOggFile::Close  )  [virtual]
 

close the file

Reimplemented from nAudioFile.

Definition at line 42 of file noggfile.cc.

int nOggFile::GetSize  )  const [virtual]
 

return size of audio data in file in bytes

Reimplemented from nAudioFile.

Definition at line 57 of file noggfile.cc.

WAVEFORMATEX * nOggFile::GetFormat  )  const [virtual]
 

return pointer to format description

Reimplemented from nAudioFile.

Definition at line 68 of file noggfile.cc.

uint nOggFile::Read void *  buffer,
uint  bytesToRead
[virtual]
 

read bytes from file

Reimplemented from nAudioFile.

Definition at line 93 of file noggfile.cc.

bool nOggFile::Reset  )  [virtual]
 

reset to beginning of audio data

Reimplemented from nAudioFile.

Definition at line 79 of file noggfile.cc.


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

Copyright © 1999-2005 by the contributing authors. Ideas, requests, problems: Send feedback.