Lines Matching refs:v
104 static void stop_voice (DEMO_VOICE *v);
179 static void stop_voice(DEMO_VOICE *v) in stop_voice() argument
189 if (v == &demo_voices[i]) in stop_voice()
264 DEMO_VOICE *v; in play_sfx() local
279 v = &demo_voices[ax_v->index]; in play_sfx()
282 v->sp_entry = SPGetSoundEntry(sp_table, sfx); in play_sfx()
284 SPPrepareSound(v->sp_entry, v->ax_voice, (v->sp_entry)->sampleRate); in play_sfx()
287 MIXInitChannel(v->ax_voice, 0, 0, 0, -960, -960, panX, 127-panY, 0); in play_sfx()
288 AXSetVoiceState(v->ax_voice, AX_PB_STATE_RUN); in play_sfx()
294 v = NULL; in play_sfx()
300 return(v); in play_sfx()
353 AXVPB *v; in ax_drop_voice_callback() local
355 v = (AXVPB *)p; in ax_drop_voice_callback()
357 MIXReleaseChannel(demo_voices[v->index].ax_voice); in ax_drop_voice_callback()
358 demo_voices[v->index].ax_voice = NULL; in ax_drop_voice_callback()
359 demo_voices[v->index].sp_entry = NULL; in ax_drop_voice_callback()