Home
last modified time | relevance | path

Searched refs:sndnum (Results 1 – 25 of 32) sorted by relevance

12

/dports/emulators/quasi88/quasi88-0.6.4/src/snddrv/src/
H A Dsndintrf.c589 (*sound[sndnum].intf.stop)(sound[sndnum].token); in sndintrf_exit_sound()
732 (*sound[sndnum].intf.reset)(sound[sndnum].token); in sndnum_reset()
760 int sndnum; in sndti_get_info_int() local
772 int sndnum; in sndti_get_info_ptr() local
784 int sndnum; in sndti_get_info_fct() local
796 int sndnum; in sndti_get_info_string() local
813 int sndnum; in sndti_set_info_int() local
824 int sndnum; in sndti_set_info_ptr() local
835 int sndnum; in sndti_set_info_fct() local
850 int sndnum; in sndti_reset() local
[all …]
H A Dsndintrf.h192 INT64 sndnum_get_info_int(int sndnum, UINT32 state);
202 #define sndnum_name(sndnum) sndnum_get_info_string(sndnum, SNDINFO_STR_NAME) argument
203 #define sndnum_core_family(sndnum) sndnum_get_info_string(sndnum, SNDINFO_STR_CORE_FAMILY) argument
204 #define sndnum_core_version(sndnum) sndnum_get_info_string(sndnum, SNDINFO_STR_CORE_VERSION) argument
205 #define sndnum_core_file(sndnum) sndnum_get_info_string(sndnum, SNDINFO_STR_CORE_FILE) argument
206 #define sndnum_core_credits(sndnum) sndnum_get_info_string(sndnum, SNDINFO_STR_CORE_CREDITS) argument
209 void sndnum_reset(int sndnum);
210 int sndnum_clock(int sndnum);
211 void *sndnum_token(int sndnum);
272 void sndintrf_exit_sound(int sndnum);
[all …]
H A Dsound.c160 int sndnum; in find_sound_by_tag() local
163 for (sndnum = 0; sndnum < totalsnd; sndnum++) in find_sound_by_tag()
255 int sndnum; in sound_exit() local
284 for (sndnum = 0; sndnum < MAX_SOUND; sndnum++) in sound_exit()
311 int sndnum; in start_sound_chips() local
317 for (sndnum = 0; sndnum < MAX_SOUND; sndnum++) in start_sound_chips()
440 for (sndnum = 0; sndnum < totalsnd; sndnum++) in route_sound()
486 for (sndnum = 0; sndnum < totalsnd; sndnum++) in route_sound()
552 int sndnum; in sound_reset() local
555 for (sndnum = 0; sndnum < MAX_SOUND; sndnum++) in sound_reset()
[all …]
/dports/games/rottdc/rottdc-1.0-2/rott/
H A Drt_sound.c121 if (sndnum>=MAXSOUNDS) in SD_MakeCacheable()
126 sounds[sndnum].count--; in SD_MakeCacheable()
127 if (sounds[sndnum].count>0) in SD_MakeCacheable()
326 if (sndnum>=MAXSOUNDS) in SD_SoundOkay()
329 if (SoundOffset(sndnum)==-1) in SD_SoundOkay()
374 sounds[sndnum].count++; in SD_PlayIt()
382 sounds[sndnum].priority, (unsigned long) sndnum ); in SD_PlayIt()
387 sounds[sndnum].priority, (unsigned long) sndnum ); in SD_PlayIt()
398 sounds[sndnum].priority, (unsigned long) sndnum ); in SD_PlayIt()
404 sounds[sndnum].priority, (unsigned long) sndnum ); in SD_PlayIt()
[all …]
H A Drt_sound.h501 int SD_Play ( int sndnum );
504 int SD_PlayPositionedSound ( int sndnum, int px, int py, int x, int y );
505 int SD_PlaySoundRTP ( int sndnum, int x, int y );
509 int SD_Play3D ( int sndnum, int angle, int distance );
510 int SD_PlayPitchedSound ( int sndnum, int volume, int pitch );
511 void SD_SetSoundPitch ( int sndnum, int pitch );
512 boolean SD_SoundOkay ( int sndnum );
H A D_rt_soun.h110 int SD_PlayIt ( int sndnum, int angle, int distance, int pitch );
111 boolean SD_SoundOkay ( int sndnum );
/dports/games/NBlood/NBlood-a1689a4/source/tekwar/src/
H A Dteksnd.cpp41 int sndnum;
92 dsoundptr[i]->sndnum=0;
97 dsoundptr[i]->sndnum=-1;
135 lsoundptr[i]->sndnum=0;
140 lsoundptr[i]->sndnum=-1;
181 dsoundptr[i]->sndnum=0;
186 dsoundptr[i]->sndnum=-1;
445 dsoundptr[i]->sndnum=-1;
456 dsoundptr[i]->sndnum=sn;
481 dsoundptr[i]->sndnum=-1;
[all …]
/dports/games/NBlood/NBlood-a1689a4/source/rr/src/
H A Dsounds.cpp820 int sndnum; in S_PlaySound() local
841 sndnum = S_GetSlot(num); in S_PlaySound()
843 if (sndnum >= MAXSOUNDINSTANCES) in S_PlaySound()
879 snd.voices[sndnum].owner = -1; in S_PlaySound()
880 snd.voices[sndnum].id = voice; in S_PlaySound()
881 snd.voices[sndnum].dist = 255 - LOUDESTVOLUME; in S_PlaySound()
882 snd.voices[sndnum].clock = 0; in S_PlaySound()
982 int sndnum = 0; in S_Update() local
987 if (g_sounds[sndnum].num == 0) in S_Update()
990 for (auto &voice : g_sounds[sndnum].voices) in S_Update()
[all …]
/dports/games/NBlood/NBlood-a1689a4/source/sw/src/
H A Djsector.cpp106 short sndnum = -1; in CheckTileSound() local
115 sndnum = DIGI_ERUPTION; in CheckTileSound()
118 sndnum = DIGI_LAVAFLOW1; in CheckTileSound()
124 sndnum = DIGI_ENGROOM1; in CheckTileSound()
127 sndnum = DIGI_JET; in CheckTileSound()
130 sndnum = DIGI_ENGROOM5; in CheckTileSound()
139 sndnum = DIGI_ENGROOM4; in CheckTileSound()
142 sndnum = DIGI_ENGROOM5; in CheckTileSound()
160 sndnum = -1; in CheckTileSound()
163 return sndnum; in CheckTileSound()
[all …]
/dports/games/jfsw/jfsw-c434002/src/
H A Djsector.c109 short sndnum = -1; in CheckTileSound() local
118 sndnum = DIGI_ERUPTION; in CheckTileSound()
121 sndnum = DIGI_LAVAFLOW1; in CheckTileSound()
127 sndnum = DIGI_ENGROOM1; in CheckTileSound()
130 sndnum = DIGI_JET; in CheckTileSound()
133 sndnum = DIGI_ENGROOM5; in CheckTileSound()
142 sndnum = DIGI_ENGROOM4; in CheckTileSound()
145 sndnum = DIGI_ENGROOM5; in CheckTileSound()
163 sndnum = -1; in CheckTileSound()
166 return (sndnum); in CheckTileSound()
[all …]
/dports/games/NBlood/NBlood-a1689a4/source/duke3d/src/
H A Dsounds.cpp802 int sndnum = VM_OnEventWithReturn(EVENT_SOUND, g_player[screenpeek].ps->i, screenpeek, num); in S_PlaySound() local
807 num = sndnum; in S_PlaySound()
827 sndnum = S_GetSlot(num); in S_PlaySound()
829 if (sndnum >= MAXSOUNDINSTANCES) in S_PlaySound()
840 (num * MAXSOUNDINSTANCES) + sndnum); in S_PlaySound()
851 S_SetProperties(&snd.voices[sndnum], -1, voice, 255-LOUDESTVOLUME, 0); in S_PlaySound()
956 int sndnum = 0; in S_Update() local
961 if (g_sounds[sndnum].num == 0) in S_Update()
966 for (auto &voice : g_sounds[sndnum].voices) in S_Update()
975 …S_CalcDistAndAng(spriteNum, sndnum, cs, ca, c, (const vec3_t *)&sprite[spriteNum], &sndist, &sndan… in S_Update()
[all …]
/dports/games/ags/ags_linux_v.3.4.4.1/Engine/ac/
H A Dglobal_audio.cpp49 void PlayAmbientSound (int channel, int sndnum, int vol, int x, int y) { in PlayAmbientSound() argument
56 ScriptAudioClip *aclip = GetAudioClipForOldStyleNumber(game, false, sndnum); in PlayAmbientSound()
63 (ambient[channel].num != sndnum)) { in PlayAmbientSound()
71 debug_script_warn ("Cannot load ambient sound %d", sndnum); in PlayAmbientSound()
72 debug_script_log("FAILED to load ambient sound %d", sndnum); in PlayAmbientSound()
76 debug_script_log("Playing ambient sound %d on channel %d", sndnum, channel); in PlayAmbientSound()
84 ambient[channel].num = sndnum; in PlayAmbientSound()
H A Dglobal_audio.h22 void PlayAmbientSound (int channel, int sndnum, int vol, int x, int y);
/dports/games/heretic/glheretic-1.2/sndserv/
H A Dsoundsrv.c573 int sndnum; in main() local
662 sndnum = (commandbuf[0]<<4) + commandbuf[1]; in main()
668 handle = addsfx(sndnum, vol, step, sep); in main()
688 sndnum = (commandbuf[0]<<4) + commandbuf[1]; in main()
689 write(fd, S_sfx[sndnum].data, lengths[sndnum]); in main()
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/object/
H A Dobjectsnd.h43 int obj_snd_assign(int objnum, gamesnd_id sndnum, const vec3d *pos, int flags = 0, const ship_subsy…
49 void obj_snd_delete_type(int objnum, gamesnd_id sndnum = gamesnd_id(), ship_subsys *ss = NULL);
H A Dobjectsnd.cpp701 int obj_snd_assign(int objnum, gamesnd_id sndnum, const vec3d *pos, int flags, const ship_subsys *a… in obj_snd_assign() argument
708 if(!sndnum.isValid()) in obj_snd_assign()
750 snd->id = sndnum; in obj_snd_assign()
803 void obj_snd_delete_type(int objnum, gamesnd_id sndnum, ship_subsys *ss) in obj_snd_delete_type() argument
826 if(((sndnum.isValid()) && (osp->id != sndnum)) in obj_snd_delete_type()
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/object/
H A Dobjectsnd.h39 int obj_snd_assign(int objnum, int sndnum, vec3d *pos, int main, int flags=0, ship_subsys *associat…
45 void obj_snd_delete_type(int objnum, int sndnum = -1, ship_subsys *ss = NULL);
H A Dobjectsnd.cpp686 int obj_snd_assign(int objnum, int sndnum, vec3d *pos, int main, int flags, ship_subsys *associated… in obj_snd_assign() argument
691 if(sndnum < 0) in obj_snd_assign()
737 snd->id = sndnum; in obj_snd_assign()
793 void obj_snd_delete_type(int objnum, int sndnum, ship_subsys *ss) in obj_snd_delete_type() argument
816 if(((sndnum != -1) && (osp->id != sndnum)) in obj_snd_delete_type()
/dports/games/scummvm/scummvm-2.5.1/engines/ags/engine/ac/
H A Dglobal_audio.cpp54 void PlayAmbientSound(int channel, int sndnum, int vol, int x, int y) { in PlayAmbientSound() argument
61 ScriptAudioClip *aclip = GetAudioClipForOldStyleNumber(_GP(game), false, sndnum); in PlayAmbientSound()
67 (_GP(ambient)[channel].num != sndnum)) { in PlayAmbientSound()
75 debug_script_warn("Cannot load ambient sound %d", sndnum); in PlayAmbientSound()
76 debug_script_log("FAILED to load ambient sound %d", sndnum); in PlayAmbientSound()
80 debug_script_log("Playing ambient sound %d on channel %d", sndnum, channel); in PlayAmbientSound()
88 _GP(ambient)[channel].num = sndnum; in PlayAmbientSound()
H A Dglobal_audio.h29 void PlayAmbientSound(int channel, int sndnum, int vol, int x, int y);
/dports/games/d2x/d2x-0.2.5/main/
H A Ddigi.h177 extern void digi_play_sample( int sndnum, fix max_volume );
178 extern void digi_play_sample_once( int sndnum, fix max_volume );
/dports/games/dxx-rebirth/dxx-rebirth_20211220-src/common/main/
H A Ddigi.h65 extern void digi_play_sample( int sndnum, fix max_volume );
66 extern void digi_play_sample_once( int sndnum, fix max_volume );
/dports/games/zdoom/zdoom-2.8.1/src/
H A Ds_advsound.cpp1692 int sndnum = PlayerSounds[listidx].LookupSound (S_sfx[refid].link); in S_LookupPlayerSound() local
1696 (sndnum == 0 || in S_LookupPlayerSound()
1697 ((S_sfx[sndnum].lumpnum == -1 || S_sfx[sndnum].lumpnum == sfx_empty) && in S_LookupPlayerSound()
1698 S_sfx[sndnum].link == sfxinfo_t::NO_LINK && in S_LookupPlayerSound()
1699 !S_sfx[sndnum].bPlayerSilent))) in S_LookupPlayerSound()
1710 return sndnum; in S_LookupPlayerSound()
2278 int sndnum = S_FindSound(amb->sound); in Activate() local
2279 if (sndnum == 0) in Activate()
2284 amb->periodmin = Scale(S_GetMSLength(sndnum), TICRATE, 1000); in Activate()
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/sound/
H A Dsound.h76 int snd_unload( int sndnum );
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/sound/
H A Dsound.h132 int snd_unload(sound_load_id sndnum);

12