Home
last modified time | relevance | path

Searched refs:soundDesc (Results 1 – 25 of 26) sorted by relevance

12

/dports/games/libretro-scummvm/scummvm-7b1e929/engines/scumm/imuse_digi/
H A Ddimuse_sndmgr.cpp476 if (soundDesc->resPtr) { in closeSound()
504 …desc = openSound(soundDesc->soundId, soundDesc->name, soundDesc->type, soundDesc->volGroupId, soun… in cloneSound()
506 desc = openSound(soundDesc->soundId, soundDesc->name, soundDesc->type, soundDesc->volGroupId, 1); in cloneSound()
508 desc = openSound(soundDesc->soundId, soundDesc->name, soundDesc->type, soundDesc->volGroupId, 2); in cloneSound()
513 if (!soundDesc) in checkForProperHandle()
529 return soundDesc->freq; in getFreq()
534 return soundDesc->bits; in getBits()
656 if ((soundDesc->bundle) && (!soundDesc->compressed)) { in getDataFromRegion()
662 } else if ((soundDesc->bundle) && (soundDesc->compressed)) { in getDataFromRegion()
666 …int offsetMs = (((offset * 8 * 10) / soundDesc->bits) / (soundDesc->channels * soundDesc->freq)) *… in getDataFromRegion()
[all …]
H A Ddimuse_sndmgr.h118 bool checkForProperHandle(SoundDesc *soundDesc);
138 void closeSound(SoundDesc *soundDesc);
139 SoundDesc *cloneSound(SoundDesc *soundDesc);
141 bool isSndDataExtComp(SoundDesc *soundDesc);
142 int getFreq(SoundDesc *soundDesc);
143 int getBits(SoundDesc *soundDesc);
144 int getChannels(SoundDesc *soundDesc);
146 int getNumRegions(SoundDesc *soundDesc);
147 int getNumJumps(SoundDesc *soundDesc);
152 int getJumpHookId(SoundDesc *soundDesc, int number);
[all …]
H A Ddimuse.cpp166 if (!track->soundDesc) in saveLoadEarly()
168 if (!track->soundDesc) in saveLoadEarly()
171 if (!track->soundDesc) { in saveLoadEarly()
179 int bits = _sound->getBits(track->soundDesc); in saveLoadEarly()
180 int channels = _sound->getChannels(track->soundDesc); in saveLoadEarly()
181 int freq = _sound->getFreq(track->soundDesc); in saveLoadEarly()
257 int bits = _sound->getBits(track->soundDesc); in callback()
258 int channels = _sound->getChannels(track->soundDesc); in callback()
371 int num_regions = _sound->getNumRegions(track->soundDesc); in switchToNextRegion()
379 ImuseDigiSndMgr::SoundDesc *soundDesc = track->soundDesc; in switchToNextRegion() local
[all …]
H A Ddimuse_track.cpp65 if (track->soundDesc) { in allocSlot()
66 _sound->closeSound(track->soundDesc); in allocSlot()
117 if (!track->soundDesc) in startSound()
119 if (!track->soundDesc) in startSound()
122 if (!track->soundDesc) in startSound()
127 bits = _sound->getBits(track->soundDesc); in startSound()
128 channels = _sound->getChannels(track->soundDesc); in startSound()
129 freq = _sound->getFreq(track->soundDesc); in startSound()
353 ImuseDigiSndMgr::SoundDesc *soundDesc = _sound->cloneSound(track->soundDesc); in cloneToFadeOutTrack() local
354 if (!soundDesc) { in cloneToFadeOutTrack()
[all …]
H A Ddimuse_script.cpp176 if (track->soundDesc) { in flushTrack()
177 _sound->closeSound(track->soundDesc); in flushTrack()
178 track->soundDesc = 0; in flushTrack()
272 _sound->getSyncSizeAndPtrById(track->soundDesc, syncId, sync_size, &sync_ptr); in getLipSync()
435 if (track->soundDesc) { in stopAllSounds()
437 _sound->closeSound(track->soundDesc); in stopAllSounds()
H A Ddimuse_track.h74 ImuseDigiSndMgr::SoundDesc *soundDesc; // sound handle used by iMuse sound manager member
104 soundDesc = nullptr; in reset()
/dports/games/scummvm/scummvm-2.5.1/engines/scumm/imuse_digi/
H A Ddimuse_sndmgr.cpp479 if (soundDesc->resPtr) { in closeSound()
507 …desc = openSound(soundDesc->soundId, soundDesc->name, soundDesc->type, soundDesc->volGroupId, soun… in cloneSound()
509 desc = openSound(soundDesc->soundId, soundDesc->name, soundDesc->type, soundDesc->volGroupId, 1); in cloneSound()
511 desc = openSound(soundDesc->soundId, soundDesc->name, soundDesc->type, soundDesc->volGroupId, 2); in cloneSound()
516 if (!soundDesc) in checkForProperHandle()
532 return soundDesc->freq; in getFreq()
537 return soundDesc->bits; in getBits()
679 if ((soundDesc->bundle) && (!soundDesc->compressed)) { in getDataFromRegion()
685 } else if ((soundDesc->bundle) && (soundDesc->compressed)) { in getDataFromRegion()
689 …int offsetMs = (((offset * 8 * 10) / soundDesc->bits) / (soundDesc->channels * soundDesc->freq)) *… in getDataFromRegion()
[all …]
H A Ddimuse_sndmgr.h119 bool checkForProperHandle(SoundDesc *soundDesc);
139 void closeSound(SoundDesc *soundDesc);
140 SoundDesc *cloneSound(SoundDesc *soundDesc);
142 bool isSndDataExtComp(SoundDesc *soundDesc);
143 int getFreq(SoundDesc *soundDesc);
144 int getBits(SoundDesc *soundDesc);
145 int getChannels(SoundDesc *soundDesc);
147 int getNumRegions(SoundDesc *soundDesc);
148 int getNumJumps(SoundDesc *soundDesc);
153 int getJumpHookId(SoundDesc *soundDesc, int number);
[all …]
H A Ddimuse.cpp172 if (!track->soundDesc) in saveLoadEarly()
174 if (!track->soundDesc) in saveLoadEarly()
177 if (!track->soundDesc) { in saveLoadEarly()
193 int bits = _sound->getBits(track->soundDesc); in saveLoadEarly()
194 int channels = _sound->getChannels(track->soundDesc); in saveLoadEarly()
195 int freq = _sound->getFreq(track->soundDesc); in saveLoadEarly()
198 track->littleEndian = track->soundDesc->littleEndian; in saveLoadEarly()
337 int bits = _sound->getBits(track->soundDesc); in callback()
494 ImuseDigiSndMgr::SoundDesc *soundDesc = track->soundDesc; in switchToNextRegion() local
495 if (_triggerUsed && track->soundDesc->numMarkers) { in switchToNextRegion()
[all …]
H A Ddimuse_track.cpp66 if (track->soundDesc) { in allocSlot()
67 _sound->closeSound(track->soundDesc); in allocSlot()
163 if (!track->soundDesc) in startSound()
165 if (!track->soundDesc) in startSound()
168 if (!track->soundDesc) in startSound()
173 bits = _sound->getBits(track->soundDesc); in startSound()
174 channels = _sound->getChannels(track->soundDesc); in startSound()
175 freq = _sound->getFreq(track->soundDesc); in startSound()
455 ImuseDigiSndMgr::SoundDesc *soundDesc = _sound->cloneSound(track->soundDesc); in cloneToFadeOutTrack() local
456 if (!soundDesc) { in cloneToFadeOutTrack()
[all …]
H A Ddimuse_script.cpp161 if (track->soundDesc) { in flushTrack()
162 _sound->closeSound(track->soundDesc); in flushTrack()
163 track->soundDesc = 0; in flushTrack()
257 _sound->getSyncSizeAndPtrById(track->soundDesc, syncId, sync_size, &sync_ptr); in getLipSync()
420 if (track->soundDesc) { in stopAllSounds()
422 _sound->closeSound(track->soundDesc); in stopAllSounds()
H A Ddimuse_track.h78 ImuseDigiSndMgr::SoundDesc *soundDesc; // sound handle used by iMuse sound manager member
114 soundDesc = nullptr; in reset()
/dports/games/residualvm/residualvm-0.3.1/engines/grim/imuse/
H A Dimuse.cpp132 track->soundDesc = _sound->openSound(track->soundName, track->volGroupId); in restoreState()
133 if (!track->soundDesc) { in restoreState()
139 int channels = _sound->getChannels(track->soundDesc); in restoreState()
140 int freq = _sound->getFreq(track->soundDesc); in restoreState()
277 int channels = _sound->getChannels(track->soundDesc); in callback()
310 if (_sound->isEndOfRegion(track->soundDesc, track->curRegion)) { in callback()
335 int numRegions = _sound->getNumRegions(track->soundDesc); in switchToNextRegion()
343 ImuseSndMgr::SoundDesc *soundDesc = track->soundDesc; in switchToNextRegion() local
352 int region = _sound->getRegionIdByJumpId(soundDesc, jumpId); in switchToNextRegion()
354 int sampleHookId = _sound->getJumpHookId(soundDesc, jumpId); in switchToNextRegion()
[all …]
H A Dimuse_track.cpp59 if (track->soundDesc) { in allocSlot()
60 _sound->closeSound(track->soundDesc); in allocSlot()
140 track->soundDesc = _sound->openSound(soundName, volGroupId); in startSound()
142 if (!track->soundDesc) in startSound()
145 bits = _sound->getBits(track->soundDesc); in startSound()
146 channels = _sound->getChannels(track->soundDesc); in startSound()
147 freq = _sound->getFreq(track->soundDesc); in startSound()
390 ImuseSndMgr::SoundDesc *soundDesc = _sound->cloneSound(track->soundDesc); in cloneToFadeOutTrack() local
391 assert(soundDesc); in cloneToFadeOutTrack()
392 track->soundDesc = soundDesc; in cloneToFadeOutTrack()
[all …]
H A Dimuse_script.cpp41 if (track->soundDesc) { in flushTrack()
42 _sound->closeSound(track->soundDesc); in flushTrack()
43 track->soundDesc = nullptr; in flushTrack()
167 if (track->soundDesc) { in stopAllSounds()
168 _sound->closeSound(track->soundDesc); in stopAllSounds()
H A Dimuse_track.h64 ImuseSndMgr::SoundDesc *soundDesc; member
H A Dimuse_sndmgr.h87 bool checkForProperHandle(SoundDesc *soundDesc);
/dports/games/scummvm/scummvm-2.5.1/engines/grim/imuse/
H A Dimuse.cpp132 track->soundDesc = _sound->openSound(track->soundName, track->volGroupId); in restoreState()
133 if (!track->soundDesc) { in restoreState()
139 int channels = _sound->getChannels(track->soundDesc); in restoreState()
140 int freq = _sound->getFreq(track->soundDesc); in restoreState()
277 int channels = _sound->getChannels(track->soundDesc); in callback()
310 if (_sound->isEndOfRegion(track->soundDesc, track->curRegion)) { in callback()
335 int numRegions = _sound->getNumRegions(track->soundDesc); in switchToNextRegion()
343 ImuseSndMgr::SoundDesc *soundDesc = track->soundDesc; in switchToNextRegion() local
352 int region = _sound->getRegionIdByJumpId(soundDesc, jumpId); in switchToNextRegion()
354 int sampleHookId = _sound->getJumpHookId(soundDesc, jumpId); in switchToNextRegion()
[all …]
H A Dimuse_track.cpp59 if (track->soundDesc) { in allocSlot()
60 _sound->closeSound(track->soundDesc); in allocSlot()
140 track->soundDesc = _sound->openSound(soundName, volGroupId); in startSound()
142 if (!track->soundDesc) in startSound()
145 bits = _sound->getBits(track->soundDesc); in startSound()
146 channels = _sound->getChannels(track->soundDesc); in startSound()
147 freq = _sound->getFreq(track->soundDesc); in startSound()
392 ImuseSndMgr::SoundDesc *soundDesc = _sound->cloneSound(track->soundDesc); in cloneToFadeOutTrack() local
393 assert(soundDesc); in cloneToFadeOutTrack()
394 track->soundDesc = soundDesc; in cloneToFadeOutTrack()
[all …]
H A Dimuse_script.cpp41 if (track->soundDesc) { in flushTrack()
42 _sound->closeSound(track->soundDesc); in flushTrack()
43 track->soundDesc = nullptr; in flushTrack()
167 if (track->soundDesc) { in stopAllSounds()
168 _sound->closeSound(track->soundDesc); in stopAllSounds()
H A Dimuse_track.h64 ImuseSndMgr::SoundDesc *soundDesc; member
100 soundDesc = nullptr; in clear()
H A Dimuse_sndmgr.h87 bool checkForProperHandle(SoundDesc *soundDesc);
/dports/games/libretro-snes9x/snes9x-73aa348/macosx/
H A Dmac-quicktime.cpp47 SoundDescriptionHandle soundDesc; member
274 sqt.soundDesc = (SoundDescriptionHandle) NewHandleClear(sizeof(SoundDescription)); in MacQTStartRecording()
277 (**sqt.soundDesc).descSize = sizeof(SoundDescription); in MacQTStartRecording()
279 …(**sqt.soundDesc).dataFormat = Settings.SixteenBitSound ? k16BitBigEndianFormat : k8BitOffsetB… in MacQTStartRecording()
281 …(**sqt.soundDesc).dataFormat = Settings.SixteenBitSound ? k16BitLittleEndianFormat : k8BitOffsetB… in MacQTStartRecording()
283 (**sqt.soundDesc).numChannels = Settings.Stereo ? 2 : 1; in MacQTStartRecording()
284 (**sqt.soundDesc).sampleSize = Settings.SixteenBitSound ? 16 : 8; in MacQTStartRecording()
285 (**sqt.soundDesc).sampleRate = (UnsignedFixed) FixRatio(Settings.SoundPlaybackRate, 1); in MacQTStartRecording()
397 …t.soundBuffer, 0, sqt.soundBufferSize, 1, (SampleDescriptionHandle) sqt.soundDesc, sqt.samplesPerS… in MacQTRecordFrame()
437 DisposeHandle((Handle) sqt.soundDesc); in MacQTStopRecording()
/dports/emulators/snes9x-gtk/snes9x-1.54.1/macosx/
H A Dmac-quicktime.cpp221 SoundDescriptionHandle soundDesc; member
448 sqt.soundDesc = (SoundDescriptionHandle) NewHandleClear(sizeof(SoundDescription)); in MacQTStartRecording()
451 (**sqt.soundDesc).descSize = sizeof(SoundDescription); in MacQTStartRecording()
453 …(**sqt.soundDesc).dataFormat = Settings.SixteenBitSound ? k16BitBigEndianFormat : k8BitOffsetB… in MacQTStartRecording()
455 …(**sqt.soundDesc).dataFormat = Settings.SixteenBitSound ? k16BitLittleEndianFormat : k8BitOffsetB… in MacQTStartRecording()
457 (**sqt.soundDesc).numChannels = Settings.Stereo ? 2 : 1; in MacQTStartRecording()
458 (**sqt.soundDesc).sampleSize = Settings.SixteenBitSound ? 16 : 8; in MacQTStartRecording()
459 (**sqt.soundDesc).sampleRate = (UnsignedFixed) FixRatio(Settings.SoundPlaybackRate, 1); in MacQTStartRecording()
571 …t.soundBuffer, 0, sqt.soundBufferSize, 1, (SampleDescriptionHandle) sqt.soundDesc, sqt.samplesPerS… in MacQTRecordFrame()
611 DisposeHandle((Handle) sqt.soundDesc); in MacQTStopRecording()
/dports/games/tads/tads-3.0.8/tads3/t3library/adv3/
H A Dactions.t1694 descProp = &soundDesc

12