class CachedWav


Full nameArts::CachedWav
Definition#include <arts/cachedwav.h>
InheritsArts::CachedObject [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Static Methods

Public Members

Protected Types

Protected Methods

Protected Members


Detailed Description

std::string filename

filename

[protected]

bool initOk

initOk

[protected]

 CachedWav (Cache *cache, std::string filename)

CachedWav

[protected]

 ~CachedWav ()

~CachedWav

[protected]

typedef unsigned char uchar

uchar

[protected]

double samplingRate

samplingRate

long bufferSize

bufferSize

int channelCount

channelCount

int sampleWidth

sampleWidth

unsigned char * buffer

buffer

CachedWav * load (Cache *cache, std::string filename)

load

[static]

bool  isValid ()

isValid

validity test for the cache - returns false if the object is having reflecting the correct contents anymore (e.g. if the file on the disk has changed), and there is no point in keeping it in the cache any longer

Reimplemented from CachedObject.

int  memoryUsage ()

memoryUsage

memory usage for the cache

Reimplemented from CachedObject.


Generated by: stefan on stefan on Sat Jun 2 23:13:28 2001, using kdoc 2.0a53.