Lines Matching refs:v
99 static void stop_voice (DEMO_VOICE *v);
174 static void stop_voice(DEMO_VOICE *v) in stop_voice() argument
184 if (v == &demo_voices[i]) in stop_voice()
259 DEMO_VOICE *v; in play_sfx() local
274 v = &demo_voices[ax_v->index]; in play_sfx()
277 v->sp_entry = SPGetSoundEntry(sp_table, sfx); in play_sfx()
279 SPPrepareSound(v->sp_entry, v->ax_voice, (v->sp_entry)->sampleRate); in play_sfx()
282 MIXInitChannel(v->ax_voice, 0, 0, 0, -960, -960, panX, 127-panY, 0); in play_sfx()
283 AXSetVoiceState(v->ax_voice, AX_PB_STATE_RUN); in play_sfx()
289 v = NULL; in play_sfx()
295 return(v); in play_sfx()
348 AXVPB *v; in ax_drop_voice_callback() local
350 v = (AXVPB *)p; in ax_drop_voice_callback()
352 MIXReleaseChannel(demo_voices[v->index].ax_voice); in ax_drop_voice_callback()
353 demo_voices[v->index].ax_voice = NULL; in ax_drop_voice_callback()
354 demo_voices[v->index].sp_entry = NULL; in ax_drop_voice_callback()