Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

audiere::UnseekableSource Class Reference

#include <utility.h>

Inheritance diagram for audiere::UnseekableSource:

Inheritance graph
[legend]
Collaboration diagram for audiere::UnseekableSource:

Collaboration graph
[legend]
List of all members.

Public Methods

bool ADR_CALL isSeekable ()
int ADR_CALL getLength ()
void ADR_CALL setPosition (int)
int ADR_CALL getPosition ()

Member Function Documentation

int ADR_CALL audiere::UnseekableSource::getLength   [inline, virtual]
 

Returns :
number of frames in the stream, or 0 if the stream is not seekable

Implements audiere::SampleSource.

Definition at line 93 of file utility.h.

References ADR_CALL.

int ADR_CALL audiere::UnseekableSource::getPosition   [inline, virtual]
 

Returns the current position within the sample source.

Returns :
current position in frames

Implements audiere::SampleSource.

Definition at line 95 of file utility.h.

References ADR_CALL.

bool ADR_CALL audiere::UnseekableSource::isSeekable   [inline, virtual]
 

Returns :
true if the stream is seekable, false otherwise

Implements audiere::SampleSource.

Definition at line 92 of file utility.h.

References ADR_CALL.

void ADR_CALL audiere::UnseekableSource::setPosition int    [inline, virtual]
 

Sets the current position within the sample source. If the stream is not seekable, this method does nothing.

Parameters:
position  current position in frames

Implements audiere::SampleSource.

Definition at line 94 of file utility.h.

References ADR_CALL.


The documentation for this class was generated from the following file:
Generated on Sat Oct 12 01:44:36 2002 for audiere by doxygen1.2.17