Home
last modified time | relevance | path

Searched refs:audio_data (Results 1 – 25 of 26) sorted by relevance

12

/external/tensorflow/tensorflow/lite/experimental/microfrontend/lib/
Dfrontend_memmap_main.c32 int16_t* audio_data = malloc(audio_file_size * sizeof(int16_t)); in main() local
33 int16_t* original_audio_data = audio_data; in main()
35 fread(audio_data, sizeof(int16_t), audio_file_size, fp)) { in main()
43 frontend_state, audio_data, audio_file_size, &num_samples_read); in main()
44 audio_data += num_samples_read; in main()
Dfrontend_main.c43 int16_t* audio_data = malloc(audio_file_size * sizeof(int16_t)); in main() local
44 int16_t* original_audio_data = audio_data; in main()
46 fread(audio_data, sizeof(int16_t), audio_file_size, fp)) { in main()
54 &frontend_state, audio_data, audio_file_size, &num_samples_read); in main()
55 audio_data += num_samples_read; in main()
/external/webrtc/webrtc/voice_engine/
Dvoe_base_impl.h77 const int16_t* audio_data,
86 const void* audio_data,
92 const void* audio_data,
101 void* audio_data,
128 const void* audio_data, uint32_t sample_rate, size_t number_of_channels,
134 void* audio_data, int64_t* elapsed_time_ms,
Dvoe_base_impl.cc114 const int16_t* audio_data, int sample_rate, in OnDataAvailable() argument
123 voe_channels, number_of_voe_channels, audio_data, sample_rate, in OnDataAvailable()
134 PushCaptureData(voe_channels[i], audio_data, 16, sample_rate, in OnDataAvailable()
142 void VoEBaseImpl::OnData(int voe_channel, const void* audio_data, in OnData() argument
145 PushCaptureData(voe_channel, audio_data, bits_per_sample, sample_rate, in OnData()
149 void VoEBaseImpl::PushCaptureData(int voe_channel, const void* audio_data, in PushCaptureData() argument
158 channel_ptr->Demultiplex(static_cast<const int16_t*>(audio_data), in PushCaptureData()
169 void* audio_data, int64_t* elapsed_time_ms, in PullRenderData() argument
175 audio_data, elapsed_time_ms, ntp_time_ms); in PullRenderData()
702 const void* audio_data, uint32_t sample_rate, size_t number_of_channels, in ProcessRecordedDataWithAPM() argument
[all …]
Dchannel.h451 void Demultiplex(const int16_t* audio_data,
/external/python/cpython3/Lib/test/
Dtest_winsound.py108 audio_data = f.read()
109 safe_PlaySound(audio_data, winsound.SND_MEMORY)
110 audio_data = bytearray(audio_data)
111 safe_PlaySound(audio_data, winsound.SND_MEMORY)
/external/webrtc/webrtc/modules/audio_device/include/
Daudio_device_defines.h86 const int16_t* audio_data, in OnDataAvailable() argument
103 const void* audio_data, in OnData() argument
116 const void* audio_data, in PushCaptureData() argument
130 void* audio_data, in PullRenderData() argument
/external/u-boot/arch/sandbox/cpu/
Dsdl.c21 uint8_t *audio_data; member
247 SDL_MixAudio(stream, sdl.audio_data + sdl.audio_pos, len, in sandbox_sdl_fill_audio()
294 sdl.audio_data = malloc(sdl.audio_size); in sandbox_sdl_sound_init()
295 if (!sdl.audio_data) { in sandbox_sdl_sound_init()
316 free(sdl.audio_data); in sandbox_sdl_sound_init()
325 sound_create_square_wave((unsigned short *)sdl.audio_data, in sandbox_sdl_sound_start()
/external/autotest/client/cros/audio/
Daudio_test_data.py12 from autotest_lib.client.cros.audio import audio_data
109 bits_src = audio_data.SAMPLE_FORMATS[
124 bits_dst=audio_data.SAMPLE_FORMATS[
179 sample_format = audio_data.SAMPLE_FORMATS[data_format['sample_format']]
Dcheck_quality.py25 from autotest_lib.client.cros.audio import audio_data
30 import audio_data
249 self.raw_data = audio_data.AudioRawData(
304 saturate_value = audio_data.get_maximum_value_from_sample_format(
442 raw_data = audio_data.AudioRawData(
Daudio_analysis_unittest.py9 from autotest_lib.client.cros.audio import audio_data
115 data = audio_data.AudioRawData(binary, 2, 'S32_LE')
116 saturate_value = audio_data.get_maximum_value_from_sample_format(
Daudio_helper.py20 from autotest_lib.client.cros.audio import audio_data
817 golden_data = audio_data.AudioRawData(
821 test_data = audio_data.AudioRawData(
Daudio_quality_measurement_unittest.py12 from autotest_lib.client.cros.audio import audio_data
/external/autotest/server/site_tests/audiovideo_AVSync/
Daudiovideo_AVSync.py209 audio_data = open(local_path).read()
212 logging.info("audio capture %d bytes, %f seconds", len(audio_data),
213 len(audio_data) / float(self.AUDIO_CAPTURE_RATE) / 32)
217 key_audio = self.compute_audio_keypoint(audio_data)
/external/tensorflow/tensorflow/lite/experimental/microfrontend/
Daudio_microfrontend.cc122 const int16_t* audio_data = GetTensorData<int16_t>(input); in GenerateFeatures() local
139 data->state, audio_data, audio_size, &num_samples_read); in GenerateFeatures()
140 audio_data += num_samples_read; in GenerateFeatures()
/external/tensorflow/tensorflow/examples/speech_commands/
Dtest_streaming_accuracy.cc217 std::vector<float> audio_data; in main() local
222 wav_string, &audio_data, &sample_count, &channel_count, &sample_rate); in main()
250 const float* input_start = &(audio_data[audio_data_offset]); in main()
/external/tensorflow/tensorflow/lite/experimental/microfrontend/ops/
Daudio_microfrontend_op.cc213 auto audio_data = in Compute() local
247 &state, audio_data, audio_size, &num_samples_read); in Compute()
248 audio_data += num_samples_read; in Compute()
/external/webrtc/talk/media/base/
Daudiorenderer.h41 virtual void OnData(const void* audio_data,
Dfakemediaengine.h368 void OnData(const void* audio_data, in OnData() argument
/external/autotest/client/cros/chameleon/
Daudio_test_utils.py21 from autotest_lib.client.cros.audio import audio_data
434 recorded_data = audio_data.AudioRawData(
448 saturate_value = audio_data.get_maximum_value_from_sample_format(
Daudio_widget.py13 from autotest_lib.client.cros.audio import audio_data
199 return audio_data.SAMPLE_FORMATS[
/external/webrtc/talk/app/webrtc/
Drtpsender.cc44 void LocalAudioSinkAdapter::OnData(const void* audio_data, in OnData() argument
51 sink_->OnData(audio_data, bits_per_sample, sample_rate, number_of_channels, in OnData()
Drtpsender.h57 void OnData(const void* audio_data,
Dmediastreaminterface.h151 virtual void OnData(const void* audio_data,
/external/webrtc/talk/media/webrtc/
Dwebrtcvoiceengine.cc1155 void OnData(const void* audio_data, in OnData() argument
1164 audio_data, in OnData()

12