Lines Matching refs:v
102 static void stop_voice (DEMO_VOICE *v);
177 static void stop_voice(DEMO_VOICE *v) in stop_voice() argument
187 if (v == &demo_voices[i]) in stop_voice()
262 DEMO_VOICE *v; in play_sfx() local
277 v = &demo_voices[ax_v->index]; in play_sfx()
280 v->sp_entry = SPGetSoundEntry(sp_table, sfx); in play_sfx()
282 SPPrepareSound(v->sp_entry, v->ax_voice, (v->sp_entry)->sampleRate); in play_sfx()
285 MIXInitChannel(v->ax_voice, 0, 0, 0, -960, -960, panX, 127-panY, 0); in play_sfx()
286 AXSetVoiceState(v->ax_voice, AX_PB_STATE_RUN); in play_sfx()
292 v = NULL; in play_sfx()
298 return(v); in play_sfx()
351 AXVPB *v; in ax_drop_voice_callback() local
353 v = (AXVPB *)p; in ax_drop_voice_callback()
355 MIXReleaseChannel(demo_voices[v->index].ax_voice); in ax_drop_voice_callback()
356 demo_voices[v->index].ax_voice = NULL; in ax_drop_voice_callback()
357 demo_voices[v->index].sp_entry = NULL; in ax_drop_voice_callback()