Searched refs:sound (Results 1 - 25 of 39) sorted by relevance

12

/external/replicaisland/src/com/replica/replicaisland/
H A DPlaySingleSoundComponent.java35 public void setSound(SoundSystem.Sound sound) { argument
36 mSound = sound;
42 SoundSystem sound = sSystemRegistry.soundSystem;
43 mSoundHandle = sound.play(mSound, false, SoundSystem.PRIORITY_NORMAL);
H A DButtonAnimationComponent.java55 SoundSystem sound = sSystemRegistry.soundSystem;
56 if (sound != null) {
57 sound.play(mDepressSound, false, SoundSystem.PRIORITY_NORMAL);
82 public void setDepressSound(Sound sound) { argument
83 mDepressSound = sound;
H A DAnimationComponent.java140 SoundSystem sound = sSystemRegistry.soundSystem;
142 // It's usually not necessary to test to see if sound is enabled or not (when it's disabled,
144 // sounds. So it's simpler to just avoid that code if sound is off.
145 if (sound.getSoundEnabled()) {
158 mRocketSoundStream = sound.play(mRocketSound, true, SoundSystem.PRIORITY_HIGH);
161 sound.resume(mRocketSoundStream);
165 sound.pause(mRocketSoundStream);
172 // a sound when it is collected. The gems are a special case, though, as we
173 // want to pick a different sound depending on how many have been collected.
181 sound
369 setRocketSound(Sound sound) argument
383 setExplosionSound(Sound sound) argument
[all...]
H A DGhostComponent.java131 SoundSystem sound = BaseObject.sSystemRegistry.soundSystem;
132 if (sound != null) {
133 mAmbientSoundStream = sound.play(mAmbientSound, true, SoundSystem.PRIORITY_NORMAL);
140 SoundSystem sound = BaseObject.sSystemRegistry.soundSystem;
141 if (sound != null) {
142 sound.stop(mAmbientSoundStream);
191 SoundSystem sound = BaseObject.sSystemRegistry.soundSystem;
192 if (sound != null) {
193 sound.stop(mAmbientSoundStream);
236 public final void setAmbientSound(Sound sound) { argument
[all...]
H A DDoorAnimationComponent.java96 SoundSystem sound = sSystemRegistry.soundSystem;
97 if (sound != null) {
98 sound.play(mOpenSound, false, SoundSystem.PRIORITY_NORMAL);
126 SoundSystem sound = sSystemRegistry.soundSystem;
127 if (sound != null) {
128 sound.play(mCloseSound, false, SoundSystem.PRIORITY_NORMAL);
H A DLauncherComponent.java114 SoundSystem sound = sSystemRegistry.soundSystem;
115 if (sound != null) {
116 sound.play(mLaunchSound, false, SoundSystem.PRIORITY_NORMAL);
151 public void setLaunchSound(Sound sound) { argument
152 mLaunchSound = sound;
H A DHitReactionComponent.java120 SoundSystem sound = sSystemRegistry.soundSystem;
121 if (sound != null) {
122 sound.play(mDealHitSound, false, SoundSystem.PRIORITY_NORMAL);
231 SoundSystem sound = sSystemRegistry.soundSystem;
232 if (sound != null) {
233 sound.play(mTakeHitSound, false, SoundSystem.PRIORITY_NORMAL);
325 public final void setTakeHitSound(int hitType, SoundSystem.Sound sound) { argument
327 mTakeHitSound = sound;
330 public final void setDealHitSound(int hitType, SoundSystem.Sound sound) { argument
331 mDealHitSound = sound;
[all...]
H A DGameThread.java105 SoundSystem sound = BaseObject.sSystemRegistry.soundSystem;
106 if (sound != null) {
107 sound.pauseAll();
H A DSoundSystem.java66 // new sound.
82 synchronized public final int play(Sound sound, boolean loop, int priority) { argument
85 stream = mSoundPool.play(sound.soundId, 1.0f, 1.0f, priority, loop ? -1 : 0, 1.0f);
94 synchronized public final int play(Sound sound, boolean loop, int priority, float volume, float rate) { argument
97 stream = mSoundPool.play(sound.soundId, volume, volume, priority, loop ? -1 : 0, rate);
128 // HACK: There's no way to pause an entire sound pool, but if we
H A DLifetimeComponent.java164 SoundSystem sound = sSystemRegistry.soundSystem;
165 if (sound != null) {
166 sound.play(mDeathSound, false, SoundSystem.PRIORITY_NORMAL);
/external/qemu/distrib/sdl-1.2.15/src/audio/windib/
H A DSDL_dibaudio.h35 HWAVEOUT sound; member in struct:SDL_PrivateAudioData
45 #define sound (this->hidden->sound) macro
H A DSDL_dibaudio.c178 waveOutWrite(sound, &wavebuf[next_buffer], sizeof(wavebuf[0]));
222 if ( sound ) {
223 waveOutReset(sound);
229 waveOutUnprepareHeader(sound, &wavebuf[i],
240 if ( sound )
241 waveOutClose(sound);
251 sound = NULL;
293 result = waveOutOpen(&sound, WAVE_MAPPER, &waveformat,
301 /* Check the sound device we retrieved */
305 result = waveOutGetDevCaps((UINT)sound,
[all...]
/external/qemu/distrib/sdl-1.2.15/src/audio/windx5/
H A DSDL_dx5audio.h36 LPDIRECTSOUND sound; member in struct:SDL_PrivateAudioData
46 #define sound (this->hidden->sound) macro
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/fx/
H A Dbg.js96 // the default sound should be played for this event.
109 // Ignore all events until the startup sound has finished.
129 var sound = sounds[id];
131 if (sound && sound.src) {
132 if (!sound.paused) {
133 if (sound.currentTime < 0.2) {
134 console.log("ignoring fast replay: " + id + "/" + sound.currentTime);
137 sound.pause();
138 sound
[all...]
/external/chromium_org/ui/keyboard/resources/elements/
H A Dkb-key.js44 * The sound to play when this key is pressed.
47 sound: Sound.DEFAULT,
89 details.sound = this.sound;
H A Dkb-keyboard.js297 * Caches the specified sound on the keyboard.
477 this.playSound(detail.sound);
517 self.playSound(detail.sound);
770 * Plays the specified sound.
771 * @param {Sound} sound The id of the audio tag.
773 playSound: function(sound) {
774 if (!SOUND_ENABLED || !sound || sound == Sound.NONE)
776 var pool = this.sounds[sound];
778 console.error("Cannot find audio tag: " + sound);
[all...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/
H A Dant-jmf.jar ... tools/ant/taskdefs/optional/ org/apache/tools/ant/taskdefs/optional/sound/ org/apache/tools/ant/taskdefs/optional/sound/AntSoundPlayer.class
/external/qemu/distrib/sdl-1.2.15/test/
H A Dloopwave.c2 /* Program to load a wave file and loop playing it using SDL sound */
21 Uint8 *sound; /* Pointer to wave data */ member in struct:__anon29625
41 waveptr = wave.sound + wave.soundpos;
49 waveptr = wave.sound;
77 &wave.spec, &wave.sound, &wave.soundlen) == NULL ) {
99 SDL_FreeWAV(wave.sound);
111 SDL_FreeWAV(wave.sound);
/external/qemu/distrib/sdl-1.2.15/src/audio/mme/
H A DSDL_mmeaudio.h36 HWAVEOUT sound; member in struct:SharedMem
H A DSDL_mmeaudio.c131 shm->sound = 0;
166 result = waveOutOpen(&(shm->sound),
177 /* Create the sound buffers */
218 waveOutWrite(shm->sound, &(shm->wHdr[next_buffer]), sizeof(WAVEHDR));
227 if ( shm->sound ) {
233 result = waveOutReset(shm->sound);
252 if ( shm->sound ) {
253 result = waveOutClose(shm->sound);
/external/compiler-rt/test/msan/
H A Dioctl_sound.cc6 #include <sound/asound.h>
18 printf("Unable to open sound device.");
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/talking_alarm_clock/
H A Dpopup.js357 var sound = $('sound');
358 var currentSound = localStorage['sound'] || DEFAULT_SOUND;
359 for (var i = 0; i < sound.options.length; i++) {
360 if (sound.options[i].value == currentSound) {
361 sound.selectedIndex = i;
365 localStorage['sound'] = sound.options[sound.selectedIndex].value;
366 sound
[all...]
H A Dcommon.js80 var currentSound = localStorage['sound'] || DEFAULT_SOUND;
158 var currentSound = localStorage['sound'] || DEFAULT_SOUND;
/external/kernel-headers/original/uapi/sound/
H A Dcompress_offload.h29 #include <sound/asound.h>
30 #include <sound/compress_params.h>
/external/chromium_org/ui/file_manager/video_player/css/
H A Dmedia_controls.css329 /* Volume controls: sound button and volume slider */
341 .media-button.sound {
345 .media-button.sound[level='0'] > .normal {
351 .media-button.sound[level='0'] > .hover {
357 .media-button.sound[level='0'] > .active {
364 .media-button.sound[level='1'] > .normal {
370 .media-button.sound[level='1'] > .hover {
376 .media-button.sound[level='1'] > .active {
383 .media-button.sound[level='2'] > .normal {
389 .media-button.sound[leve
[all...]

Completed in 3885 milliseconds

12