Home
last modified time | relevance | path

Searched refs:sound_name (Results 1 – 25 of 171) sorted by relevance

1234567

/dports/games/aisleriot/aisleriot-3.22.19/src/lib/
H A Dar-sound.c48 ar_sound_canberra_play (const char *sound_name, in ar_sound_canberra_play() argument
58 name = g_strdup_printf ("%s.ogg", sound_name); in ar_sound_canberra_play()
84 CA_PROP_MEDIA_NAME, sound_name, in ar_sound_canberra_play()
91 CA_PROP_MEDIA_NAME, sound_name, in ar_sound_canberra_play()
98 CA_PROP_MEDIA_NAME, sound_name, in ar_sound_canberra_play()
108 sound_name, path, ca_strerror (rv)); in ar_sound_canberra_play()
166 ar_sound_play (const gchar * sound_name) in ar_sound_play() argument
184 ar_sound_play_for_screen (const gchar * sound_name, in ar_sound_play_for_screen() argument
188 ar_sound_canberra_play (sound_name, GAMES_SOUND_PLAIN, screen); in ar_sound_play_for_screen()
201 ar_sound_play_for_event (const gchar *sound_name, in ar_sound_play_for_event() argument
[all …]
H A Dar-sound.h32 void ar_sound_play (const gchar *sound_name);
34 void ar_sound_play_for_screen (const gchar *sound_name,
36 void ar_sound_play_for_event (const gchar *sound_name,
38 void ar_sound_play_for_widget (const gchar *sound_name,
/dports/games/torcs/torcs-1.3.7/src/modules/graphic/ssggraph/
H A DSoundInterface.h144 void setSkidSound (const char* sound_name) in setSkidSound() argument
152 void setRoadRideSound (const char* sound_name) in setRoadRideSound() argument
157 void setGrassRideSound (const char* sound_name) in setGrassRideSound() argument
162 void setGrassSkidSound (const char* sound_name) in setGrassSkidSound() argument
167 void setMetalSkidSound (const char* sound_name) in setMetalSkidSound() argument
172 void setAxleSound (const char* sound_name) in setAxleSound() argument
177 void setTurboSound (const char* sound_name) in setTurboSound() argument
194 void setBangSound (const char* sound_name) in setBangSound() argument
200 void setBottomCrashSound (const char* sound_name) in setBottomCrashSound() argument
206 void setBackfireSound (const char* sound_name) in setBackfireSound() argument
[all …]
/dports/games/opensonic/opensnc-src-0.1.4/src/core/
H A Dsoundfactory.c64 sound_t *soundfactory_get(const char *sound_name) in soundfactory_get() argument
66 factorysound_t *f = hashtable_factorysound_t_find(samples, sound_name); in soundfactory_get()
71 resource_filepath(abs_path, sound_name, sizeof(abs_path), RESFP_READ); in soundfactory_get()
72 return sound_load(sound_name); in soundfactory_get()
89 const char *sound_name = "null"; in traverse() local
102 sound_name = nanoparser_get_string(p1); in traverse()
103 if(NULL == hashtable_factorysound_t_find(samples, sound_name)) { in traverse()
106 hashtable_factorysound_t_add(samples, sound_name, f); in traverse()
109 logfile_message("soundfactory: loaded sample '%s'", sound_name); in traverse()
/dports/games/xblast/xblast-2.10.4/
H A Dsdl_sound.c46 } sound_name[] = { variable
342 if (sound_name[id].samples != NULL) { in SND_Load()
343 free (sound_name[id].samples); in SND_Load()
344 sound_name[id].samples = NULL; in SND_Load()
345 sound_name[id].length = 0; in SND_Load()
361 if (mono_mode != XBTrue && sound_name[id].mono == XBTrue) { in SND_Load()
376 sound_name[id].samples = sb; in SND_Load()
377 sound_name[id].length = sound_size; in SND_Load()
387 m = s = sound_name[id].samples; in SND_Load()
389 sound_name[id].length >>= 1; in SND_Load()
[all …]
H A Dxbsndsrv.c144 } sound_name[] = { variable
468 free (sound_name[number].samples);
469 sound_name[number].samples = NULL;
470 sound_name[number].length = 0;
479 sound_name[number].samples = sb;
495 sound_name[number].length >>= 1;
523 if (sound_name[id].samples != NULL) {
524 free (sound_name[id].samples);
525 sound_name[id].samples = NULL;
526 sound_name[id].length = 0;
[all …]
/dports/games/quake-dpmod/quake-dpmod-20130301/dpmod/qc/menu/
H A Dsound.qc34 void(string sound_name) snd_play =
36 localsound(sound_name);
39 string(string sound_name, float complain) snd_loadsound =
43 c = precache_sound(sound_name);
46 error("Couldn't load ", sound_name, " !\n");
50 void(string sound_name) snd_unloadsound =
H A Dsound.qh25 void(string sound_name) snd_play;
27 string(string sound_name, float complain) snd_loadsound;
28 void(string sound_name) snd_unloadsound;
/dports/games/scummvm/scummvm-2.5.1/engines/icb/
H A Dfn_event_functions.cpp641 Zdebug("fn_sound_heard_this(%s)", sound_name); in fn_sound_heard_this()
644 result = g_oSoundLogicEngine->MegaHeardThis(cur_id, sound_name); in fn_sound_heard_this()
654 Zdebug("fn_sound_new_entry(%s)", sound_name); in fn_sound_new_entry()
657 g_oSoundLogicEngine->AddSubscription(cur_id, sound_name); in fn_sound_new_entry()
667 Zdebug("fn_sound_remove_entry(%s)", sound_name); in fn_sound_remove_entry()
670 g_oSoundLogicEngine->RemoveSubscription(cur_id, sound_name); in fn_sound_remove_entry()
704 nHashedSoundID = HashString(sound_name); in fn_sound_get_x()
717 nHashedSoundID = HashString(sound_name); in fn_sound_get_z()
733 nHashedSoundID = HashString(sound_name); in fn_sound_fast_face()
784 nHashedSoundID = HashString(sound_name); in fn_sound_route_to_near()
[all …]
/dports/audio/ncspot/ncspot-0.9.3/cargo-crates/notify-rust-4.5.5/src/
H A Dnotification.rs74 #[cfg(target_os="macos")] pub(crate) sound_name: Option<String>,
75 #[cfg(target_os="windows")] pub(crate) sound_name: Option<String>,
158 pub fn sound_name(&mut self, name: &str) -> &mut Notification {
165 pub fn sound_name(&mut self, name: &str) -> &mut Notification {
166 self.sound_name = Some(name.to_owned());
423 sound_name: Default::default(),
438 sound_name: Default::default(),
H A Dmacos.rs43 &notification.sound_name.as_ref().map(AsRef::as_ref), // sound in show_notification()
54 &notification.sound_name.as_ref().map(AsRef::as_ref), // sound in schedule_notification()
/dports/games/stratagus/stratagus-3.2.0/src/sound/
H A Dscript_sound.cpp62 const char *sound_name; in CclSoundForName() local
65 sound_name = LuaToString(l, -1); in CclSoundForName()
66 id = SoundForName(sound_name); in CclSoundForName()
185 const char *sound_name; in CclMapSound() local
188 sound_name = LuaToString(l, 1); in CclMapSound()
189 MapSound(sound_name, CclGetSound(l)); in CclMapSound()
/dports/games/atris/atris-1.0.7/
H A Dsound.c35 char *sound_name[NUM_SOUND] = { /* english names */ variable
94 sound_name[which], ss->name); in play_sound_unless_already_playing()
158 sound_name[which], ss->name); in play_sound()
253 if (!strncasecmp(buf,sound_name[i],strlen(sound_name[i]))) { in load_sound_style()
265 sound_name[i], p, filename, SDL_GetError()); in load_sound_style()
275 printf(" %s",sound_name[i]); in load_sound_style()
/dports/games/avp/avp-20170505/src/avp/
H A Dpsndproj.c853 static char sound_name[200]; in FindAndLoadWavFile() local
854 sprintf (sound_name, "%s%s", FirstSoundDir,wavFileName); in FindAndLoadWavFile()
860 if(ffreadbuf(sound_name,&nLen)) in FindAndLoadWavFile()
862 return LoadWavFromFastFile(soundNum,sound_name); in FindAndLoadWavFile()
873 FILE* wavFile = OpenGameFile(sound_name, FILEMODE_READONLY, FILETYPE_PERM); in FindAndLoadWavFile()
877 sprintf (sound_name, "%s%s", SecondSoundDir,wavFileName); in FindAndLoadWavFile()
879 wavFile = OpenGameFile(sound_name, FILEMODE_READONLY, FILETYPE_PERM); in FindAndLoadWavFile()
889 return LoadWavFile(soundNum,sound_name) ; in FindAndLoadWavFile()
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/scpui/
H A DSoundPlugin.cpp43 auto sound_name = part.substr(state_end + 1); in parse_sound_value() local
44 drop_white_space(sound_name); in parse_sound_value()
46 auto snd = gamesnd_get_by_iface_name(sound_name.c_str()); in parse_sound_value()
49 error += sound_name; in parse_sound_value()
/dports/games/wyrmgus/Wyrmgus-3.5.4/src/sound/
H A Dscript_sound.cpp63 const char *sound_name; in CclSoundForName() local
66 sound_name = LuaToString(l, -1); in CclSoundForName()
67 id = SoundForName(sound_name); in CclSoundForName()
186 const char *sound_name; in CclMapSound() local
189 sound_name = LuaToString(l, 1); in CclMapSound()
190 MapSound(sound_name, CclGetSound(l)); in CclMapSound()
/dports/games/freedroidrpg/freedroidrpg-0.16.1/src/
H A Dsound.c81 char *sound_name; // Filename of the sound chunk (allocated) member
99 slot->sound_name = NULL; in _SFX_cache_init()
114 free(slot->sound_name); in _SFX_cache_free_slot()
115 slot->sound_name = NULL; in _SFX_cache_free_slot()
180 slot->sound_name = my_strdup((char *)filename); in _SFX_cache_fill_slot()
219 if (!strcmp(SFX_cache.slots[i].sound_name, filename)) { in _SFX_cache_find_filename()
/dports/games/valyriatear/ValyriaTear-1.1.0/src/common/global/media/
H A Dglobal_media.cpp239 void GlobalMedia::_LoadSoundFile(const std::string& sound_name, const std::string& filename) in _LoadSoundFile() argument
241 if (filename.empty() || sound_name.empty()) in _LoadSoundFile()
244 _sounds[sound_name] = new vt_audio::SoundDescriptor(); in _LoadSoundFile()
245 if(!_sounds[sound_name]->LoadAudio(filename)) in _LoadSoundFile()
/dports/games/stratagus/stratagus-3.2.0/src/include/
H A Dsound.h213 extern void MapSound(const std::string &sound_name, CSound *id);
215 extern CSound *SoundForName(const std::string &sound_name);
217 extern CSound *MakeSound(const std::string &sound_name, const std::vector<std::string> &files);
/dports/games/openclonk/openclonk-release-8.1-src/tools/
H A Dlist_unused_sounds.py16 sound_name = os.path.splitext(os.path.basename(sound_path))[0]
20 return get_namespace_ocd(dir_name) + sound_name
23 return get_namespace_ocg(dir_name) + sound_name
26 return sound_name
/dports/games/supertuxkart/SuperTuxKart-1.2-src/src/scriptengine/
H A Dscript_audio.cpp43 void playSound(const std::string* sound_name) in playSound() argument
45 SFXManager::get()->quickSound(*sound_name); in playSound()
/dports/games/wyrmgus/Wyrmgus-3.5.4/src/include/
H A Dsound.h259 extern void MapSound(const std::string &sound_name, CSound *id);
261 extern CSound *SoundForName(const std::string &sound_name);
263 extern CSound *MakeSound(const std::string &sound_name, const std::vector<std::string> &files);
/dports/audio/gbsplay/gbsplay-0.0.94/
H A Dgbsplay.c78 static char *sound_name = PLUGOUT_DEFAULT; variable
102 { "output_plugin", &sound_name, cfg_string },
379 sound_name, in usage()
439 sound_name = optarg; in parseopts()
663 if (strcmp(sound_name, "list") == 0) { in select_plugin()
668 plugout = plugout_select_by_name(sound_name); in select_plugin()
671 sound_name); in select_plugin()
718 sound_name); in main()
/dports/games/libretro-tyrquake/tyrquake-e76477d/QW/client/
H A Dcl_parse.c290 for (; cl.sound_name[cls.downloadnumber][0]; cls.downloadnumber++) { in Sound_NextDownload()
291 s = cl.sound_name[cls.downloadnumber]; in Sound_NextDownload()
297 if (!cl.sound_name[i][0]) in Sound_NextDownload()
299 cl.sound_precache[i] = S_PrecacheSound(cl.sound_name[i]); in Sound_NextDownload()
611 memset(cl.sound_name, 0, sizeof(cl.sound_name)); in CL_ParseServerData()
627 const int NAMELEN = sizeof(cl.sound_name[0]); in CL_ParseSoundlist()
642 name = cl.sound_name[numsounds]; in CL_ParseSoundlist()
/dports/games/libretro-mame2003_plus/mame2003-plus-libretro-17e9889/src/sound/
H A D262intf.c76 sprintf(buf[i],"%s #%d ch%c",sound_name(msound),chip,'A'+i); in YMF262_sh_start()
77 log_cb(RETRO_LOG_DEBUG, LOGPRE "%s #%d ch%c",sound_name(msound),chip,'A'+i); in YMF262_sh_start()

1234567