SIMPLE SOLUTIONS

REALLOCATE_VOICE(3ALLEG4) - Linux man page online | Library functions

Switches the sample of an already-allocated voice. Allegro game programming library.

Chapter
version 4.4.2
reallocate_voice(3alleg4) Allegro manual reallocate_voice(3alleg4)

NAME

reallocate_voice - Switches the sample of an already-allocated voice. Allegro game pro‐ gramming library.

SYNOPSIS

#include <allegro.h> void reallocate_voice(int voice, const SAMPLE *spl);

DESCRIPTION

Switches an already-allocated voice to use a different sample. Calling reallo‐ cate_voice(voice, sample) is equivalent to: deallocate_voice(voice); voice = allocate_voice(sample);

SEE ALSO

allocate_voice(3alleg4), deallocate_voice(3alleg4), load_sample(3alleg4)
Allegro version 4.4.2 reallocate_voice(3alleg4)
This manual Reference Other manuals
reallocate_voice(3alleg4) referred by allocate_voice(3alleg4)
refer to allocate_voice(3alleg4) | deallocate_voice(3alleg4) | load_sample(3alleg4)
Download raw manual
Main page Allegro manual (+923) Allegro (+926) № 3 (+68044)
Go top