Home | All Classes | Grouped Classes | Index | Search

Class CL_StaticSoundProvider

Static Soundprovider class. More...

Derived from: none
Derived by: CL_Sample CL_Sample_RawData
Group: Sound (Audio Mixing)

#include <ClanLib/sound.h>

Construction:

Operations:

lock

Locks the soundprovider.

unlock

Unlocks the soundprovider.

Attributes:

get_format

Returns the soundformat of the data stored by the provider.

data_size

Returns the total size in bytes of the data stored.

get_data

Returns a pointer to the data stored.

get_frequency

Returns the frequency of the data stored.

Detailed description:

The static soundprovider provides the data for any static (non-streamed) samples played using the ClanLib sound system.



Questions or comments, write to the
ClanLib mailing list.