Searched refs:cursound (Results 1 – 6 of 6) sorted by relevance
155 std::list < soundnode >::iterator cursound = soundlist.begin (); in updateSound() local156 while (cursound != soundlist.end ()) { in updateSound()157 cursound->time -= elapsedTime; in updateSound()158 if (cursound->time <= 0.0f) { in updateSound()159 if (cursound->dist < sound_distances[cursound->sound][1]) { in updateSound()161 alSourcei (g_Sources[source], AL_BUFFER, g_Buffers[cursound->sound]); in updateSound()175 float gain = 1.0f - (cursound->dist / sound_distances[cursound->sound][1]); in updateSound()182 alSourcefv (g_Sources[source], AL_POSITION, cursound->pos); in updateSound()193 cursound = soundlist.erase (cursound); in updateSound()195 cursound++; in updateSound()
81 static int cursound = -1; variable191 if (cursound > -1) { in send_sound()201 if (sampsent < sounds[cursound].samplen) { in send_sound()206 amt = sounds[cursound].datalen - offset; in send_sound()212 if (offset >= sounds[cursound].datalen) in send_sound()216 if (sampsent >= sounds[cursound].samplen) in send_sound()217 silencelen = sounds[cursound].silencelen; in send_sound()224 if (sounds[cursound].repeat) { in send_sound()229 cursound = -1; in send_sound()296 cursound = sound; in gentone()[all …]
1700 UINT cursound, nth = 0; local1705 cursound = g_beepsound - NG_WAVE_OFFSET;1709 if (cursound == pb->val) {
1710 UINT cursound, nth = 0; local1715 cursound = g_beepsound - NG_WAVE_OFFSET;1719 if (cursound == pb->val) {