Lines Matching refs:v
107 static void stop_voice (DEMO_VOICE *v);
182 static void stop_voice(DEMO_VOICE *v) in stop_voice() argument
192 if (v == &demo_voices[i]) in stop_voice()
267 DEMO_VOICE *v; in play_sfx() local
282 v = &demo_voices[ax_v->index]; in play_sfx()
285 v->sp_entry = SPGetSoundEntry(sp_table, sfx); in play_sfx()
287 SPPrepareSound(v->sp_entry, v->ax_voice, (v->sp_entry)->sampleRate); in play_sfx()
290 MIXInitChannel(v->ax_voice, 0, 0, 0, -960, -960, panX, 127-panY, 0); in play_sfx()
291 AXSetVoiceState(v->ax_voice, AX_PB_STATE_RUN); in play_sfx()
297 v = NULL; in play_sfx()
303 return(v); in play_sfx()
356 AXVPB *v; in ax_drop_voice_callback() local
358 v = (AXVPB *)p; in ax_drop_voice_callback()
360 MIXReleaseChannel(demo_voices[v->index].ax_voice); in ax_drop_voice_callback()
361 demo_voices[v->index].ax_voice = NULL; in ax_drop_voice_callback()
362 demo_voices[v->index].sp_entry = NULL; in ax_drop_voice_callback()