Home
last modified time | relevance | path

Searched refs:cursound (Results 1 – 6 of 6) sorted by relevance

/dports/graphics/reallyslick/rss-glx_0.9.1/src/
H A Dskyrocket_sound.cpp155 std::list < soundnode >::iterator cursound = soundlist.begin (); in updateSound() local
156 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()
/dports/net/iaxmodem/iaxmodem-1.2.0/lib/libiax2/src/
H A Dminiphone.c81 static int cursound = -1; variable
191 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 …]
/dports/games/flightgear/flightgear-2020.3.11/3rdparty/iaxclient/lib/libiax2/src/
H A Dminiphone.c81 static int cursound = -1; variable
191 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 …]
/dports/japanese/ng/ng-1.4.4/sys/win32/
H A Dwinmain.c1700 UINT cursound, nth = 0; local
1705 cursound = g_beepsound - NG_WAVE_OFFSET;
1709 if (cursound == pb->val) {
/dports/japanese/ng-canna/ng-1.4.4/sys/win32/
H A Dwinmain.c1700 UINT cursound, nth = 0; local
1705 cursound = g_beepsound - NG_WAVE_OFFSET;
1709 if (cursound == pb->val) {
/dports/japanese/ng-devel/ng-1.5beta1/sys/win32/
H A Dwinmain.c1710 UINT cursound, nth = 0; local
1715 cursound = g_beepsound - NG_WAVE_OFFSET;
1719 if (cursound == pb->val) {