![]() | |
![]() | ![]() |
Entire Class Index | Main Class Index | Cross Index | Global Index |
Static sample in a raw PCM format (no header in file).
Contained in: global
Derived from:
CL_StaticSoundProvider
Derived by:
none
Group: Sound (Sound Providers)
#include <ClanLib/sound.h>
public function member index: |
||
Construction: |
||
static CL_SoundBuffer* | create | (unsigned char* sound_data, int data_size, int bytes_per_sample, bool stereo, int frequency=22050); |
CL_Sample_RawData | (unsigned char* sound_data, int data_size, int bytes_per_sample, bool stereo, int frequency=22050); | |
virtual | ~CL_Sample_RawData | (); |
Operations: |
||
virtual void | lock | (); |
virtual void | unlock | (); |
Attributes: |
||
virtual SoundFormat | get_format | () const; |
virtual int | data_size | () const; |
virtual void* | get_data | () const; |
virtual int | get_frequency | () const; |
private function member index: |
||
Implementation: |
||
void | load_data | (unsigned char* sound_data, int data_size, int bytes_per_sample, bool stereo, int frequency=22050); |