/external/qemu/distrib/sdl-1.2.15/src/audio/ |
D | SDL_audio.c | 127 SDL_AudioDevice *audio = (SDL_AudioDevice *)audiop; in SDL_RunAudio() local 135 if ( audio->ThreadInit ) { in SDL_RunAudio() 136 audio->ThreadInit(audio); in SDL_RunAudio() 138 audio->threadid = SDL_ThreadID(); in SDL_RunAudio() 141 fill = audio->spec.callback; in SDL_RunAudio() 142 udata = audio->spec.userdata; in SDL_RunAudio() 144 if ( audio->convert.needed ) { in SDL_RunAudio() 145 if ( audio->convert.src_format == AUDIO_U8 ) { in SDL_RunAudio() 150 stream_len = audio->convert.len; in SDL_RunAudio() 152 silence = audio->spec.silence; in SDL_RunAudio() [all …]
|
/external/chromium_org/media/ |
D | media.gyp | 8 # Override to dynamically link the cras (ChromeOS audio) library. 64 'audio/agc_audio_stream.h', 65 'audio/alsa/alsa_input.cc', 66 'audio/alsa/alsa_input.h', 67 'audio/alsa/alsa_output.cc', 68 'audio/alsa/alsa_output.h', 69 'audio/alsa/alsa_util.cc', 70 'audio/alsa/alsa_util.h', 71 'audio/alsa/alsa_wrapper.cc', 72 'audio/alsa/alsa_wrapper.h', [all …]
|
D | media.target.darwin-x86.mk | 29 media/audio/android/audio_manager_android.cc \ 30 media/audio/android/audio_record_input.cc \ 31 media/audio/android/opensles_input.cc \ 32 media/audio/android/opensles_output.cc \ 33 media/audio/android/opensles_wrapper.cc \ 34 media/audio/audio_buffers_state.cc \ 35 media/audio/audio_device_name.cc \ 36 media/audio/audio_device_thread.cc \ 37 media/audio/audio_input_controller.cc \ 38 media/audio/audio_input_device.cc \ [all …]
|
D | media.target.darwin-arm.mk | 29 media/audio/android/audio_manager_android.cc \ 30 media/audio/android/audio_record_input.cc \ 31 media/audio/android/opensles_input.cc \ 32 media/audio/android/opensles_output.cc \ 33 media/audio/android/opensles_wrapper.cc \ 34 media/audio/audio_buffers_state.cc \ 35 media/audio/audio_device_name.cc \ 36 media/audio/audio_device_thread.cc \ 37 media/audio/audio_input_controller.cc \ 38 media/audio/audio_input_device.cc \ [all …]
|
D | media.target.linux-arm.mk | 29 media/audio/android/audio_manager_android.cc \ 30 media/audio/android/audio_record_input.cc \ 31 media/audio/android/opensles_input.cc \ 32 media/audio/android/opensles_output.cc \ 33 media/audio/android/opensles_wrapper.cc \ 34 media/audio/audio_buffers_state.cc \ 35 media/audio/audio_device_name.cc \ 36 media/audio/audio_device_thread.cc \ 37 media/audio/audio_input_controller.cc \ 38 media/audio/audio_input_device.cc \ [all …]
|
D | media.target.linux-x86.mk | 29 media/audio/android/audio_manager_android.cc \ 30 media/audio/android/audio_record_input.cc \ 31 media/audio/android/opensles_input.cc \ 32 media/audio/android/opensles_output.cc \ 33 media/audio/android/opensles_wrapper.cc \ 34 media/audio/audio_buffers_state.cc \ 35 media/audio/audio_device_name.cc \ 36 media/audio/audio_device_thread.cc \ 37 media/audio/audio_input_controller.cc \ 38 media/audio/audio_input_device.cc \ [all …]
|
D | media.target.linux-mips.mk | 29 media/audio/android/audio_manager_android.cc \ 30 media/audio/android/audio_record_input.cc \ 31 media/audio/android/opensles_input.cc \ 32 media/audio/android/opensles_output.cc \ 33 media/audio/android/opensles_wrapper.cc \ 34 media/audio/audio_buffers_state.cc \ 35 media/audio/audio_device_name.cc \ 36 media/audio/audio_device_thread.cc \ 37 media/audio/audio_input_controller.cc \ 38 media/audio/audio_input_device.cc \ [all …]
|
D | media.target.darwin-mips.mk | 29 media/audio/android/audio_manager_android.cc \ 30 media/audio/android/audio_record_input.cc \ 31 media/audio/android/opensles_input.cc \ 32 media/audio/android/opensles_output.cc \ 33 media/audio/android/opensles_wrapper.cc \ 34 media/audio/audio_buffers_state.cc \ 35 media/audio/audio_device_name.cc \ 36 media/audio/audio_device_thread.cc \ 37 media/audio/audio_input_controller.cc \ 38 media/audio/audio_input_device.cc \ [all …]
|
/external/chromium_org/tools/gyp/tools/emacs/testdata/ |
D | media.gyp | 10 # Override to dynamically link the cras (ChromeOS audio) library. 33 'audio/android/audio_manager_android.cc', 34 'audio/android/audio_manager_android.h', 35 'audio/android/audio_track_output_android.cc', 36 'audio/android/audio_track_output_android.h', 37 'audio/android/opensles_input.cc', 38 'audio/android/opensles_input.h', 39 'audio/android/opensles_output.cc', 40 'audio/android/opensles_output.h', 41 'audio/async_socket_io_handler.h', [all …]
|
/external/chromium_org/ppapi/tests/ |
D | test_audio.cc | 93 PP_Resource audio = audio_interface_->Create( in TestCreation() local 98 ASSERT_TRUE(audio); in TestCreation() 99 ASSERT_TRUE(audio_interface_->IsAudio(audio)); in TestCreation() 102 ac = audio_interface_->GetCurrentConfig(audio); in TestCreation() 114 ASSERT_TRUE(audio_interface_->StartPlayback(audio)); in TestCreation() 115 ASSERT_TRUE(audio_interface_->StopPlayback(audio)); in TestCreation() 118 core_interface_->ReleaseResource(audio); in TestCreation() 130 PP_Resource audio = audio_interface_->Create( in TestDestroyNoStop() local 135 ASSERT_TRUE(audio); in TestDestroyNoStop() 136 ASSERT_TRUE(audio_interface_->IsAudio(audio)); in TestDestroyNoStop() [all …]
|
/external/qemu/distrib/sdl-1.2.15/src/audio/macrom/ |
D | SDL_romaudio.c | 121 static void mix_buffer(SDL_AudioDevice *audio, UInt8 *buffer) in mix_buffer() argument 123 if ( ! audio->paused ) { in mix_buffer() 125 SDL_mutexP(audio->mixer_lock); in mix_buffer() 127 if ( audio->convert.needed ) { in mix_buffer() 128 audio->spec.callback(audio->spec.userdata, in mix_buffer() 129 (Uint8 *)audio->convert.buf,audio->convert.len); in mix_buffer() 130 SDL_ConvertAudio(&audio->convert); in mix_buffer() 131 if ( audio->convert.len_cvt != audio->spec.size ) { in mix_buffer() 134 SDL_memcpy(buffer, audio->convert.buf, audio->convert.len_cvt); in mix_buffer() 136 audio->spec.callback(audio->spec.userdata, buffer, audio->spec.size); in mix_buffer() [all …]
|
/external/qemu/distrib/sdl-1.2.15/src/audio/mint/ |
D | SDL_mintaudio.c | 63 SDL_AudioDevice *audio = SDL_MintAudio_device; in SDL_MintAudio_Callback() local 66 SDL_memset(buffer, audio->spec.silence, audio->spec.size); in SDL_MintAudio_Callback() 68 if (audio->paused) in SDL_MintAudio_Callback() 71 if (audio->convert.needed) { in SDL_MintAudio_Callback() 74 if ( audio->convert.src_format == AUDIO_U8 ) { in SDL_MintAudio_Callback() 79 SDL_memset(audio->convert.buf, silence, audio->convert.len); in SDL_MintAudio_Callback() 80 audio->spec.callback(audio->spec.userdata, in SDL_MintAudio_Callback() 81 (Uint8 *)audio->convert.buf,audio->convert.len); in SDL_MintAudio_Callback() 82 SDL_ConvertAudio(&audio->convert); in SDL_MintAudio_Callback() 83 SDL_memcpy(buffer, audio->convert.buf, audio->convert.len_cvt); in SDL_MintAudio_Callback() [all …]
|
/external/qemu/distrib/sdl-1.2.15/src/audio/baudio/ |
D | SDL_beaudio.cc | 100 SDL_AudioDevice *audio = (SDL_AudioDevice *)device; in FillSound() local 103 SDL_memset(stream, audio->spec.silence, len); in FillSound() 106 if ( ! audio->enabled ) in FillSound() 109 if ( ! audio->paused ) { in FillSound() 110 if ( audio->convert.needed ) { in FillSound() 111 SDL_mutexP(audio->mixer_lock); in FillSound() 112 (*audio->spec.callback)(audio->spec.userdata, in FillSound() 113 (Uint8 *)audio->convert.buf,audio->convert.len); in FillSound() 114 SDL_mutexV(audio->mixer_lock); in FillSound() 115 SDL_ConvertAudio(&audio->convert); in FillSound() [all …]
|
/external/chromium_org/native_client_sdk/src/doc/devguide/coding/ |
D | audio.rst | 1 .. _devguide-coding-audio: 12 This chapter describes how to use the Pepper audio API to play an audio 13 stream. The Pepper audio API provides a low-level means of playing a stream of 14 audio samples generated by a Native Client module. The API generally works as 15 follows: A Native Client module creates an audio resource that represents an 16 audio stream, and tells the browser to start or stop playing the audio 18 buffer with audio samples every time it needs data to play from the audio 22 generates audio samples using a sine wave with a frequency of 440 Hz. The module 23 starts playing the audio samples as soon as it is loaded into the browser. For a 24 slightly more sophisticated example, see the ``audio`` example (source code in [all …]
|
/external/qemu/distrib/sdl-1.2.15/src/audio/nds/ |
D | SDL_ndsaudio.c | 118 SDL_AudioDevice *audio = (SDL_AudioDevice *)sdl_nds_audiodevice; in SoundMixCallback() local 121 SDL_memset(stream, audio->spec.silence, len); in SoundMixCallback() 124 if ( ! audio->enabled ) in SoundMixCallback() 127 if ( ! audio->paused ) { in SoundMixCallback() 128 if ( audio->convert.needed ) { in SoundMixCallback() 130 SDL_mutexP(audio->mixer_lock); in SoundMixCallback() 131 (*audio->spec.callback)(audio->spec.userdata, in SoundMixCallback() 132 (Uint8 *)audio->convert.buf,audio->convert.len); in SoundMixCallback() 133 SDL_mutexV(audio->mixer_lock); in SoundMixCallback() 134 SDL_ConvertAudio(&audio->convert); in SoundMixCallback() [all …]
|
/external/webrtc/src/modules/audio_processing/ |
D | gain_control_impl.cc | 71 int GainControlImpl::ProcessRenderAudio(AudioBuffer* audio) { in ProcessRenderAudio() argument 76 assert(audio->samples_per_split_channel() <= 160); in ProcessRenderAudio() 78 WebRtc_Word16* mixed_data = audio->low_pass_split_data(0); in ProcessRenderAudio() 79 if (audio->num_channels() > 1) { in ProcessRenderAudio() 80 audio->CopyAndMixLowPass(1); in ProcessRenderAudio() 81 mixed_data = audio->mixed_low_pass_data(0); in ProcessRenderAudio() 89 static_cast<WebRtc_Word16>(audio->samples_per_split_channel())); in ProcessRenderAudio() 99 int GainControlImpl::AnalyzeCaptureAudio(AudioBuffer* audio) { in AnalyzeCaptureAudio() argument 104 assert(audio->samples_per_split_channel() <= 160); in AnalyzeCaptureAudio() 105 assert(audio->num_channels() == num_handles()); in AnalyzeCaptureAudio() [all …]
|
D | noise_suppression_impl.cc | 57 int NoiseSuppressionImpl::ProcessCaptureAudio(AudioBuffer* audio) { in ProcessCaptureAudio() argument 63 assert(audio->samples_per_split_channel() <= 160); in ProcessCaptureAudio() 64 assert(audio->num_channels() == num_handles()); in ProcessCaptureAudio() 70 audio->low_pass_split_data(i), in ProcessCaptureAudio() 71 audio->high_pass_split_data(i), in ProcessCaptureAudio() 72 audio->low_pass_split_data(i), in ProcessCaptureAudio() 73 audio->high_pass_split_data(i)); in ProcessCaptureAudio() 76 audio->low_pass_split_data(i), in ProcessCaptureAudio() 77 audio->high_pass_split_data(i), in ProcessCaptureAudio() 78 audio->low_pass_split_data(i), in ProcessCaptureAudio() [all …]
|
D | echo_control_mobile_impl.cc | 80 int EchoControlMobileImpl::ProcessRenderAudio(const AudioBuffer* audio) { in ProcessRenderAudio() argument 85 assert(audio->samples_per_split_channel() <= 160); in ProcessRenderAudio() 86 assert(audio->num_channels() == apm_->num_reverse_channels()); in ProcessRenderAudio() 93 for (int j = 0; j < audio->num_channels(); j++) { in ProcessRenderAudio() 97 audio->low_pass_split_data(j), in ProcessRenderAudio() 98 static_cast<WebRtc_Word16>(audio->samples_per_split_channel())); in ProcessRenderAudio() 111 int EchoControlMobileImpl::ProcessCaptureAudio(AudioBuffer* audio) { in ProcessCaptureAudio() argument 120 assert(audio->samples_per_split_channel() <= 160); in ProcessCaptureAudio() 121 assert(audio->num_channels() == apm_->num_output_channels()); in ProcessCaptureAudio() 127 for (int i = 0; i < audio->num_channels(); i++) { in ProcessCaptureAudio() [all …]
|
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/talking_alarm_clock/ |
D | common.js | 16 var audio = null; variable 60 if (audio) { 61 audio.pause(); 74 if (audio) { 75 audio.pause(); 76 document.body.removeChild(audio); 77 audio = null; 85 audio = document.createElement('audio'); 86 audio.addEventListener('ended', function(evt) { 89 document.body.appendChild(audio); [all …]
|
/external/chromium_org/ppapi/api/ |
D | ppb_audio.idl | 8 * realtime stereo audio streaming capabilities. 17 * <code>PPB_Audio_Callback</code> defines the type of an audio callback 18 * function used to fill the audio buffer with data. Please see the 22 * @param[in] sample_buffer A buffer to fill with audio data. 24 * @param[in] latency How long before the audio data is to be presented. 35 * for handling audio resources. Refer to the 36 * <a href="/native-client/{{pepperversion}}/devguide/coding/audio">Audio</a> 51 * ...Assume the application has cached the audio configuration interface in 52 * audio_config_interface and the audio interface in 68 * Create() creates an audio resource. No sound will be heard until [all …]
|
/external/chromium_org/third_party/WebKit/Source/platform/ |
D | blink_platform.gypi | 139 'audio/AudioArray.h', 140 'audio/AudioBus.cpp', 141 'audio/AudioBus.h', 142 'audio/AudioChannel.cpp', 143 'audio/AudioChannel.h', 144 'audio/AudioDSPKernel.cpp', 145 'audio/AudioDSPKernel.h', 146 'audio/AudioDSPKernelProcessor.cpp', 147 'audio/AudioDSPKernelProcessor.h', 148 'audio/AudioDelayDSPKernel.cpp', [all …]
|
/external/chromium_org/tools/python/google/httpd_config/ |
D | mime.types | 386 audio/32kadpcm 387 audio/amr 388 audio/amr-wb 389 audio/basic au snd 390 audio/cn 391 audio/dat12 392 audio/dsr-es201108 393 audio/dvi4 394 audio/evrc 395 audio/evrc0 [all …]
|
/external/srec/tests/ |
D | Android.mk | 15 ../config/en.us/audio/v139/v139_024.nwv \ 16 ../config/en.us/audio/v139/v139_254.nwv \ 17 ../config/en.us/audio/v139/v139_127.nwv \ 18 ../config/en.us/audio/v139/v139_107.nwv \ 19 ../config/en.us/audio/v139/v139_248.nwv \ 20 ../config/en.us/audio/v139/v139_077.nwv \ 21 ../config/en.us/audio/v139/v139_040.nwv \ 22 ../config/en.us/audio/v139/v139_021.nwv \ 23 ../config/en.us/audio/v139/v139_206.nwv \ 24 ../config/en.us/audio/v139/v139_103.nwv \ [all …]
|
/external/chromium_org/ppapi/api/dev/ |
D | ppb_audio_input_dev.idl | 8 * provides realtime audio input capture. 18 * <code>PPB_AudioInput_Callback</code> defines the type of an audio callback 19 * function used to provide the audio buffer with data. This callback will be 22 * @param[in] sample_buffer A buffer providing audio input data. 35 * functions for handling audio input resources. 38 * the mismatch between the current audio config interface and this one. 41 * everything as mono. We either need to not use an audio config resource, or 44 * In addition, RecommendSampleFrameCount is completely wrong for audio input. 53 * Creates an audio input resource. 58 * @return A <code>PP_Resource</code> corresponding to an audio input resource [all …]
|
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/fx/ |
D | bg.js | 168 function soundLoadError(audio, id) { argument 169 console.log("failed to load sound: " + id + "-" + audio.src); 170 audio.src = ""; 175 function soundLoaded(audio, id) { argument 177 sounds[id] = audio; 190 var audio = new Audio(); 191 audio.id = id; 192 audio.onerror = function() { soundLoadError(audio, id); }; 193 audio.addEventListener("canplaythrough", 194 function() { soundLoaded(audio, id); }, false); [all …]
|