Home
last modified time | relevance | path

Searched refs:soundSource (Results 1 – 25 of 29) sorted by relevance

12

/dports/games/uqm/uqm-0.8.0/src/libs/sound/
H A Dmusic.c37 LockMutex (soundSource[MUSIC_SOURCE].stream_mutex); in PLRPlaySong()
40 UnlockMutex (soundSource[MUSIC_SOURCE].stream_mutex); in PLRPlaySong()
53 LockMutex (soundSource[MUSIC_SOURCE].stream_mutex); in PLRStop()
55 UnlockMutex (soundSource[MUSIC_SOURCE].stream_mutex); in PLRStop()
68 LockMutex (soundSource[MUSIC_SOURCE].stream_mutex); in PLRPlaying()
70 UnlockMutex (soundSource[MUSIC_SOURCE].stream_mutex); in PLRPlaying()
83 LockMutex (soundSource[MUSIC_SOURCE].stream_mutex); in PLRSeek()
94 LockMutex (soundSource[MUSIC_SOURCE].stream_mutex); in PLRPause()
105 LockMutex (soundSource[MUSIC_SOURCE].stream_mutex); in PLRResume()
133 LockMutex (soundSource[SPEECH_SOURCE].stream_mutex); in snd_StopSpeech()
[all …]
H A Dsound.c30 TFB_SoundSource soundSource[NUM_SOUNDSOURCES]; variable
50 soundSource[iSource].positional_object = NULL; in CleanSource()
51 audio_GetSourcei (soundSource[iSource].handle, in CleanSource()
64 audio_SourceUnqueueBuffers (soundSource[iSource].handle, in CleanSource()
71 audio_SourceRewind (soundSource[iSource].handle); in CleanSource()
77 audio_SourceStop (soundSource[iSource].handle); in StopSource()
89 sample = soundSource[i].sample; in SoundPlaying()
93 LockMutex (soundSource[i].stream_mutex); in SoundPlaying()
95 UnlockMutex (soundSource[i].stream_mutex); in SoundPlaying()
148 audio_Sourcef (soundSource[i].handle, audio_GAIN, volume); in SetSFXVolume()
[all …]
H A Dstream.c69 soundSource[source].sample = sample; in PlayStream()
78 soundSource[source].sbuffer = HCalloc (soundSource[source].sbuf_size); in PlayStream()
125 soundSource[source].pause_time = 0; in PlayStream()
136 soundSource[source].sample = NULL; in StopStream()
138 if (soundSource[source].sbuffer) in StopStream()
144 soundSource[source].sbuf_size = 0; in StopStream()
145 soundSource[source].sbuf_head = 0; in StopStream()
146 soundSource[source].sbuf_tail = 0; in StopStream()
147 soundSource[source].pause_time = 0; in StopStream()
162 if (soundSource[source].pause_time) in ResumeStream()
[all …]
H A Dtrackplayer.c97 LockMutex (soundSource[SPEECH_SOURCE].stream_mutex); in JumpTrack()
99 UnlockMutex (soundSource[SPEECH_SOURCE].stream_mutex); in JumpTrack()
109 LockMutex (soundSource[SPEECH_SOURCE].stream_mutex); in PlayTrack()
124 LockMutex (soundSource[SPEECH_SOURCE].stream_mutex); in PauseTrack()
126 UnlockMutex (soundSource[SPEECH_SOURCE].stream_mutex); in PauseTrack()
138 LockMutex (soundSource[SPEECH_SOURCE].stream_mutex); in ResumeTrack()
150 UnlockMutex (soundSource[SPEECH_SOURCE].stream_mutex); in ResumeTrack()
163 LockMutex (soundSource[SPEECH_SOURCE].stream_mutex); in PlayingTrack()
166 UnlockMutex (soundSource[SPEECH_SOURCE].stream_mutex); in PlayingTrack()
174 LockMutex (soundSource[SPEECH_SOURCE].stream_mutex); in StopTrack()
[all …]
H A Dsfx.c51 soundSource[channel].sample = sample; in PlayChannel()
52 soundSource[channel].positional_object = positional_object; in PlayChannel()
56 audio_Sourcei (soundSource[channel].handle, audio_BUFFER, in PlayChannel()
58 audio_SourcePlay (soundSource[channel].handle); in PlayChannel()
78 audio_GetSourcei (soundSource[i].handle, audio_SOURCE_STATE, in CheckFinishedChannels()
94 audio_GetSourcei (soundSource[WhichChannel].handle, in ChannelPlaying()
104 return soundSource[channel].positional_object; in GetPositionalObject()
110 soundSource[channel].positional_object = positional_object; in SetPositionalObject()
153 audio_Sourcef (soundSource[channel].handle, audio_GAIN, in SetChannelVolume()
275 if (soundSource[i].sample == sample) in _ReleaseSoundBankData()
[all …]
H A Dsndintrn.h74 extern TFB_SoundSource soundSource[];
/dports/devel/bullet/bullet3-3.21/examples/TinyAudio/
H A Db3SoundEngine.cpp118 b3SoundSource* soundSource = m_data->m_soundSources[soundSourceIndex]; in startSound() local
119 soundSource->setOscillatorAmplitude(0, msg.m_amplitude); in startSound()
120 soundSource->setOscillatorAmplitude(1, msg.m_amplitude); in startSound()
128 soundSource->setOscillatorFrequency(0, msg.m_frequency); in startSound()
129 soundSource->setOscillatorFrequency(1, msg.m_frequency); in startSound()
131 soundSource->startSound(msg.m_autoKeyOff); in startSound()
140 soundSource->setWavFile(0, wavFile, getSampleRate()); in startSound()
141 soundSource->setWavFile(1, wavFile, getSampleRate()); in startSound()
142 soundSource->startSound(msg.m_autoKeyOff); in startSound()
154 b3SoundSource* soundSource = m_data->m_soundSources[soundSourceIndex]; in releaseSound() local
[all …]
H A DTinyAudioExample.cpp147 b3SoundSource* soundSource = this->m_soundSourcesPool[soundSourceIndex]; in keyboardCallback()
149 soundSource->setOscillatorFrequency(0, freq ); in keyboardCallback()
150 soundSource->setOscillatorFrequency(1, freq ); in keyboardCallback()
151 soundSource->startSound(); in keyboardCallback()
177 b3SoundSource* soundSource = this->m_soundSourcesPool[soundSourceIndex]; in keyboardCallback()
178 soundSource->stopSound(); in keyboardCallback()
/dports/devel/py-bullet3/bullet3-3.21/examples/TinyAudio/
H A Db3SoundEngine.cpp118 b3SoundSource* soundSource = m_data->m_soundSources[soundSourceIndex]; in startSound() local
119 soundSource->setOscillatorAmplitude(0, msg.m_amplitude); in startSound()
120 soundSource->setOscillatorAmplitude(1, msg.m_amplitude); in startSound()
128 soundSource->setOscillatorFrequency(0, msg.m_frequency); in startSound()
129 soundSource->setOscillatorFrequency(1, msg.m_frequency); in startSound()
131 soundSource->startSound(msg.m_autoKeyOff); in startSound()
140 soundSource->setWavFile(0, wavFile, getSampleRate()); in startSound()
141 soundSource->setWavFile(1, wavFile, getSampleRate()); in startSound()
142 soundSource->startSound(msg.m_autoKeyOff); in startSound()
154 b3SoundSource* soundSource = m_data->m_soundSources[soundSourceIndex]; in releaseSound() local
[all …]
H A DTinyAudioExample.cpp147 b3SoundSource* soundSource = this->m_soundSourcesPool[soundSourceIndex]; in keyboardCallback()
149 soundSource->setOscillatorFrequency(0, freq ); in keyboardCallback()
150 soundSource->setOscillatorFrequency(1, freq ); in keyboardCallback()
151 soundSource->startSound(); in keyboardCallback()
177 b3SoundSource* soundSource = this->m_soundSourcesPool[soundSourceIndex]; in keyboardCallback()
178 soundSource->stopSound(); in keyboardCallback()
/dports/games/scorched3d/scorched/src/client/landscape/
H A DLandscapeSoundManager.cpp58 delete entry.soundSource; in cleanUp()
60 entry.soundSource = 0; in cleanUp()
103 entry.soundSource = new VirtualSoundSource( in loadSound()
113 entry.soundSource, entry.initData)) in loadSound()
115 entry.soundType->sound->play(entry.soundSource, ambientGain); in loadSound()
155 entry.soundSource, entry.initData)) in simulate()
158 entry.soundSource->stop(); in simulate()
164 if (entry.soundSource) in simulate()
166 entry.soundSource->setGain(entry.soundType->sound->getGain() * ambientGain); in simulate()
179 entry.soundType->sound->play(entry.soundSource, ambientGain); in simulate()
H A DLandscapeSoundManager.h47 soundSource(0), initData(0), soundType(0), removed(false) {} in LandscapeSoundManagerEntry()
49 VirtualSoundSource *soundSource; member
/dports/games/uqm/uqm-0.8.0/src/libs/sound/openal/
H A Daudiodrv_openal.c173 alGenSources (1, &soundSource[i].handle); in openAL_Init()
174 alSourcei (soundSource[i].handle, AL_LOOPING, AL_FALSE); in openAL_Init()
175 alSourcefv (soundSource[i].handle, AL_POSITION, defaultPos); in openAL_Init()
176 alSourcefv (soundSource[i].handle, AL_VELOCITY, zero); in openAL_Init()
177 alSourcefv (soundSource[i].handle, AL_DIRECTION, zero); in openAL_Init()
179 soundSource[i].stream_mutex = CreateMutex ("OpenAL stream mutex", SYNC_CLASS_AUDIO); in openAL_Init()
211 if (soundSource[i].sample && soundSource[i].sample->decoder) in openAL_Uninit()
215 if (soundSource[i].sbuffer) in openAL_Uninit()
217 void *sbuffer = soundSource[i].sbuffer; in openAL_Uninit()
218 soundSource[i].sbuffer = NULL; in openAL_Uninit()
[all …]
/dports/games/uqm/uqm-0.8.0/src/libs/sound/mixer/nosound/
H A Daudiodrv_nosound.c136 audio_GenSources (1, &soundSource[i].handle); in noSound_Init()
137 soundSource[i].stream_mutex = CreateMutex ("Nosound stream mutex", SYNC_CLASS_AUDIO); in noSound_Init()
164 if (soundSource[i].sample && soundSource[i].sample->decoder) in noSound_Uninit()
168 if (soundSource[i].sbuffer) in noSound_Uninit()
170 void *sbuffer = soundSource[i].sbuffer; in noSound_Uninit()
171 soundSource[i].sbuffer = NULL; in noSound_Uninit()
174 DestroyMutex (soundSource[i].stream_mutex); in noSound_Uninit()
176 noSound_DeleteSources (1, &soundSource[i].handle); in noSound_Uninit()
/dports/games/uqm/uqm-0.8.0/src/libs/sound/mixer/sdl/
H A Daudiodrv_sdl.c237 audio_GenSources (1, &soundSource[i].handle); in mixSDL_Init()
238 soundSource[i].stream_mutex = CreateMutex ("MixSDL stream mutex", SYNC_CLASS_AUDIO); in mixSDL_Init()
272 if (soundSource[i].sample && soundSource[i].sample->decoder) in mixSDL_Uninit()
276 if (soundSource[i].sbuffer) in mixSDL_Uninit()
278 void *sbuffer = soundSource[i].sbuffer; in mixSDL_Uninit()
279 soundSource[i].sbuffer = NULL; in mixSDL_Uninit()
282 DestroyMutex (soundSource[i].stream_mutex); in mixSDL_Uninit()
283 soundSource[i].stream_mutex = 0; in mixSDL_Uninit()
285 mixSDL_DeleteSources (1, &soundSource[i].handle); in mixSDL_Uninit()
/dports/graphics/synaesthesia/synaesthesia-2.4/
H A Dmain.cc84 static SoundSource soundSource; variable
300 if (strcmp(argv[1],"line") == 0) soundSource = SourceLine; in main()
301 else if (strcmp(argv[1],"cd") == 0) soundSource = SourceCD; in main()
304 else if (strcmp(argv[1],"esd") == 0) soundSource = SourceESD; in main()
310 soundSource = SourcePipe; in main()
315 soundSource = SourceCD; in main()
321 if (soundSource == SourceCD) in main()
330 openSound(soundSource, inFrequency, dspName, mixerName); in main()
407 if (soundSource == SourceCD) in main()
/dports/graphics/urho3d/Urho3D-1.7.1/bin/Data/LuaScripts/
H A D14_SoundEffects.lua122 local soundSource = scene_:CreateComponent("SoundSource")
123 soundSource:SetAutoRemoveMode(REMOVE_COMPONENT)
124 soundSource:Play(sound)
126 soundSource.gain = 0.7
/dports/games/supertux2/SuperTux-v0.6.3-Source/src/object/
H A Dcoin.cpp181 …std::unique_ptr<SoundSource> soundSource = SoundManager::current()->create_sound_source("sounds/co… in collect() local
182 soundSource->set_position(get_pos()); in collect()
183 soundSource->set_pitch(pitch); in collect()
184 soundSource->play(); in collect()
185 SoundManager::current()->manage_source(std::move(soundSource)); in collect()
/dports/graphics/urho3d/Urho3D-1.7.1/Source/Samples/14_SoundEffects/
H A DSoundEffects.cpp189 SoundSource* soundSource = scene_->CreateComponent<SoundSource>(); in HandlePlaySound() local
191 soundSource->SetAutoRemoveMode(REMOVE_COMPONENT); in HandlePlaySound()
192 soundSource->Play(sound); in HandlePlaySound()
194 soundSource->SetGain(0.75f); in HandlePlaySound()
/dports/games/openra/OpenRA-release-20200503/OpenRA.Game/Sound/
H A DSound.cs91 foreach (var soundSource in sounds.Values) in Initialize()
92 if (soundSource != null) in Initialize()
93 soundSource.Dispose(); in Initialize()
433 foreach (var soundSource in sounds.Values) in Dispose()
434 if (soundSource != null) in Dispose()
435 soundSource.Dispose(); in Dispose()
/dports/graphics/urho3d/Urho3D-1.7.1/Source/Urho3D/Audio/
H A DAudio.h105 void AddSoundSource(SoundSource* soundSource);
107 void RemoveSoundSource(SoundSource* soundSource);
/dports/graphics/urho3d/Urho3D-1.7.1/bin/Data/Scripts/
H A D14_SoundEffects.as128 SoundSource@ soundSource = scene_.CreateComponent("SoundSource");
129 soundSource.autoRemoveMode = REMOVE_COMPONENT;
130 soundSource.Play(sound);
132 soundSource.gain = 0.7f;
/dports/graphics/urho3d/Urho3D-1.7.1/Source/Urho3D/LuaScript/pkgs/Audio/
H A DAudio.pkg33 void AddSoundSource(SoundSource* soundSource);
34 void RemoveSoundSource(SoundSource* soundSource);
/dports/games/openra/OpenRA-release-20200503/OpenRA.Platforms.Default/
H A DOpenAlSoundEngine.cs201 …public ISound Play2D(ISoundSource soundSource, bool loop, bool relative, WPos pos, float volume, b… in Play2D() argument
203 if (soundSource == null) in Play2D()
209 var alSoundSource = (OpenAlSoundSource)soundSource; in Play2D()
543 …using (var soundSource = new OpenAlSoundSource(data, dataLength, channels, sampleBits, sampleRate)) in OpenAlAsyncLoadSound()
547 AL10.alSourcei(source, AL10.AL_BUFFER, (int)soundSource.Buffer); in OpenAlAsyncLoadSound()
/dports/devel/SpecTcl/SpecTcl/demo/
H A DAnimator.java138 URL soundSource = null; field in Animator
363 new URL(soundSource, sound)); in parseSounds()
612 soundSource = (param == null) ? imageSource : new URL(getDocumentBase(), param + "/"); in init()
631 soundtrackURL = new URL(soundSource, param); in init()

12