search for: sourcedatasourceinterface

Displaying 1 result from an estimated 1 matches for "sourcedatasourceinterface".

2000 Aug 07
1
Starting at square one with Vorbis...
...s to stream music off the HD in my DirectX app. Currently, we have a generic streamer that writes raw digital sound data into the primary sound buffer. We plug sound sources (e.g. wav files, PCM files) into this streamer by having the sound sources have an interface something like this: class SourceDataSourceInterface{ virtual bool Init(char* pSource) = 0; virtual bool Shutdown() = 0; virtual bool ReadFull(char** pDest, int* size) = 0; virtual int ReadPart(char* pDest, int size) = 0; virtual void* GetFormat() = 0; }; I want to write some code that can convert...