search for: readpart

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

Did you mean: readpar
2000 Aug 07
1
Starting at square one with Vorbis...
...les) 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 Vorbis file data to raw digital data that the DirectX sound driver can use. As such, I want to write a version of the above struct (well, the actual version has a little more than...