#include <static_provider_raw.h>
Inheritance diagram for CL_Sample_RawData:


Public Methods | |
| CL_Sample_RawData (unsigned char *sound_data, int data_size, int bytes_per_sample, bool stereo, int frequency=22050) | |
| virtual | ~CL_Sample_RawData () |
| virtual void | lock () |
| virtual void | unlock () |
| virtual SoundFormat | get_format () const |
| virtual int | data_size () const |
| retval: The soundformat of the data stored. | |
| virtual void* | get_data () const |
| retval: Size of data stored (in bytes). | |
| virtual int | get_frequency () const |
| retval: A pointer to the data stored. | |
Static Public Methods | |
| CL_SoundBuffer* | create (unsigned char *sound_data, int data_size, int bytes_per_sample, bool stereo, int frequency=22050) |
Private Methods | |
| void | load_data (unsigned char *sound_data, int data_size, int bytes_per_sample, bool stereo, int frequency=22050) |
Private Attributes | |
| unsigned char* | sample_data |
| SoundFormat | sample_format |
| int | sample_size |
| int | sample_freq |
Definition at line 27 of file static_provider_raw.h.
|
|
Definition at line 48 of file static_provider_raw.h. Referenced by create(). |
|
|
Definition at line 63 of file static_provider_raw.h. |
|
|
Definition at line 31 of file static_provider_raw.h. |
|
|
retval: The soundformat of the data stored.
Reimplemented from CL_StaticSoundProvider. Definition at line 84 of file static_provider_raw.h. |
|
|
retval: Size of data stored (in bytes).
Reimplemented from CL_StaticSoundProvider. Definition at line 89 of file static_provider_raw.h. |
|
|
Reimplemented from CL_StaticSoundProvider. Definition at line 79 of file static_provider_raw.h. |
|
|
retval: A pointer to the data stored.
Reimplemented from CL_StaticSoundProvider. Definition at line 94 of file static_provider_raw.h. |
|
|
Definition at line 113 of file static_provider_raw.h. Referenced by CL_Sample_RawData(). |
|
|
Reimplemented from CL_StaticSoundProvider. Definition at line 68 of file static_provider_raw.h. |
|
|
Reimplemented from CL_StaticSoundProvider. Definition at line 73 of file static_provider_raw.h. |
|
|
Definition at line 108 of file static_provider_raw.h. |
|
|
Definition at line 109 of file static_provider_raw.h. |
|
|
Definition at line 111 of file static_provider_raw.h. |
|
|
Definition at line 110 of file static_provider_raw.h. |
1.2.6 written by Dimitri van Heesch,
© 1997-2001