![]() | |
![]() | ![]() |
CL_Streamed_RawSampleStreamed sample in raw PCM format (no header). Parents: public CL_StreamSoundProvider DescriptionThis class providers playback support for raw PCM samples. That is just the PCM sample data, not header. Unlike CL_Sample_Raw, this class doesn't load the entire PCM stream into memory. Instead it slowly loads it from disk as the data is needed. With very large samples, this is a very good idea. If the sample is small and used a lot, you should consider using CL_Sample_Raw instead. Class membersstatic CL_SoundBuffer *create( const char *filename, SoundFormat format, int frequency, CL_InputSourceProvider *inputprovider = NULL, bool looped = false) See Also
|