Home
last modified time | relevance | path

Searched refs:soundId (Results 1 – 25 of 172) sorted by relevance

1234567

/dports/games/libretro-scummvm/scummvm-7b1e929/engines/scumm/imuse_digi/
H A Ddimuse_script.cpp40 int soundId = b; in parseScriptCmds() local
59 setVolume(soundId, d); in parseScriptCmds()
62 setPan(soundId, d); in parseScriptCmds()
75 stopSound(soundId); in parseScriptCmds()
315 if ((track->soundId == soundId) && track->used) { in getSoundStatus()
339 int soundId = -1; in getCurMusicPosInMs() local
344 soundId = track->soundId; in getCurMusicPosInMs()
375 int soundId = -1; in getCurMusicLipSyncWidth() local
380 soundId = track->soundId; in getCurMusicLipSyncWidth()
394 int soundId = -1; in getCurMusicLipSyncHeight() local
[all …]
H A Ddimuse_track.cpp100 track->soundId = soundId; in startSound()
182 if (track->used && !track->toBeRemoved && (track->soundId == soundId)) { in setPriority()
195 if (track->used && !track->toBeRemoved && (track->soundId == soundId)) { in setVolume()
207 if (track->used && !track->toBeRemoved && (track->soundId == soundId)) { in setHookId()
215 int soundId = -1; in getCurMusicSoundId() local
220 soundId = track->soundId; in getCurMusicSoundId()
225 return soundId; in getCurMusicSoundId()
234 if (track->used && !track->toBeRemoved && (track->soundId == soundId)) { in setPan()
251 if (track->used && !track->toBeRemoved && (track->soundId == soundId)) { in selectVolumeGroup()
264 if (track->used && !track->toBeRemoved && (track->soundId == soundId)) { in setFade()
[all …]
H A Ddimuse.h64 int soundId; member
97 void selectVolumeGroup(int soundId, int volGroupId);
99 int32 getPosInMs(int soundId);
131 void startVoice(int soundId, const char *soundName);
132 void startMusic(int soundId, int volume);
135 void startSfx(int soundId, int priority);
145 void setPriority(int soundId, int priority);
146 void setVolume(int soundId, int volume);
147 void setPan(int soundId, int pan);
150 void setHookId(int soundId, int hookId);
[all …]
H A Ddimuse_music.cpp38 for (l = 0; _digStateMusicTable[l].soundId != -1; l++) { in setDigMusicState()
39 if ((_digStateMusicTable[l].soundId == stateId)) { in setDigMusicState()
92 for (l = 0; _digSeqMusicTable[l].soundId != -1; l++) { in setDigMusicSequence()
93 if ((_digSeqMusicTable[l].soundId == seqId)) { in setDigMusicSequence()
210 if ((_comiStateMusicTable[l].soundId == stateId)) { in setComiMusicState()
240 if ((_comiSeqMusicTable[l].soundId == seqId)) { in setComiMusicSequence()
320 if (getCurMusicSoundId() == table->soundId) in playComiMusic()
335 strcpy(trigger.filename, table->filename); trigger.soundId = table->soundId; in playComiMusic()
440 int soundId = getSoundIdByName(songName); in playFtMusic() local
441 if (soundId != -1) { in playFtMusic()
[all …]
H A Ddimuse.cpp112 s.syncAsSint32LE(t.soundId, VER(31)); in syncWithSerializer()
165 …track->soundDesc = _sound->openSound(track->soundId, track->soundName, track->soundType, track->vo… in saveLoadEarly()
167 …track->soundDesc = _sound->openSound(track->soundId, track->soundName, track->soundType, track->vo… in saveLoadEarly()
169 …track->soundDesc = _sound->openSound(track->soundId, track->soundName, track->soundType, track->vo… in saveLoadEarly()
243 debug(5, "Fade: sound(%d), Vol(%d)", track->soundId, track->vol / 1000); in callback()
306 if (_radioChatterSFX && track->soundId == 10000) { in callback()
393 …startMusic(_triggerParams.filename, _triggerParams.soundId, _triggerParams.hookId, _triggerParams.… in switchToNextRegion()
408 debug(5, "SwToNeReg(trackId:%d) - sound(%d) match hookId", track->trackId, track->soundId); in switchToNextRegion()
423 …) - Normal switch region, sound(%d), hookId(%d)", track->trackId, track->soundId, track->curHookId… in switchToNextRegion()
426 …) - Normal switch region, sound(%d), hookId(%d)", track->trackId, track->soundId, track->curHookId… in switchToNextRegion()
[all …]
/dports/games/scummvm/scummvm-2.5.1/engines/scumm/imuse_digi/
H A Ddimuse_script.cpp40 int soundId = b; in parseScriptCmds() local
64 setPan(soundId, d); in parseScriptCmds()
77 stopSound(soundId); in parseScriptCmds()
284 if (track->used && !track->toBeRemoved && (track->soundId == soundId)) { in getPosInMs()
300 if ((track->soundId == soundId) && track->used) { in getSoundStatus()
324 int soundId = -1; in getCurMusicPosInMs() local
329 soundId = track->soundId; in getCurMusicPosInMs()
360 int soundId = -1; in getCurMusicLipSyncWidth() local
365 soundId = track->soundId; in getCurMusicLipSyncWidth()
379 int soundId = -1; in getCurMusicLipSyncHeight() local
[all …]
H A Ddimuse_track.cpp94 if (_track[l]->soundId == soundId) { in startSound()
134 track->soundId = soundId; in startSound()
262 if (track->used && !track->toBeRemoved && (track->soundId == soundId)) { in setPriority()
275 if (track->used && !track->toBeRemoved && (track->soundId == soundId)) { in setVolume()
287 if (track->used && !track->toBeRemoved && (track->soundId == soundId)) { in setHookId()
295 int soundId = -1; in getCurMusicSoundId() local
300 soundId = track->soundId; in getCurMusicSoundId()
305 return soundId; in getCurMusicSoundId()
314 if (track->used && !track->toBeRemoved && (track->soundId == soundId)) { in setPan()
331 if (track->used && !track->toBeRemoved && (track->soundId == soundId)) { in selectVolumeGroup()
[all …]
H A Ddimuse.h64 int soundId; member
98 void selectVolumeGroup(int soundId, int volGroupId);
100 int32 getPosInMs(int soundId);
137 int startVoice(int soundId, const char *soundName);
138 int startMusic(int soundId, int volume);
141 int startSfx(int soundId, int priority);
151 void setPriority(int soundId, int priority);
152 void setVolume(int soundId, int volume);
153 void setPan(int soundId, int pan);
156 void setHookId(int soundId, int hookId);
[all …]
H A Ddimuse_music.cpp39 if ((_digStateMusicTable[l].soundId == stateId)) { in setDigMusicState()
93 if ((_digSeqMusicTable[l].soundId == seqId)) { in setDigMusicSequence()
337 strcpy(trigger.filename, table->filename); trigger.soundId = table->soundId; in playComiMusic()
348 if (getCurMusicSoundId() == table->soundId) in playComiMusic()
353 strcpy(trigger.filename, table->filename); trigger.soundId = table->soundId; in playComiMusic()
367 if (getCurMusicSoundId() == table->soundId) in playComiMusic()
380 strcpy(trigger.filename, table->filename); trigger.soundId = table->soundId; in playComiMusic()
424 if (getCurMusicSoundId() == table->soundId) in playComiDemoMusic()
532 int soundId = getSoundIdByName(songName); in playFtMusic() local
533 if (soundId != -1) { in playFtMusic()
[all …]
H A Ddimuse.cpp118 s.syncAsSint32LE(t.soundId, VER(31)); in syncWithSerializer()
171 …track->soundDesc = _sound->openSound(track->soundId, track->soundName, track->soundType, track->vo… in saveLoadEarly()
173 …track->soundDesc = _sound->openSound(track->soundId, track->soundName, track->soundType, track->vo… in saveLoadEarly()
175 …track->soundDesc = _sound->openSound(track->soundId, track->soundName, track->soundType, track->vo… in saveLoadEarly()
224 if (_track[l]->used && _track[l]->soundId == kTalkSoundID) { in callback()
299 …debug(5, "Fade: sound(%d), Vol(%d) in track(%d)", track->soundId, track->vol / 1000, track->trackI… in callback()
386 if (_radioChatterSFX && track->soundId == 10000) { in callback()
509 …startMusic(_triggerParams.filename, _triggerParams.soundId, _triggerParams.hookId, _triggerParams.… in switchToNextRegion()
523 …startMusic(_triggerParams.filename, _triggerParams.soundId, _triggerParams.hookId, _triggerParams.… in switchToNextRegion()
545 debug(5, "SwToNeReg(trackId:%d) - sound(%d) match hookId", track->trackId, track->soundId); in switchToNextRegion()
[all …]
/dports/games/scummvm/scummvm-2.5.1/engines/trecision/
H A Dsound.cpp58 void SoundManager::play(int soundId) { in play() argument
65 if (curRoom->_sounds[soundSlot] == soundId) { in play()
78 (_gSample[soundId]._flag & kSoundFlagBgMusic) ? in play()
82 int volume = VOLUME(_gSample[soundId]._volume); in play()
91 if (_gSample[soundId]._flag & kSoundFlagSoundLoop) in play()
189 int soundId; in soundStep() local
191 soundId = curRoom->_sounds[soundSlot]; in soundStep()
209 if (soundId == 0) in soundStep()
270 if (soundId == 0) in loadRoomSounds()
276 …if ((_gSample[soundId]._flag & kSoundFlagBgMusic) || (_gSample[soundId]._flag & kSoundFlagSoundOn)) in loadRoomSounds()
[all …]
/dports/games/doomsday/doomsday-2.3.1/doomsday/apps/api/
H A Dapi_sound.h55 int (*LocalSoundAtVolume)(int soundId, struct mobj_s const *emitter, float volume); in DENG_API_TYPEDEF()
63 int (*LocalSound)(int soundId, struct mobj_s const *emitter); in DENG_API_TYPEDEF()
71 int (*LocalSoundFrom)(int soundId, coord_t *origin); in DENG_API_TYPEDEF()
78 int (*StartSound)(int soundId, struct mobj_s const *emitter); in DENG_API_TYPEDEF()
90 int (*StartSoundEx)(int soundId, struct mobj_s const *emitter); in DENG_API_TYPEDEF()
97 int (*StartSoundAtVolume)(int soundId, struct mobj_s const *emitter, float volume); in DENG_API_TYPEDEF()
104 int (*ConsoleSound)(int soundId, struct mobj_s *emitter, int targetConsole); in DENG_API_TYPEDEF()
114 void (*StopSound)(int soundId, struct mobj_s const *emitter/*, flags = 0*/); in DENG_API_TYPEDEF()
120 void (*StopSound2)(int soundId, struct mobj_s const *emitter, int flags); in DENG_API_TYPEDEF()
129 int (*IsPlaying)(int soundId, struct mobj_s *emitter); in DENG_API_TYPEDEF()
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/mohawk/myst_stacks/
H A Dselenitic.cpp542 soundId = 0; in mazeRunnerPlaySoundHelp()
544 soundId = 8191; in mazeRunnerPlaySoundHelp()
546 soundId = 0; in mazeRunnerPlaySoundHelp()
550 soundId = 0; in mazeRunnerPlaySoundHelp()
554 soundId = 0; in mazeRunnerPlaySoundHelp()
558 soundId = 0; in mazeRunnerPlaySoundHelp()
562 soundId = 0; in mazeRunnerPlaySoundHelp()
568 soundId = 0; in mazeRunnerPlaySoundHelp()
594 if (soundId) in mazeRunnerPlaySoundHelp()
866 if (soundId) in o_soundLockEndMove()
[all …]
H A Dchannelwood.cpp319 uint16 soundId = args[0]; in o_pipeExtend() local
322 _vm->_sound->playEffect(soundId); in o_pipeExtend()
394 if (soundId) in o_leverMoveFail()
410 if (soundId) in o_leverEndMove()
426 if (soundId) in o_leverEndMoveWithSound()
460 if (soundId) in o_pumpLeverEndMove()
495 if (soundId) in o_valveHandleMoveStart1()
513 if (soundId) in o_valveHandleMoveStop()
540 if (soundId) in o_valveHandleMoveStart2()
564 if (soundId) in o_valveHandleMoveStart3()
[all …]
/dports/games/scummvm/scummvm-2.5.1/engines/mohawk/myst_stacks/
H A Dselenitic.cpp544 soundId = 0; in mazeRunnerPlaySoundHelp()
546 soundId = 8191; in mazeRunnerPlaySoundHelp()
548 soundId = 0; in mazeRunnerPlaySoundHelp()
552 soundId = 0; in mazeRunnerPlaySoundHelp()
556 soundId = 0; in mazeRunnerPlaySoundHelp()
560 soundId = 0; in mazeRunnerPlaySoundHelp()
564 soundId = 0; in mazeRunnerPlaySoundHelp()
570 soundId = 0; in mazeRunnerPlaySoundHelp()
596 if (soundId) in mazeRunnerPlaySoundHelp()
871 if (soundId) in o_soundLockEndMove()
[all …]
H A Dchannelwood.cpp319 uint16 soundId = args[0]; in o_pipeExtend() local
322 _vm->_sound->playEffect(soundId); in o_pipeExtend()
394 if (soundId) in o_leverMoveFail()
410 if (soundId) in o_leverEndMove()
426 if (soundId) in o_leverEndMoveWithSound()
460 if (soundId) in o_pumpLeverEndMove()
495 if (soundId) in o_valveHandleMoveStart1()
513 if (soundId) in o_valveHandleMoveStop()
540 if (soundId) in o_valveHandleMoveStart2()
564 if (soundId) in o_valveHandleMoveStart3()
[all …]
/dports/games/doomsday/doomsday-2.3.1/doomsday/apps/client/src/audio/base/
H A Ds_cache.cpp329 Hash &hashFor(dint soundId) in DENG2_PIMPL()
334 Hash const &hashFor(dint soundId) const in DENG2_PIMPL()
342 CacheItem *tryFind(dint soundId) const in DENG2_PIMPL()
346 if (it->sample.id == soundId) in DENG2_PIMPL()
356 CacheItem &insertCacheItem(dint soundId) in DENG2_PIMPL()
360 Hash &hash = hashFor(soundId); in DENG2_PIMPL()
423 CacheItem *item = tryFind(soundId); in DENG2_PIMPL()
437 item = &insertCacheItem(soundId); in DENG2_PIMPL()
441 cached.id = soundId; in DENG2_PIMPL()
585 void SfxSampleCache::hit(dint soundId) in hit() argument
[all …]
/dports/games/residualvm/residualvm-0.3.1/engines/grim/imuse/
H A Dimuse_music.cpp36 for (l = 0; _stateMusicTable[l].soundId != -1; l++) { in setMusicState()
37 if (_stateMusicTable[l].soundId == stateId) { in setMusicState()
44 … "Imuse::setMusicState(): SoundId %d, filename: %s", _stateMusicTable[l].soundId, _stateMusicTable… in setMusicState()
60 return _seqMusicTable[_curMusicSeq].soundId; in setMusicSequence()
65 for (l = 0; _seqMusicTable[l].soundId != -1; l++) { in setMusicSequence()
66 if (_seqMusicTable[l].soundId == seqId) { in setMusicSequence()
74 …"Imuse::setMusicSequence(): SoundId %d, filename: %s", _seqMusicTable[l].soundId, _seqMusicTable[l… in setMusicSequence()
77 return _seqMusicTable[_curMusicSeq].soundId; in setMusicSequence()
87 return _seqMusicTable[_curMusicSeq].soundId; in setMusicSequence()
/dports/games/scummvm/scummvm-2.5.1/engines/grim/imuse/
H A Dimuse_music.cpp36 for (l = 0; _stateMusicTable[l].soundId != -1; l++) { in setMusicState()
37 if (_stateMusicTable[l].soundId == stateId) { in setMusicState()
44 … "Imuse::setMusicState(): SoundId %d, filename: %s", _stateMusicTable[l].soundId, _stateMusicTable… in setMusicState()
60 return _seqMusicTable[_curMusicSeq].soundId; in setMusicSequence()
65 for (l = 0; _seqMusicTable[l].soundId != -1; l++) { in setMusicSequence()
66 if (_seqMusicTable[l].soundId == seqId) { in setMusicSequence()
74 …"Imuse::setMusicSequence(): SoundId %d, filename: %s", _seqMusicTable[l].soundId, _seqMusicTable[l… in setMusicSequence()
77 return _seqMusicTable[_curMusicSeq].soundId; in setMusicSequence()
87 return _seqMusicTable[_curMusicSeq].soundId; in setMusicSequence()
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/kyra/sound/
H A Dsound_adlib.cpp96 int soundId = _soundTriggers[trigger]; in process() local
98 if (soundId) in process()
99 playTrack(soundId); in process()
154 uint16 soundId = 0; in play() local
157 soundId = READ_LE_UINT16(&_trackEntries[track<<1]); in play()
159 soundId = _trackEntries[track]; in play()
161 if ((soundId == 0xFFFF && _version == 4) || (soundId == 0xFF && _version < 4) || !_soundDataPtr) in play()
164 _driver->queueTrack(soundId, volume); in play()
/dports/lang/fpc-source/fpc-3.2.2/packages/libndsfpc/src/nds/arm9/
H A Dsound.inc41 procedure soundPause(soundId: cint); cdecl; external;
43 procedure soundSetWaveDuty(soundId: cint; cycle: DutyCycle); cdecl; external;
45 procedure soundKill(soundId: cint); cdecl; external;
47 procedure soundResume(soundId: cint); cdecl; external;
49 procedure soundSetVolume(soundId: cint; volume: cuint8); cdecl; external;
51 procedure soundSetPan(soundId: cint; pan: cuint8); cdecl; external;
53 procedure soundSetFreq(soundId: cint; freq: cuint16); cdecl; external;
/dports/games/scummvm/scummvm-2.5.1/engines/kyra/sound/
H A Dsound_pc_v1.cpp104 int soundId = _soundTriggers[trigger]; in process() local
106 if (soundId) in process()
107 playTrack(soundId); in process()
162 uint16 soundId = 0; in play() local
165 soundId = READ_LE_UINT16(&_trackEntries[track<<1]); in play()
167 soundId = _trackEntries[track]; in play()
169 if ((soundId == 0xFFFF && _version == 4) || (soundId == 0xFF && _version < 4) || !_soundDataPtr) in play()
172 _driver->startSound(soundId, volume); in play()
/dports/games/openmw/openmw-openmw-0.47.0/apps/openmw/mwsound/
H A Dsound_buffer.cpp51 Sound_Buffer* SoundBufferPool::lookup(const std::string& soundId) const in lookup()
53 const auto it = mBufferNameMap.find(soundId); in lookup()
63 Sound_Buffer* SoundBufferPool::load(const std::string& soundId) in load() argument
72 const auto it = mBufferNameMap.find(soundId); in load()
77 …Sound *sound = MWBase::Environment::get().getWorld()->getStore().get<ESM::Sound>().search(soundId); in load()
80 sfx = insertSound(soundId, *sound); in load()
115 Sound_Buffer* SoundBufferPool::insertSound(const std::string& soundId, const ESM::Sound& sound) in insertSound() argument
136 mBufferNameMap.emplace(soundId, &sfx); in insertSound()
/dports/games/scummvm/scummvm-2.5.1/engines/dragons/
H A Dsound.cpp400 void SoundManager::playOrStopSound(uint16 soundId) { in playOrStopSound() argument
402 if ((soundId & 0x8000u) == 0) { in playOrStopSound()
405 volumeId = soundId & ~(0x4000u | 0x8000u); in playOrStopSound()
408 if ((soundId & 0x4000u) == 0) { in playOrStopSound()
409 playSound(soundId, volumeId); in playOrStopSound()
411 stopSound(soundId, volumeId); in playOrStopSound()
423 uint16 realId = soundId & 0x7fffu; in playSound()
428 if (isVoicePlaying(soundId)) { in playSound()
429 stopVoicePlaying(soundId); in playSound()
433 Audio::SoundHandle *handle = getVoiceHandle(soundId); in playSound()
[all …]
/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2/audio/
H A DAudio.cpp123 static AudioParams GetParametersFromLocation(SoundId soundId, const CoordsXYZ& location);
183 void Play3D(SoundId soundId, const CoordsXYZ& loc) in Play3D() argument
188 AudioParams params = GetParametersFromLocation(soundId, loc); in Play3D()
191 Play(soundId, params.volume, params.pan); in Play3D()
201 static AudioParams GetParametersFromLocation(SoundId soundId, const CoordsXYZ& location) in GetParametersFromLocation() argument
225 params.volume = SoundVolumeAdjust[static_cast<uint8_t>(soundId)] in GetParametersFromLocation()
239 void Play(SoundId soundId, int32_t volume, int32_t pan) in Play() argument
252 …Mixer_Play_Effect(soundId, MIXER_LOOP_NONE, DStoMixerVolume(volume), DStoMixerPan(mixerPan), 1, 1); in Play()

1234567