![]() | |
| Entire Class Index | Main Class Index | Cross Index | Global Index |
ClanLib's datafile samples. This class can read samples from datafiles.
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 | (const std::string& sample_id, CL_InputSourceProvider* provider); |
| CL_Sample | (const std::string& sample_id, CL_InputSourceProvider* _provider); | |
| virtual | ~CL_Sample | (); |
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 | (); |