Home
last modified time | relevance | path

Searched refs:newSound (Results 1 – 25 of 55) sorted by relevance

123

/dports/games/libretro-scummvm/scummvm-7b1e929/engines/kyra/sound/
H A Dsound_amiga_eob.cpp135 Common::String newSound; in playTrack() local
139 newSound = "NEWINTRO1.SMUS"; in playTrack()
141 newSound = "CHARGEN1.SMUS"; in playTrack()
143 newSound = "FINALE.SMUS"; in playTrack()
149 newSound = songs[track - 12]; in playTrack()
154 newSound = songs[track - 1]; in playTrack()
160 _driver->startSound(newSound); in playTrack()
161 _lastSound = newSound; in playTrack()
191 if (!newSound.empty()) { in playSoundEffect()
202 newSound = Common::String::format("%s%d", newSound.c_str(), volume); in playSoundEffect()
[all …]
/dports/games/scummvm/scummvm-2.5.1/engines/kyra/sound/
H A Dsound_amiga_eob.cpp135 Common::String newSound; in playTrack() local
139 newSound = "NEWINTRO1.SMUS"; in playTrack()
141 newSound = "CHARGEN1.SMUS"; in playTrack()
143 newSound = "FINALE.SMUS"; in playTrack()
149 newSound = songs[track - 12]; in playTrack()
154 newSound = songs[track - 1]; in playTrack()
160 _driver->startSound(newSound); in playTrack()
161 _lastSound = newSound; in playTrack()
191 if (!newSound.empty()) { in playSoundEffect()
202 newSound = Common::String::format("%s%d", newSound.c_str(), volume); in playSoundEffect()
[all …]
/dports/games/scummvm/scummvm-2.5.1/engines/sci/sound/
H A Dsoundcmd.cpp98 if (newSound->resourceId) { in initSoundResource()
99 newSound->soundRes = new SoundResource(newSound->resourceId, _resMan, _soundVersion); in initSoundResource()
101 delete newSound->soundRes; in initSoundResource()
105 newSound->soundRes = nullptr; in initSoundResource()
123 newSound->pStreamAud = _audio->getAudioStream(newSound->resourceId, 65535, &sampleLen); in initSoundResource()
125 newSound->isSample = newSound->pStreamAud != nullptr; in initSoundResource()
132 if (!newSound->isSample && newSound->soundRes) in initSoundResource()
146 newSound->soundObj = obj; in processInitSound()
158 resourceId, newSound->loop, newSound->priority, newSound->volume); in processInitSound()
160 initSoundResource(newSound); in processInitSound()
[all …]
/dports/games/blobby/blobby-1.0/src/
H A DSoundManager.cpp61 Sound *newSound = new Sound; in loadSound() local
62 newSound->data = new Uint8[newSoundLength]; in loadSound()
63 memcpy(newSound->data, newSoundBuffer, newSoundLength); in loadSound()
64 newSound->length = newSoundLength; in loadSound()
65 newSound->position = 0; in loadSound()
67 return newSound; in loadSound()
85 Sound *newSound = new Sound; in loadSound() local
86 newSound->data = conversionStructure.buf; in loadSound()
87 newSound->length = Uint32(conversionStructure.len_cvt); in loadSound()
88 newSound->position = 0; in loadSound()
[all …]
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/sci/sound/
H A Dsoundcmd.cpp95 newSound->soundRes = new SoundResource(newSound->resourceId, _resMan, _soundVersion); in initSoundResource()
97 newSound->soundRes = 0; in initSoundResource()
114 newSound->pStreamAud = _audio->getAudioStream(newSound->resourceId, 65535, &sampleLen); in initSoundResource()
116 newSound->isSample = newSound->pStreamAud != nullptr; in initSoundResource()
123 if (!newSound->isSample && newSound->soundRes) in initSoundResource()
124 _music->soundInitSnd(newSound); in initSoundResource()
137 newSound->soundObj = obj; in processInitSound()
149 resourceId, newSound->loop, newSound->priority, newSound->volume); in processInitSound()
151 initSoundResource(newSound); in processInitSound()
153 _music->pushBackSlot(newSound); in processInitSound()
[all …]
/dports/games/amoebax/amoebax-0.2.1/src/
H A DSound.cxx55 Sound *newSound = new Sound; in fromFile() local
58 newSound->m_SDLSound = Mix_LoadWAV (fileName.c_str ()); in fromFile()
59 if ( 0 == newSound->m_SDLSound ) in fromFile()
61 delete newSound; in fromFile()
65 return newSound; in fromFile()
/dports/audio/rezound/rezound-0.13.1beta/src/backend/Edits/
H A DCPasteAsNewEdit.cpp48 CLoadedSound *newSound=soundFileManager->createNew( in doActionSizeSafe() local
56 CSoundLocker sl(newSound->sound, false); in doActionSizeSafe()
61 clipboard->copyTo(newSound->sound,k++,t,0,clipboardLength,mmOverwrite,sftNone,false); in doActionSizeSafe()
66 soundFileManager->close(ASoundFileManager::ctSaveNone,newSound); in doActionSizeSafe()
H A DCCopyCutToNewEdit.cpp47 CLoadedSound *newSound=soundFileManager->createNew( in doActionSizeSafe() local
54 CSoundLocker sl(newSound->sound, false); in doActionSizeSafe()
60newSound->sound->mixSound(k++,0,actionSound->sound->getAudio(t),start,actionSound->sound->getSampl… in doActionSizeSafe()
/dports/games/alienblaster/alienblaster/src/
H A DsoundDB.cc42 Mix_Chunk *newSound = Mix_LoadWAV( fn.c_str() ); in loadWav() local
43 soundDB[ fn ] = newSound; in loadWav()
44 return newSound; in loadWav()
/dports/audio/faudio/FAudio-21.01/src/
H A DFACT_internal.c456 FACTSoundInstance *newSound; in FACT_INTERNAL_CreateSound() local
692 newSound->parentCue = cue; in FACT_INTERNAL_CreateSound()
693 newSound->sound = baseSound; in FACT_INTERNAL_CreateSound()
700 if (newSound->fadeType) in FACT_INTERNAL_CreateSound()
703 newSound->fadeTarget = fadeInMS; in FACT_INTERNAL_CreateSound()
707 newSound->fadeStart = 0; in FACT_INTERNAL_CreateSound()
708 newSound->fadeTarget = 0; in FACT_INTERNAL_CreateSound()
782 newSound->sound, in FACT_INTERNAL_CreateSound()
783 &newSound->sound->tracks[i], in FACT_INTERNAL_CreateSound()
784 &newSound->tracks[i], in FACT_INTERNAL_CreateSound()
[all …]
/dports/devel/juce/JUCE-f37e9a1/modules/juce_audio_utils/players/
H A Djuce_SoundPlayer.cpp233 auto* newSound = new AudioBuffer<float> (1, soundLength); in playTestSound() local
236 newSound->setSample (0, i, amplitude * (float) std::sin (i * phasePerSample)); in playTestSound()
238 newSound->applyGainRamp (0, 0, soundLength / 10, 0.0f, 1.0f); in playTestSound()
239 newSound->applyGainRamp (0, soundLength - soundLength / 4, soundLength / 4, 1.0f, 0.0f); in playTestSound()
241 play (newSound, true, true); in playTestSound()
/dports/games/ags/ags_linux_v.3.4.4.1/Engine/media/audio/
H A Daudio.h30 void start_fading_in_new_track_if_applicable(int fadeInChannel, ScriptAudioClip *newSound);
31 …fade_channel(int currentChannel, int crossfadeSpeed, int fadeInChannel, ScriptAudioClip *newSound);
32 …_or_fade_out_channel(int fadeOutChannel, int fadeInChannel = -1, ScriptAudioClip *newSound = NULL);
H A Daudio.cpp79 void start_fading_in_new_track_if_applicable(int fadeInChannel, ScriptAudioClip *newSound) in start_fading_in_new_track_if_applicable() argument
81 int crossfadeSpeed = game.audioClipTypes[newSound->type].crossfadeSpeed; in start_fading_in_new_track_if_applicable()
84 update_clip_default_volume(newSound); in start_fading_in_new_track_if_applicable()
86 play.crossfade_final_volume_in = newSound->defaultVolume; in start_fading_in_new_track_if_applicable()
91 …sfade_channel(int currentChannel, int crossfadeSpeed, int fadeInChannel, ScriptAudioClip *newSound) in move_track_to_crossfade_channel() argument
103 if (newSound != NULL) in move_track_to_crossfade_channel()
105 start_fading_in_new_track_if_applicable(fadeInChannel, newSound); in move_track_to_crossfade_channel()
109 void stop_or_fade_out_channel(int fadeOutChannel, int fadeInChannel, ScriptAudioClip *newSound) in stop_or_fade_out_channel() argument
114 …nel(fadeOutChannel, game.audioClipTypes[sourceClip->type].crossfadeSpeed, fadeInChannel, newSound); in stop_or_fade_out_channel()
/dports/games/scummvm/scummvm-2.5.1/engines/ags/engine/ac/
H A Dview_frame.cpp84 void ViewFrame_SetSound(ScriptViewFrame *svf, int newSound) { in ViewFrame_SetSound() argument
85 if (newSound < 1) { in ViewFrame_SetSound()
89 ScriptAudioClip *clip = GetAudioClipForOldStyleNumber(_GP(game), false, newSound); in ViewFrame_SetSound()
91 quitprintf("!SetFrameSound: audio clip aSound%d not found", newSound); in ViewFrame_SetSound()
94 _GP(game).IsLegacyAudioSystem() ? newSound : clip->id; in ViewFrame_SetSound()
/dports/games/stendhal/stendhal-1.35/src/games/stendhal/client/sound/manager/
H A DSoundManager.java125 synchronized void playSound(Sound newSound, float volume, Time time) in playSound() argument
135 if(newSound != null) in playSound()
144 newSound.channel.set(this); in playSound()
145 newSound.file.get().connectTo(mInterruptor, true); in playSound()
148 mSound = newSound; in playSound()
149 mIsActive.set(newSound != null); in playSound()
H A DSoundManagerNG.java152 synchronized void playSound(Sound newSound, float volume, Time time) { in playSound() argument
160 if (newSound != null) { in playSound()
168 newSound.channel.set(this); in playSound()
169 newSound.file.get().connectTo(mInterruptor, true); in playSound()
172 mSound = newSound; in playSound()
173 mIsActive.set(newSound != null); in playSound()
/dports/games/ags/ags_linux_v.3.4.4.1/Engine/ac/
H A Dviewframe.cpp74 void ViewFrame_SetSound(ScriptViewFrame *svf, int newSound) in ViewFrame_SetSound() argument
76 if (newSound < 1) in ViewFrame_SetSound()
83 ScriptAudioClip* clip = GetAudioClipForOldStyleNumber(game, false, newSound); in ViewFrame_SetSound()
85 quitprintf("!SetFrameSound: audio clip aSound%d not found", newSound); in ViewFrame_SetSound()
/dports/games/scummvm/scummvm-2.5.1/engines/ags/engine/media/audio/
H A Daudio.h75 void start_fading_in_new_track_if_applicable(int fadeInChannel, ScriptAudioClip *newSound);
76 …_fade_out_channel(int fadeOutChannel, int fadeInChannel = -1, ScriptAudioClip *newSound = nullptr);
H A Daudio.cpp132 void start_fading_in_new_track_if_applicable(int fadeInChannel, ScriptAudioClip *newSound) { in start_fading_in_new_track_if_applicable() argument
133 int crossfadeSpeed = _GP(game).audioClipTypes[newSound->type].crossfadeSpeed; in start_fading_in_new_track_if_applicable()
135 update_clip_default_volume(newSound); in start_fading_in_new_track_if_applicable()
137 _GP(play).crossfade_final_volume_in = newSound->defaultVolume; in start_fading_in_new_track_if_applicable()
142 …ade_channel(int currentChannel, int crossfadeSpeed, int fadeInChannel, ScriptAudioClip *newSound) { in move_track_to_crossfade_channel() argument
155 if (newSound != nullptr) { in move_track_to_crossfade_channel()
156 start_fading_in_new_track_if_applicable(fadeInChannel, newSound); in move_track_to_crossfade_channel()
160 void stop_or_fade_out_channel(int fadeOutChannel, int fadeInChannel, ScriptAudioClip *newSound) { in stop_or_fade_out_channel() argument
163 …adeOutChannel, _GP(game).audioClipTypes[sourceClip->type].crossfadeSpeed, fadeInChannel, newSound); in stop_or_fade_out_channel()
/dports/games/scummvm/scummvm-2.5.1/engines/ags/plugins/core/
H A Dview_frame.cpp87 PARAMS2(ScriptViewFrame *, svf, int, newSound); in SetSound()
88 AGS3::ViewFrame_SetSound(svf, newSound); in SetSound()
/dports/devel/juce/JUCE-f37e9a1/examples/Plugins/
H A DMultiOutSynthPluginDemo.h183 …SynthesiserSound::Ptr newSound = new SamplerSound ("Voice", *formatReader, midiNotes, 0x40, 0.0, 0… in loadNewSample() local
188 sound = newSound; in loadNewSample()
/dports/games/chromium-bsu/chromium-bsu-0.9.16.1/src/
H A DAudioOpenAL.cpp666 SoundInfo *newSound; in playSound() local
667 newSound = new SoundInfo(type, pos, age); in playSound()
668 newSound->back = soundQueue; in playSound()
669 newSound->next = soundQueue->next; in playSound()
670 soundQueue->next = newSound; in playSound()
672 first->back = newSound; in playSound()
/dports/devel/love5/love-0.5-0/src/sdlmixer/
H A Dlove_sdlmixer.h38 pSound newSound(const char * filename);
/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/SourceFiles/data/
H A Ddata_notify_settings.cpp84 const auto newSound = (_sound && _sound->isEmpty() && notMuted) in change() local
92 newSound, in change()
/dports/x11-toolkits/gnustep-gui/libs-gui-gui-0_28_0/Source/
H A DNSSound.m775 NSSound *newSound = (NSSound *)NSCopyObject(self, 0, zone);
778 newSound->_name = [_name copyWithZone: zone];
779 newSound->_data = [_data copyWithZone: zone];
780 newSound->_playbackDeviceIdentifier = [_playbackDeviceIdentifier
782 newSound->_channelMapping = [_channelMapping copyWithZone: zone];
785 return newSound;

123