Home
last modified time | relevance | path

Searched refs:sound (Results 1 – 25 of 113) sorted by relevance

12345

/external/chromium_org/chrome/common/extensions/docs/examples/extensions/fx/
Dbg.js129 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.currentTime = 0;
141 sound.loop = loop;
144 if (sound.readyState == 0) { // HAVE_NOTHING
145 console.log("bad ready state: " + sound.readyState);
[all …]
/external/replicaisland/src/com/replica/replicaisland/
DGhostComponent.java131 SoundSystem sound = BaseObject.sSystemRegistry.soundSystem; in update() local
132 if (sound != null) { in update()
133 mAmbientSoundStream = sound.play(mAmbientSound, true, SoundSystem.PRIORITY_NORMAL); in update()
140 SoundSystem sound = BaseObject.sSystemRegistry.soundSystem; in update() local
141 if (sound != null) { in update()
142 sound.stop(mAmbientSoundStream); in update()
191 SoundSystem sound = BaseObject.sSystemRegistry.soundSystem; in releaseControl() local
192 if (sound != null) { in releaseControl()
193 sound.stop(mAmbientSoundStream); in releaseControl()
236 public final void setAmbientSound(Sound sound) { in setAmbientSound() argument
[all …]
DAnimationComponent.java140 SoundSystem sound = sSystemRegistry.soundSystem; in update() local
145 if (sound.getSoundEnabled()) { in update()
158 mRocketSoundStream = sound.play(mRocketSound, true, SoundSystem.PRIORITY_HIGH); in update()
161 sound.resume(mRocketSoundStream); in update()
165 sound.pause(mRocketSoundStream); in update()
181 sound.play(mRubySound1, false, SoundSystem.PRIORITY_NORMAL); in update()
184 sound.play(mRubySound2, false, SoundSystem.PRIORITY_NORMAL); in update()
187 sound.play(mRubySound3, false, SoundSystem.PRIORITY_NORMAL); in update()
262 if (mLandThump != null && sound != null) { in update()
264 sound.play(mLandThump, false, SoundSystem.PRIORITY_HIGH, 1.0f, in update()
[all …]
DPlaySingleSoundComponent.java35 public void setSound(SoundSystem.Sound sound) { in setSound() argument
36 mSound = sound; in setSound()
42 SoundSystem sound = sSystemRegistry.soundSystem; in update() local
43 mSoundHandle = sound.play(mSound, false, SoundSystem.PRIORITY_NORMAL); in update()
DButtonAnimationComponent.java55 SoundSystem sound = sSystemRegistry.soundSystem; in update() local
56 if (sound != null) { in update()
57 sound.play(mDepressSound, false, SoundSystem.PRIORITY_NORMAL); in update()
82 public void setDepressSound(Sound sound) { in setDepressSound() argument
83 mDepressSound = sound; in setDepressSound()
DHitReactionComponent.java120 SoundSystem sound = sSystemRegistry.soundSystem; in hitVictim() local
121 if (sound != null) { in hitVictim()
122 sound.play(mDealHitSound, false, SoundSystem.PRIORITY_NORMAL); in hitVictim()
231 SoundSystem sound = sSystemRegistry.soundSystem; in receivedHit() local
232 if (sound != null) { in receivedHit()
233 sound.play(mTakeHitSound, false, SoundSystem.PRIORITY_NORMAL); in receivedHit()
325 public final void setTakeHitSound(int hitType, SoundSystem.Sound sound) { in setTakeHitSound() argument
327 mTakeHitSound = sound; in setTakeHitSound()
330 public final void setDealHitSound(int hitType, SoundSystem.Sound sound) { in setDealHitSound() argument
331 mDealHitSound = sound; in setDealHitSound()
DDoorAnimationComponent.java96 SoundSystem sound = sSystemRegistry.soundSystem; in open() local
97 if (sound != null) { in open()
98 sound.play(mOpenSound, false, SoundSystem.PRIORITY_NORMAL); in open()
126 SoundSystem sound = sSystemRegistry.soundSystem; in close() local
127 if (sound != null) { in close()
128 sound.play(mCloseSound, false, SoundSystem.PRIORITY_NORMAL); in close()
DLauncherComponent.java114 SoundSystem sound = sSystemRegistry.soundSystem; in fire() local
115 if (sound != null) { in fire()
116 sound.play(mLaunchSound, false, SoundSystem.PRIORITY_NORMAL); in fire()
151 public void setLaunchSound(Sound sound) { in setLaunchSound() argument
152 mLaunchSound = sound; in setLaunchSound()
DSoundSystem.java82 synchronized public final int play(Sound sound, boolean loop, int priority) { in play() argument
85 stream = mSoundPool.play(sound.soundId, 1.0f, 1.0f, priority, loop ? -1 : 0, 1.0f); in play()
94 …synchronized public final int play(Sound sound, boolean loop, int priority, float volume, float ra… in play() argument
97 stream = mSoundPool.play(sound.soundId, volume, volume, priority, loop ? -1 : 0, rate); in play()
DGameThread.java105 SoundSystem sound = BaseObject.sSystemRegistry.soundSystem; in run() local
106 if (sound != null) { in run()
107 sound.pauseAll(); in run()
DLifetimeComponent.java164 SoundSystem sound = sSystemRegistry.soundSystem; in die() local
165 if (sound != null) { in die()
166 sound.play(mDeathSound, false, SoundSystem.PRIORITY_NORMAL); in die()
/external/qemu/distrib/sdl-1.2.15/test/
Dloopwave.c21 Uint8 *sound; /* Pointer to wave data */ member
41 waveptr = wave.sound + wave.soundpos; in fillerup()
49 waveptr = wave.sound; in fillerup()
77 &wave.spec, &wave.sound, &wave.soundlen) == NULL ) { in main()
99 SDL_FreeWAV(wave.sound); in main()
111 SDL_FreeWAV(wave.sound); in main()
/external/strace/linux/
Dioctlent.h.in216 {"sound/asound.h", "SNDRV_PCM_IOCTL_PVERSION", 0x4100},
219 {"sound/asound.h", "SNDRV_PCM_IOCTL_INFO", 0x4101},
222 {"sound/asound.h", "SNDRV_PCM_IOCTL_TSTAMP", 0x4102},
224 {"sound/asound.h", "SNDRV_PCM_IOCTL_TTSTAMP", 0x4103},
232 {"sound/asound.h", "SNDRV_PCM_IOCTL_HW_REFINE", 0x4110},
233 {"sound/asound.h", "SNDRV_PCM_IOCTL_HW_PARAMS", 0x4111},
234 {"sound/asound.h", "SNDRV_PCM_IOCTL_HW_FREE", 0x4112},
235 {"sound/asound.h", "SNDRV_PCM_IOCTL_SW_PARAMS", 0x4113},
236 {"sound/asound.h", "SNDRV_PCM_IOCTL_STATUS", 0x4120},
237 {"sound/asound.h", "SNDRV_PCM_IOCTL_DELAY", 0x4121},
[all …]
/external/qemu/distrib/sdl-1.2.15/src/audio/windib/
DSDL_dibaudio.c178 waveOutWrite(sound, &wavebuf[next_buffer], sizeof(wavebuf[0])); in DIB_PlayAudio()
222 if ( sound ) { in DIB_CloseAudio()
223 waveOutReset(sound); in DIB_CloseAudio()
229 waveOutUnprepareHeader(sound, &wavebuf[i], in DIB_CloseAudio()
240 if ( sound ) in DIB_CloseAudio()
241 waveOutClose(sound); in DIB_CloseAudio()
251 sound = NULL; in DIB_OpenAudio()
293 result = waveOutOpen(&sound, WAVE_MAPPER, &waveformat, in DIB_OpenAudio()
305 result = waveOutGetDevCaps((UINT)sound, &caps, sizeof(caps)); in DIB_OpenAudio()
332 result = waveOutPrepareHeader(sound, &wavebuf[i], in DIB_OpenAudio()
DSDL_dibaudio.h35 HWAVEOUT sound; member
45 #define sound (this->hidden->sound) macro
/external/qemu/docs/
DAUDIO.TXT6 QEMUSoundCard: models a given emulated sound card
43 buffer and write into a platform-specific sound buffers (e.g. WinWave-managed buffers
63 send samples from the stereo buffer to the host sound card/server. This method
67 - A 'write' method callback used to write a buffer of emulated sound samples from
78 - a 'conv()' function used to read sound samples from the emulated sound card and
84 stereo buffer, not emulated hardware sound samples, which can have different
125 SWVoiceOut: emulated hardware sound buffers:
137 backend-specific sound buffers
141 a pulse to perform sound buffer transfers and mixing. More specifically for audio
158 - takes a 'free' parameter which is the number of stereo sound samples that can
[all …]
/external/qemu/distrib/sdl-1.2.15/src/audio/mme/
DSDL_mmeaudio.c131 shm->sound = 0; in MME_OpenAudio()
166 result = waveOutOpen(&(shm->sound), in MME_OpenAudio()
218 waveOutWrite(shm->sound, &(shm->wHdr[next_buffer]), sizeof(WAVEHDR)); in MME_PlayAudio()
227 if ( shm->sound ) { in MME_WaitDone()
233 result = waveOutReset(shm->sound); in MME_WaitDone()
252 if ( shm->sound ) { in MME_CloseAudio()
253 result = waveOutClose(shm->sound); in MME_CloseAudio()
/external/qemu/distrib/sdl-1.2.15/src/audio/windx5/
DSDL_dx5audio.h36 LPDIRECTSOUND sound; member
46 #define sound (this->hidden->sound) macro
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/talking_alarm_clock/
Dpopup.js357 var sound = $('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.addEventListener('change', function() {
367 localStorage['sound'] = sound.options[sound.selectedIndex].value;
/external/chromium_org/ui/keyboard/resources/elements/
Dkb-key.js47 sound: Sound.DEFAULT, property
89 details.sound = this.sound;
Dkb-keyboard.js477 this.playSound(detail.sound);
517 self.playSound(detail.sound);
773 playSound: function(sound) { argument
774 if (!SOUND_ENABLED || !sound || sound == Sound.NONE)
776 var pool = this.sounds[sound];
778 console.error("Cannot find audio tag: " + sound);
/external/chromium_org/ui/file_manager/video_player/css/
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[level='2'] > .hover {
[all …]
/external/chromium_org/third_party/webrtc/
Dwebrtc.gyp23 'sound/sound.gyp:*',
48 'sound/sound_tests.gyp:*',
/external/chromium_org/third_party/webrtc/sound/
Dsound_tests.gyp18 '<(webrtc_root)/sound/sound.gyp:rtc_sound',
/external/chromium_org/third_party/webrtc/build/
Dmerge_libs.gyp22 '../sound/sound.gyp:rtc_sound',

12345