Home
last modified time | relevance | path

Searched refs:soundName (Results 1 – 25 of 371) sorted by relevance

12345678910>>...15

/dports/games/residualvm/residualvm-0.3.1/engines/grim/
H A Dsound.cpp41 return g_imuse->getSoundStatus(soundName); in getSoundStatus()
43 return g_emiSound->getSoundStatus(soundName); in getSoundStatus()
46 void SoundPlayer::stopSound(const char *soundName) { in stopSound() argument
48 g_imuse->stopSound(soundName); in stopSound()
51 g_emiSound->stopSound(soundName); in stopSound()
57 return g_imuse->getPosIn16msTicks(soundName); in getPosIn16msTicks()
59 return g_emiSound->getPosIn16msTicks(soundName); in getPosIn16msTicks()
64 g_imuse->setVolume(soundName, volume); in setVolume()
66 g_emiSound->setVolume(soundName, volume); in setVolume()
72 g_imuse->setPan(soundName, pan); in setPan()
[all …]
H A Dlua_v1_sound.cpp59 const char *soundName = lua_getstring(nameObj); in ImStartSound() local
66 lua_pushstring(soundName); in ImStartSound()
75 const char *soundName = lua_getstring(nameObj); in ImStopSound() local
76 g_imuse->stopSound(soundName); in ImStopSound()
143 const char *soundName = lua_getstring(nameObj); in ImSetParam() local
150 g_imuse->setVolume(soundName, value); in ImSetParam()
153 g_imuse->setPan(soundName, value); in ImSetParam()
171 const char *soundName = lua_getstring(nameObj); in ImGetParam() local
178 lua_pushnumber(g_imuse->getVolume(soundName)); in ImGetParam()
201 const char *soundName = lua_getstring(nameObj); in ImFadeParam() local
[all …]
H A Dsound.h34 bool startVoice(const char *soundName, int volume = 127, int pan = 64);
35 bool getSoundStatus(const char *soundName);
36 void stopSound(const char *soundName);
37 int32 getPosIn16msTicks(const char *soundName);
39 void setVolume(const char *soundName, int volume);
40 void setPan(const char *soundName, int pan);
/dports/games/scummvm/scummvm-2.5.1/engines/grim/
H A Dsound.cpp41 return g_imuse->getSoundStatus(soundName); in getSoundStatus()
43 return g_emiSound->getSoundStatus(soundName); in getSoundStatus()
46 void SoundPlayer::stopSound(const char *soundName) { in stopSound() argument
48 g_imuse->stopSound(soundName); in stopSound()
51 g_emiSound->stopSound(soundName); in stopSound()
57 return g_imuse->getPosIn16msTicks(soundName); in getPosIn16msTicks()
59 return g_emiSound->getPosIn16msTicks(soundName); in getPosIn16msTicks()
64 g_imuse->setVolume(soundName, volume); in setVolume()
66 g_emiSound->setVolume(soundName, volume); in setVolume()
72 g_imuse->setPan(soundName, pan); in setPan()
[all …]
H A Dlua_v1_sound.cpp59 const char *soundName = lua_getstring(nameObj); in ImStartSound() local
66 lua_pushstring(soundName); in ImStartSound()
75 const char *soundName = lua_getstring(nameObj); in ImStopSound() local
76 g_imuse->stopSound(soundName); in ImStopSound()
143 const char *soundName = lua_getstring(nameObj); in ImSetParam() local
150 g_imuse->setVolume(soundName, value); in ImSetParam()
153 g_imuse->setPan(soundName, value); in ImSetParam()
171 const char *soundName = lua_getstring(nameObj); in ImGetParam() local
178 lua_pushnumber(g_imuse->getVolume(soundName)); in ImGetParam()
201 const char *soundName = lua_getstring(nameObj); in ImFadeParam() local
[all …]
H A Dsound.h34 bool startVoice(const char *soundName, int volume = 127, int pan = 64);
35 bool getSoundStatus(const char *soundName);
36 void stopSound(const char *soundName);
37 int32 getPosIn16msTicks(const char *soundName);
39 void setVolume(const char *soundName, int volume);
40 void setPan(const char *soundName, int pan);
/dports/games/residualvm/residualvm-0.3.1/engines/grim/imuse/
H A Dimuse.h63 void selectVolumeGroup(const char *soundName, int volGroupId);
82 void startSfx(const char *soundName, int priority = 127);
88 Track *findTrack(const char *soundName);
89 void setPriority(const char *soundName, int priority);
90 void setVolume(const char *soundName, int volume);
91 int getVolume(const char *soundName);
95 void setHookId(const char *soundName, int hookId);
96 int getCountPlayedTracks(const char *soundName);
97 void stopSound(const char *soundName);
108 bool getSoundStatus(const char *soundName);
[all …]
H A Dimuse_script.cpp78 bool Imuse::startVoice(const char *soundName, int volume, int pan) { in startVoice() argument
93 void Imuse::startSfx(const char *soundName, int priority) { in startSfx() argument
95 startSound(soundName, IMUSE_VOLGRP_SFX, 0, 127, 0, priority, nullptr); in startSfx()
98 int32 Imuse::getPosIn16msTicks(const char *soundName) { in getPosIn16msTicks() argument
102 getTrack = findTrack(soundName); in getPosIn16msTicks()
126 bool Imuse::getSoundStatus(const char *soundName) { in getSoundStatus() argument
131 if (strlen(soundName) == 0) in getSoundStatus()
134 track = findTrack(soundName); in getSoundStatus()
145 void Imuse::stopSound(const char *soundName) { in stopSound() argument
147 Debug::debug(Debug::Sound, "Imuse::stopSound(): SoundName %s", soundName); in stopSound()
[all …]
H A Dimuse_track.cpp80 if (!scumm_stricmp(_track[i]->soundName, soundName) && !_track[i]->toBeRemoved) { in startSound()
107 if (!scumm_stricmp(_track[i]->soundName, soundName)) { in startSound()
139 strcpy(track->soundName, soundName); in startSound()
181 && strlen(track->soundName) != 0 && scumm_stricmp(track->soundName, soundName) == 0) { in findTrack()
193 changeTrack = findTrack(soundName); in setPriority()
206 changeTrack = findTrack(soundName); in setVolume()
218 changeTrack = findTrack(soundName); in setPan()
230 getTrack = findTrack(soundName); in getVolume()
242 changeTrack = findTrack(soundName); in setHookId()
256 if (track->used && !track->toBeRemoved && (scumm_stricmp(track->soundName, soundName) == 0)) { in getCountPlayedTracks()
[all …]
/dports/games/scummvm/scummvm-2.5.1/engines/grim/imuse/
H A Dimuse.h63 void selectVolumeGroup(const char *soundName, int volGroupId);
81 void startSfx(const char *soundName, int priority = 127);
87 Track *findTrack(const char *soundName);
88 void setPriority(const char *soundName, int priority);
89 void setVolume(const char *soundName, int volume);
90 int getVolume(const char *soundName);
94 void setHookId(const char *soundName, int hookId);
95 int getCountPlayedTracks(const char *soundName);
96 void stopSound(const char *soundName);
107 bool getSoundStatus(const char *soundName);
[all …]
H A Dimuse_script.cpp78 bool Imuse::startVoice(const char *soundName, int volume, int pan) { in startVoice() argument
93 void Imuse::startSfx(const char *soundName, int priority) { in startSfx() argument
95 startSound(soundName, IMUSE_VOLGRP_SFX, 0, 127, 0, priority, nullptr); in startSfx()
98 int32 Imuse::getPosIn16msTicks(const char *soundName) { in getPosIn16msTicks() argument
102 getTrack = findTrack(soundName); in getPosIn16msTicks()
126 bool Imuse::getSoundStatus(const char *soundName) { in getSoundStatus() argument
131 if (strlen(soundName) == 0) in getSoundStatus()
134 track = findTrack(soundName); in getSoundStatus()
145 void Imuse::stopSound(const char *soundName) { in stopSound() argument
147 Debug::debug(Debug::Sound, "Imuse::stopSound(): SoundName %s", soundName); in stopSound()
[all …]
H A Dimuse_track.cpp80 if (!scumm_stricmp(_track[i]->soundName, soundName) && !_track[i]->toBeRemoved) { in startSound()
107 if (!scumm_stricmp(_track[i]->soundName, soundName)) { in startSound()
139 strcpy(track->soundName, soundName); in startSound()
181 && strlen(track->soundName) != 0 && scumm_stricmp(track->soundName, soundName) == 0) { in findTrack()
193 changeTrack = findTrack(soundName); in setPriority()
206 changeTrack = findTrack(soundName); in setVolume()
218 changeTrack = findTrack(soundName); in setPan()
230 getTrack = findTrack(soundName); in getVolume()
242 changeTrack = findTrack(soundName); in setHookId()
256 if (track->used && !track->toBeRemoved && (scumm_stricmp(track->soundName, soundName) == 0)) { in getCountPlayedTracks()
[all …]
/dports/games/residualvm/residualvm-0.3.1/engines/grim/emi/sound/
H A Demisound.h56 …bool startVoice(const Common::String &soundName, int volume = static_cast<int>(Audio::Mixer::kMaxC…
57 …bool startSfx(const Common::String &soundName, int volume = static_cast<int>(Audio::Mixer::kMaxCha…
59 bool getSoundStatus(const Common::String &soundName);
60 void stopSound(const Common::String &soundName);
61 int32 getPosIn16msTicks(const Common::String &soundName);
63 void setVolume(const Common::String &soundName, int volume);
64 void setPan(const Common::String &soundName, int pan); /* pan: 0 .. 127 */
66 bool loadSfx(const Common::String &soundName, int &id);
131 …SoundTrack *initTrack(const Common::String &soundName, Audio::Mixer::SoundType soundType, const Au…
133 …bool startSound(const Common::String &soundName, Audio::Mixer::SoundType soundType, int volume, in…
[all …]
H A Demisound.cpp243 SoundTrack *track = initTrack(soundName, soundType); in startSound()
256 SoundTrack *track = initTrack(soundName, soundType); in startSoundFrom()
268 TrackList::iterator it = getPlayingTrackByName(soundName); in getSoundStatus()
437 Common::String soundNameLower(soundName); in initTrack()
451 filename = _musicPrefix + soundName; in initTrack()
453 filename = soundName; in initTrack()
456 if (track->openSound(filename, soundName, start)) { in initTrack()
901 Common::String soundName = savedState->readString(); in restoreState() local
916 Common::String soundName = savedState->readString(); in restoreState() local
921 error("Couldn't reopen %s", soundName.c_str()); in restoreState()
[all …]
/dports/games/scummvm/scummvm-2.5.1/engines/grim/emi/sound/
H A Demisound.h56 …bool startVoice(const Common::String &soundName, int volume = static_cast<int>(Audio::Mixer::kMaxC…
57 …bool startSfx(const Common::String &soundName, int volume = static_cast<int>(Audio::Mixer::kMaxCha…
59 bool getSoundStatus(const Common::String &soundName);
60 void stopSound(const Common::String &soundName);
61 int32 getPosIn16msTicks(const Common::String &soundName);
63 void setVolume(const Common::String &soundName, int volume);
64 void setPan(const Common::String &soundName, int pan); /* pan: 0 .. 127 */
66 bool loadSfx(const Common::String &soundName, int &id);
131 …SoundTrack *initTrack(const Common::String &soundName, Audio::Mixer::SoundType soundType, const Au…
133 …bool startSound(const Common::String &soundName, Audio::Mixer::SoundType soundType, int volume, in…
[all …]
H A Demisound.cpp248 SoundTrack *track = initTrack(soundName, soundType); in startSound()
261 SoundTrack *track = initTrack(soundName, soundType); in startSoundFrom()
273 TrackList::iterator it = getPlayingTrackByName(soundName); in getSoundStatus()
442 Common::String soundNameLower(soundName); in initTrack()
456 filename = _musicPrefix + soundName; in initTrack()
458 filename = soundName; in initTrack()
461 if (track->openSound(filename, soundName, start)) { in initTrack()
924 Common::String soundName = savedState->readString(); in restoreState() local
939 Common::String soundName = savedState->readString(); in restoreState() local
944 error("Couldn't reopen %s", soundName.c_str()); in restoreState()
[all …]
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/wage/
H A Dsound.cpp83 void WageEngine::playSound(Common::String soundName) { in playSound() argument
84 soundName.toLowercase(); in playSound()
86 if (!_world->_sounds.contains(soundName)) { in playSound()
87 warning("playSound: Sound '%s' does not exist", soundName.c_str()); in playSound()
91 Sound *s = _world->_sounds[soundName]; in playSound()
123 Common::String soundName(scene->_soundName); in updateSoundTimerForScene() local
125 soundName.toLowercase(); in updateSoundTimerForScene()
127 if (!_world->_sounds.contains(soundName)) { in updateSoundTimerForScene()
128 warning("updateSoundTimerForScene: Sound '%s' does not exist", soundName.c_str()); in updateSoundTimerForScene()
132 warning("STUB: updateSoundTimerForScene: sound: '%s', %s", soundName.c_str(), in updateSoundTimerForScene()
/dports/games/scummvm/scummvm-2.5.1/engines/wage/
H A Dsound.cpp83 void WageEngine::playSound(Common::String soundName) { in playSound() argument
84 soundName.toLowercase(); in playSound()
86 if (!_world->_sounds.contains(soundName)) { in playSound()
87 warning("playSound: Sound '%s' does not exist", soundName.c_str()); in playSound()
91 Sound *s = _world->_sounds[soundName]; in playSound()
123 Common::String soundName(scene->_soundName); in updateSoundTimerForScene() local
125 soundName.toLowercase(); in updateSoundTimerForScene()
127 if (!_world->_sounds.contains(soundName)) { in updateSoundTimerForScene()
128 warning("updateSoundTimerForScene: Sound '%s' does not exist", soundName.c_str()); in updateSoundTimerForScene()
132 warning("STUB: updateSoundTimerForScene: sound: '%s', %s", soundName.c_str(), in updateSoundTimerForScene()
/dports/games/stendhal/stendhal-1.35/src/games/stendhal/client/events/
H A DSoundEvent.java63 String soundName; in execute() local
66 soundName = ConfiguredSounds.get(id); in execute()
68 if (soundName == null) { in execute()
72 soundName = event.get("sound"); in execute()
75 if (soundName != null) { in execute()
77 group.loadSound(soundName, soundName + ".ogg", SoundFileType.OGG, false); in execute()
78 group.play(soundName, volume, 0, area, null, false, true); in execute()
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/startrek/
H A Dsound.cpp210 Common::String soundName = Common::String("voc/sfx/") + baseSoundName + ".voc"; in playVoc() local
213 error("Couldn't open '%s'", soundName.c_str()); in playVoc()
215 debugC(5, kDebugSound, "Playing sound effect '%s'", soundName.c_str()); in playVoc()
323 Common::String soundName = baseSoundName; in loadPCMusicFile() local
325 soundName += '.'; in loadPCMusicFile()
330 soundName += "ROL"; in loadPCMusicFile()
332 soundName += "MT"; in loadPCMusicFile()
338 soundName += "PC"; in loadPCMusicFile()
342 soundName += "ADL"; in loadPCMusicFile()
344 soundName += "AD"; in loadPCMusicFile()
[all …]
/dports/games/scummvm/scummvm-2.5.1/engines/startrek/
H A Dsound.cpp217 Common::String soundName = Common::String("voc/sfx/") + baseSoundName + ".voc"; in playVoc() local
220 error("Couldn't open '%s'", soundName.c_str()); in playVoc()
222 debugC(5, kDebugSound, "Playing sound effect '%s'", soundName.c_str()); in playVoc()
394 Common::String soundName = baseSoundName; in loadPCMusicFile() local
396 soundName += '.'; in loadPCMusicFile()
401 soundName += "ROL"; in loadPCMusicFile()
403 soundName += "MT"; in loadPCMusicFile()
409 soundName += "PC"; in loadPCMusicFile()
413 soundName += "ADL"; in loadPCMusicFile()
415 soundName += "AD"; in loadPCMusicFile()
[all …]
/dports/devel/qt5-testlib/kde-qtbase-5.15.2p263/src/plugins/platforms/windows/uiautomation/
H A Dqwindowsuiaaccessibility.cpp113 static QString soundFileName(const QString &soundName) in soundFileName() argument
116 + soundName + QStringLiteral("\\.Current"); in soundFileName()
120 static void playSystemSound(const QString &soundName) in playSystemSound() argument
122 if (!soundName.isEmpty() && !soundFileName(soundName).isEmpty()) { in playSystemSound()
123 PlaySound(reinterpret_cast<const wchar_t *>(soundName.utf16()), nullptr, in playSystemSound()
/dports/databases/qt5-sqldrivers-sqlite2/kde-qtbase-5.15.2p263/src/plugins/platforms/windows/uiautomation/
H A Dqwindowsuiaaccessibility.cpp113 static QString soundFileName(const QString &soundName) in soundFileName() argument
116 + soundName + QStringLiteral("\\.Current"); in soundFileName()
120 static void playSystemSound(const QString &soundName) in playSystemSound() argument
122 if (!soundName.isEmpty() && !soundFileName(soundName).isEmpty()) { in playSystemSound()
123 PlaySound(reinterpret_cast<const wchar_t *>(soundName.utf16()), nullptr, in playSystemSound()
/dports/databases/qt5-sqldrivers-tds/kde-qtbase-5.15.2p263/src/plugins/platforms/windows/uiautomation/
H A Dqwindowsuiaaccessibility.cpp113 static QString soundFileName(const QString &soundName) in soundFileName() argument
116 + soundName + QStringLiteral("\\.Current"); in soundFileName()
120 static void playSystemSound(const QString &soundName) in playSystemSound() argument
122 if (!soundName.isEmpty() && !soundFileName(soundName).isEmpty()) { in playSystemSound()
123 PlaySound(reinterpret_cast<const wchar_t *>(soundName.utf16()), nullptr, in playSystemSound()
/dports/databases/qt5-sqldrivers-sqlite3/kde-qtbase-5.15.2p263/src/plugins/platforms/windows/uiautomation/
H A Dqwindowsuiaaccessibility.cpp113 static QString soundFileName(const QString &soundName) in soundFileName() argument
116 + soundName + QStringLiteral("\\.Current"); in soundFileName()
120 static void playSystemSound(const QString &soundName) in playSystemSound() argument
122 if (!soundName.isEmpty() && !soundFileName(soundName).isEmpty()) { in playSystemSound()
123 PlaySound(reinterpret_cast<const wchar_t *>(soundName.utf16()), nullptr, in playSystemSound()

12345678910>>...15