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

struct stat oldstat

[protected: ]

std::string filename

[protected: ]

bool initOk

[protected: ]

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

[protected: ]

 ~CachedWav ()

[protected: ]

typedef unsigned char uchar

[protected: ]

double samplingRate

long bufferSize

int channelCount

int sampleWidth

unsigned char * buffer

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

[static]

bool  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 ()

memory usage for the cache

Reimplemented from CachedObject.


Generated by: stefan@stefan on Sat Feb 24 19:11:23 2001, using kdoc 2.0a47.