Home
last modified time | relevance | path

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

1234567891011

/external/python/cpython3/Doc/library/
Dwinsound.rst6 :synopsis: Access to the sound-playing machinery for Windows.
13 The :mod:`winsound` module provides access to the basic sound-playing machinery
20 of the sound, and must be in the range 37 through 32,767. The *duration*
21 parameter specifies the number of milliseconds the sound should last. If the
25 .. function:: PlaySound(sound, flags)
28 *sound* parameter may be a filename, a system sound alias, audio data as a
31 combination of the constants described below. If the *sound* parameter is
32 ``None``, any currently playing waveform sound is stopped. If the system
39 plays a sound as specified in the registry. The *type* argument specifies which
40 sound to play; possible values are ``-1``, ``MB_ICONASTERISK``,
[all …]
Dsndhdr.rst1 :mod:`sndhdr` --- Determine type of sound file
5 :synopsis: Determine type of a sound file.
19 of sound data which is in a file. When these functions are able to determine
20 what type of sound data is stored in a file, they return a
35 Determines the type of sound data stored in the file *filename* using
45 Determines the type of sound data stored in a file based on the file header.
/external/python/cpython2/Doc/library/
Dwinsound.rst7 :synopsis: Access to the sound-playing machinery for Windows.
14 The :mod:`winsound` module provides access to the basic sound-playing machinery
21 of the sound, and must be in the range 37 through 32,767. The *duration*
22 parameter specifies the number of milliseconds the sound should last. If the
28 .. function:: PlaySound(sound, flags)
31 *sound* parameter may be a filename, audio data as a string, or ``None``. Its
33 combination of the constants described below. If the *sound* parameter is
34 ``None``, any currently playing waveform sound is stopped. If the system
41 plays a sound as specified in the registry. The *type* argument specifies which
42 sound to play; possible values are ``-1``, ``MB_ICONASTERISK``,
[all …]
Dsndhdr.rst1 :mod:`sndhdr` --- Determine type of sound file
5 :synopsis: Determine type of a sound file.
18 of sound data which is in a file. When these functions are able to determine
19 what type of sound data is stored in a file, they return a tuple ``(type,
33 Determines the type of sound data stored in the file *filename* using
40 Determines the type of sound data stored in a file based on the file header.
/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()
/external/sonic/
DMain.java9 import javax.sound.sampled.AudioFormat;
10 import javax.sound.sampled.AudioInputStream;
11 import javax.sound.sampled.AudioSystem;
12 import javax.sound.sampled.DataLine;
13 import javax.sound.sampled.LineUnavailableException;
14 import javax.sound.sampled.SourceDataLine;
15 import javax.sound.sampled.UnsupportedAudioFileException;
/external/python/cpython3/PC/
Dwinsound.c76 winsound_PlaySound_impl(PyObject *module, PyObject *sound, int flags) in winsound_PlaySound_impl() argument
83 if (sound == Py_None) { in winsound_PlaySound_impl()
93 if (PyObject_GetBuffer(sound, &view, PyBUF_SIMPLE) < 0) { in winsound_PlaySound_impl()
98 if (!PyUnicode_Check(sound)) { in winsound_PlaySound_impl()
101 Py_TYPE(sound)->tp_name); in winsound_PlaySound_impl()
104 wsound = PyUnicode_AsWideCharString(sound, NULL); in winsound_PlaySound_impl()
116 } else if (sound != Py_None) { in winsound_PlaySound_impl()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowSoundPoolTest.java45 int soundId = soundPool.load(ApplicationProvider.getApplicationContext(), R.raw.sound, 1); in playedSoundsFromResourcesAreRecorded()
48 assertThat(shadowOf(soundPool).wasResourcePlayed(R.raw.sound)).isTrue(); in playedSoundsFromResourcesAreRecorded()
55 int soundId = soundPool.load(ApplicationProvider.getApplicationContext(), R.raw.sound, 1); in playedSoundsFromResourcesAreCollected()
59 assertThat(shadowOf(soundPool).getResourcePlaybacks(R.raw.sound)) in playedSoundsFromResourcesAreCollected()
109 int soundId = soundPool.load(ApplicationProvider.getApplicationContext(), R.raw.sound, 1); in notifyResourceLoaded_notifiesListener()
110 shadowOf(soundPool).notifyResourceLoaded(R.raw.sound, true); in notifyResourceLoaded_notifiesListener()
153 int soundId = soundPool.load(ApplicationProvider.getApplicationContext(), R.raw.sound, 1); in playedSoundsAreCleared()
156 assertThat(shadowOf(soundPool).wasResourcePlayed(R.raw.sound)).isTrue(); in playedSoundsAreCleared()
158 assertThat(shadowOf(soundPool).wasResourcePlayed(R.raw.sound)).isFalse(); in playedSoundsAreCleared()
/external/sonic/doc/
Dindex.md68 and can deal with sound streams in 16-bit signed integer, 32-bit floating point,
86 is batch mode where you pass an entire sound sample to sonic. All you do is
91 This will change the speed and pitch of the sound samples pointed to by samples,
97 have no extra padding. If your sound samples are mono, and you don't want to
104 allows sonic to be inserted into a sound stream with fairly low latency. The
109 To process a sound stream, you must create a sonicStream object, which contains
121 no change at all to the sound stream. Sonic detects this case, and simply
132 and a volume of 1.4 means to multiply the sound samples by 1.4, clipping if we
134 speech is played. A 2.0 value will make you sound like a chipmunk talking very
135 fast. A 0.7 value will make you sound like a giant talking slowly.
[all …]
/external/cpuinfo/test/dmesg/
Dmoto-g-gen3.log377 [ 1.135632,0] msm8x16-asoc-wcd sound.67: msm8x16_asoc_machine_probe: missing qcom,msm-mclk-freq …
378 [ 1.135661,0] msm8x16-asoc-wcd sound.67: property qcom,tfa9890-left-name not detected in node /s…
379 [ 1.135668,0] msm8x16-asoc-wcd sound.67: default codec configured
380 [ 1.137035,0] msm8x16-asoc-wcd sound.67: ASoC: platform (null) not registered
381 [ 1.137064,0] msm8x16-asoc-wcd sound.67: snd_soc_register_card failed (-517)
382 [ 1.137094,0] platform sound.67: Driver msm8x16-asoc-wcd requests probe deferral
425 [ 1.264780,0] msm8x16-asoc-wcd sound.67: msm8x16_asoc_machine_probe: missing qcom,msm-mclk-freq …
426 [ 1.264845,0] msm8x16-asoc-wcd sound.67: property qcom,tfa9890-left-name not detected in node /s…
427 [ 1.264853,0] msm8x16-asoc-wcd sound.67: default codec configured
428 [ 1.265182,0] msm8x16-asoc-wcd sound.67: ASoC: CODEC (null) not registered
[all …]
Dxiaomi-redmi-note-3.log1188 …062] msm8952-slimbus-wcd c051000.sound-9335: populate_snd_card_dailinks: max-aux-codec property mi…
1189 <3>[ 2.546891] msm8952-slimbus-wcd c051000.sound-9335: ASoC: platform (null) not registered
1190 <3>[ 2.546910] msm8952-slimbus-wcd c051000.sound-9335: snd_soc_register_card failed (-517)
1192 <6>[ 2.546930] platform c051000.sound-9335: Driver msm8952-slimbus-wcd requests probe deferral
1235 …241] msm8952-slimbus-wcd c051000.sound-9335: populate_snd_card_dailinks: max-aux-codec property mi…
1236 <3>[ 2.559810] msm8952-slimbus-wcd c051000.sound-9335: ASoC: platform (null) not registered
1237 <3>[ 2.559841] msm8952-slimbus-wcd c051000.sound-9335: snd_soc_register_card failed (-517)
1239 <6>[ 2.559869] platform c051000.sound-9335: Driver msm8952-slimbus-wcd requests probe deferral
1255 …880] msm8952-slimbus-wcd c051000.sound-9335: populate_snd_card_dailinks: max-aux-codec property mi…
1256 <3>[ 2.613449] msm8952-slimbus-wcd c051000.sound-9335: ASoC: platform (null) not registered
[all …]
Dmoto-g-gen4.log398 [ 2.282291,0] msm8952-asoc-wcd c051000.sound: default codec configured
402 [ 2.284251,0] msm8952-asoc-wcd c051000.sound: ASoC: platform (null) not registered
403 [ 2.284281,0] msm8952-asoc-wcd c051000.sound: snd_soc_register_card failed (-517)
404 [ 2.284375,0] platform c051000.sound: Driver msm8952-asoc-wcd requests probe deferral
468 [ 2.299673,7] msm8952-asoc-wcd c051000.sound: default codec configured
472 [ 2.300019,7] msm8952-asoc-wcd c051000.sound: ASoC: platform (null) not registered
473 [ 2.300052,7] msm8952-asoc-wcd c051000.sound: snd_soc_register_card failed (-517)
474 [ 2.300159,7] platform c051000.sound: Driver msm8952-asoc-wcd requests probe deferral
498 [ 2.409090,5] msm8952-asoc-wcd c051000.sound: default codec configured
502 [ 2.409442,5] msm8952-asoc-wcd c051000.sound: ASoC: platform (null) not registered
[all …]
Dnexus6.log821 [ 1.727774] apq8084-asoc sound.44: apq8084_asoc_machine_probe(): tfa9890 stereo support present
824 [ 1.727872] apq8084-asoc sound.44: ASoC: platform msm-pcm-voice not registered
825 [ 1.727924] platform sound.44: Driver apq8084-asoc requests probe deferral
877 [ 1.775223] apq8084-asoc sound.44: apq8084_asoc_machine_probe(): tfa9890 stereo support present
880 [ 1.775331] apq8084-asoc sound.44: ASoC: platform msm-pcm-voice not registered
881 [ 1.775378] platform sound.44: Driver apq8084-asoc requests probe deferral
899 [ 1.786609] apq8084-asoc sound.44: apq8084_asoc_machine_probe(): tfa9890 stereo support present
902 [ 1.786705] apq8084-asoc sound.44: ASoC: platform msm-pcm-voice not registered
903 [ 1.786749] platform sound.44: Driver apq8084-asoc requests probe deferral
913 [ 1.789413] apq8084-asoc sound.44: apq8084_asoc_machine_probe(): tfa9890 stereo support present
[all …]
Dnexus5x.log818 [ 2.726181] msm8994-asoc-snd fe034000.sound: msm8994_asoc_machine_probe: No hdmi audio support
819 [ 2.727441] msm8994-asoc-snd fe034000.sound: ASoC: platform (null) not registered
820 [ 2.727476] platform fe034000.sound: Driver msm8994-asoc-snd requests probe deferral
848 [ 2.737012] msm8994-asoc-snd fe034000.sound: msm8994_asoc_machine_probe: No hdmi audio support
849 [ 2.737368] msm8994-asoc-snd fe034000.sound: ASoC: CODEC tomtom_codec not registered
850 [ 2.737411] platform fe034000.sound: Driver msm8994-asoc-snd requests probe deferral
857 [ 2.821645] msm8994-asoc-snd fe034000.sound: msm8994_asoc_machine_probe: No hdmi audio support
858 [ 2.822020] msm8994-asoc-snd fe034000.sound: ASoC: CODEC tomtom_codec not registered
859 [ 2.822063] platform fe034000.sound: Driver msm8994-asoc-snd requests probe deferral
860 [ 2.823847] msm8994-asoc-snd fe034000.sound: msm8994_asoc_machine_probe: No hdmi audio support
[all …]
/external/flatbuffers/samples/android/jni/
Dmain.cpp23 auto sound = builder.CreateString("Bark"); in android_main() local
24 auto animal_buffer = sample::CreateAnimal(builder, name, sound); in android_main()
36 assert(animal->sound()->str() == "Bark"); in android_main()
/external/autotest/client/site_tests/accessibility_ChromeVoxSound/
Dcontrol7 PURPOSE = "Enable ChromeVox and check for sound."
9 This test will fail if ChromeVox is not running or produces insufficient sound.
19 actual sound. Test performs actions such as enabling Chromevox, navigating to
/external/python/cpython3/PC/clinic/
Dwinsound.c.h20 winsound_PlaySound_impl(PyObject *module, PyObject *sound, int flags);
29 PyObject *sound; in winsound_PlaySound() local
36 sound = args[0]; in winsound_PlaySound()
46 return_value = winsound_PlaySound_impl(module, sound, flags); in winsound_PlaySound()
/external/autotest/client/site_tests/audio_YoutubePlayback/
Dcontrol7 PURPOSE = "Verify youtube video sound is audible"
9 This test will fail if youtube video sound is not audible.
19 Test that youtube video sound can be heard by arecord at mic in.

1234567891011