Risk-Aware Code Review: Auto Approve Low-Risk Changes
LiveReview LiveReview LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt GitHub Install Now

We'd appreciate a star

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

Description

       Switches an already-allocated voice to use a different sample. Calling reallocate_voice(voice, sample) is
       equivalent to:

          deallocate_voice(voice);
          voice = allocate_voice(sample);

Name

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

See Also

allocate_voice(3alleg4), deallocate_voice(3alleg4), load_sample(3alleg4)

Allegro                                           version 4.4.3                        reallocate_voice(3alleg4)

Synopsis

#include<allegro.h>voidreallocate_voice(intvoice,constSAMPLE*spl);

See Also