Home | All Classes | Grouped Classes | Index | Search

CL_Sound::add_card_preload

Adds 'card' to the preloaded soundcards list.

	void add_card_preload(
		CL_SoundCard* card);

Parameters:

card
The card to be added to the preload list.

Detailed description:

This means all soundbuffers will be automatically preloaded onto the card. By default the first card is always on the preload list.

If a card isn't on the list, the soundbuffer's data will first be loaded when the sample is actually played for the first time.

See also:

CL_Sound



Questions or comments, write to the ClanLib mailing list.