Home
last modified time | relevance | path

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

12345678910>>...15

/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 …]
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()
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()
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()
/external/flatbuffers/android/app/src/main/cpp/generated/
Danimal_generated.h26 const flatbuffers::String *sound() const { in sound() function
37 verifier.VerifyString(sound()) && in Verify()
50 void add_sound(flatbuffers::Offset<flatbuffers::String> sound) { in add_sound()
51 fbb_.AddOffset(Animal::VT_SOUND, sound); in add_sound()
70 flatbuffers::Offset<flatbuffers::String> sound = 0,
73 builder_.add_sound(sound);
82 const char *sound = nullptr,
85 auto sound__ = sound ? _fbb.CreateString(sound) : 0;
/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/robolectric/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()
165 int soundId = soundPool.load(ApplicationProvider.getApplicationContext(), R.raw.sound, 1); in loadSoundWithResId_positiveId()
/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 …]
Dlg-k10-eu.log975 <3>[ 1.084280 / 01-01 00:00:01.059] msm8x16-asoc-wcd sound.68: msm8x16_asoc_machine_probe: exter…
976 <6>[ 1.084298 / 01-01 00:00:01.059] msm8x16-asoc-wcd sound.68: default codec configured
977 <3>[ 1.085890 / 01-01 00:00:01.059] msm8x16-asoc-wcd sound.68: ASoC: platform (null) not registe…
978 <3>[ 1.085923 / 01-01 00:00:01.059] msm8x16-asoc-wcd sound.68: snd_soc_register_card failed (-51…
979 <6>[ 1.085971 / 01-01 00:00:01.059] platform sound.68: Driver msm8x16-asoc-wcd requests probe de…
1091 <3>[ 1.271311 / 01-01 00:00:01.249] msm8x16-asoc-wcd sound.68: msm8x16_asoc_machine_probe: exter…
1092 <6>[ 1.271327 / 01-01 00:00:01.249] msm8x16-asoc-wcd sound.68: default codec configured
1093 <3>[ 1.271846 / 01-01 00:00:01.249] msm8x16-asoc-wcd sound.68: ASoC: CODEC (null) not registered
1094 <3>[ 1.271879 / 01-01 00:00:01.249] msm8x16-asoc-wcd sound.68: snd_soc_register_card failed (-51…
1095 <6>[ 1.271923 / 01-01 00:00:01.249] platform sound.68: Driver msm8x16-asoc-wcd requests probe de…
[all …]
Dnexus6p.log997 [ 3.179678] msm8994-asoc-snd fe034000.sound: msm8994_asoc_machine_probe: No hdmi audio support
998 [ 3.181684] msm8994-asoc-snd fe034000.sound: ASoC: platform (null) not registered
999 [ 3.181756] platform fe034000.sound: Driver msm8994-asoc-snd requests probe deferral
1070 [ 3.250260] msm8994-asoc-snd fe034000.sound: msm8994_asoc_machine_probe: No hdmi audio support
1071 [ 3.250757] msm8994-asoc-snd fe034000.sound: ASoC: CODEC tomtom_codec not registered
1072 [ 3.250810] platform fe034000.sound: Driver msm8994-asoc-snd requests probe deferral
1075 [ 3.255900] msm8994-asoc-snd fe034000.sound: msm8994_asoc_machine_probe: No hdmi audio support
1076 [ 3.256241] msm8994-asoc-snd fe034000.sound: ASoC: CODEC tomtom_codec not registered
1077 [ 3.256285] platform fe034000.sound: Driver msm8994-asoc-snd requests probe deferral
1087 [ 3.380078] msm8994-asoc-snd fe034000.sound: msm8994_asoc_machine_probe: No hdmi audio support
[all …]
/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()
41 return_value = winsound_PlaySound_impl(module, sound, flags); in winsound_PlaySound()

12345678910>>...15