#include <static_provider_wave.h>
Inheritance diagram for CL_Sample:


Public Methods | |
| CL_Sample (const char *s_id, CL_InputSourceProvider *_provider) | |
| virtual | ~CL_Sample () |
| 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 (const char *sample_id, CL_InputSourceProvider *provider) |
Private Methods | |
| void | load_data () |
Private Attributes | |
| CL_InputSourceProvider* | provider |
| std::string | sample_id |
| char* | sample_data |
| SoundFormat | sample_format |
| int | sample_size |
| int | sample_freq |
Definition at line 27 of file static_provider_wave.h.
|
|
|
|
|
|
|
|
|
|
|
retval: The soundformat of the data stored.
Reimplemented from CL_StaticSoundProvider. |
|
|
retval: Size of data stored (in bytes).
Reimplemented from CL_StaticSoundProvider. |
|
|
Reimplemented from CL_StaticSoundProvider. |
|
|
retval: A pointer to the data stored.
Reimplemented from CL_StaticSoundProvider. |
|
|
|
|
|
Reimplemented from CL_StaticSoundProvider. |
|
|
Reimplemented from CL_StaticSoundProvider. |
|
|
Definition at line 73 of file static_provider_wave.h. |
|
|
Definition at line 76 of file static_provider_wave.h. |
|
|
Definition at line 77 of file static_provider_wave.h. |
|
|
Definition at line 79 of file static_provider_wave.h. |
|
|
Definition at line 74 of file static_provider_wave.h. |
|
|
Definition at line 78 of file static_provider_wave.h. |
1.2.6 written by Dimitri van Heesch,
© 1997-2001