Home
last modified time | relevance | path

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

123

/external/chromium_org/content/renderer/media/
Dwebaudiosourceprovider_impl_unittest.cc163 blink::WebVector<float*> audio_data(static_cast<size_t>(bus1->channels())); in TEST_F() local
164 for (size_t i = 0; i < audio_data.size(); ++i) in TEST_F()
165 audio_data[i] = bus1->channel(i); in TEST_F()
170 wasp_impl_->provideInput(audio_data, params_.frames_per_buffer()); in TEST_F()
180 wasp_impl_->provideInput(audio_data, params_.frames_per_buffer()); in TEST_F()
188 wasp_impl_->provideInput(audio_data, params_.frames_per_buffer()); in TEST_F()
195 wasp_impl_->provideInput(audio_data, params_.frames_per_buffer()); in TEST_F()
205 wasp_impl_->provideInput(audio_data, params_.frames_per_buffer()); in TEST_F()
212 wasp_impl_->provideInput(audio_data, params_.frames_per_buffer()); in TEST_F()
229 wasp_impl_->provideInput(audio_data, params_.frames_per_buffer()); in TEST_F()
[all …]
Dwebrtc_local_audio_source_provider.cc89 const int16* audio_data, in OnData() argument
104 input_bus_->FromInterleaved(audio_data, number_of_frames, 2); in OnData()
121 const WebVector<float*>& audio_data, size_t number_of_frames) { in provideInput() argument
124 static_cast<size_t>(output_wrapper_->channels()) != audio_data.size()) { in provideInput()
125 output_wrapper_ = media::AudioBus::CreateWrapper(audio_data.size()); in provideInput()
129 for (size_t i = 0; i < audio_data.size(); ++i) in provideInput()
130 output_wrapper_->SetChannelData(i, audio_data[i]); in provideInput()
Dmedia_stream_audio_level_calculator.cc16 int MaxAmplitude(const int16* audio_data, int length) { in MaxAmplitude() argument
19 absolute = std::abs(audio_data[i]); in MaxAmplitude()
41 int MediaStreamAudioLevelCalculator::Calculate(const int16* audio_data, in Calculate() argument
49 int max = MaxAmplitude(audio_data, number_of_channels * number_of_frames); in Calculate()
Dwebrtc_local_audio_source_provider_unittest.cc63 blink::WebVector<float*> audio_data( in TEST_F() local
65 for (size_t i = 0; i < audio_data.size(); ++i) in TEST_F()
66 audio_data[i] = sink_bus_->channel(i); in TEST_F()
71 source_provider_->provideInput(audio_data, sink_params_.frames_per_buffer()); in TEST_F()
93 source_provider_->provideInput(audio_data, in TEST_F()
109 source_provider_->provideInput(audio_data, in TEST_F()
Daudio_decoder.cc60 vector<float*> audio_data; in DecodeAudioFileData() local
61 audio_data.reserve(number_of_channels); in DecodeAudioFileData()
63 audio_data.push_back(destination_bus->channelData(i)); in DecodeAudioFileData()
67 number_of_frames, audio_data); in DecodeAudioFileData()
Dwebaudiosourceprovider_impl.cc95 const WebVector<float*>& audio_data, size_t number_of_frames) { in provideInput() argument
97 static_cast<size_t>(bus_wrapper_->channels()) != audio_data.size()) { in provideInput()
98 bus_wrapper_ = media::AudioBus::CreateWrapper(audio_data.size()); in provideInput()
102 for (size_t i = 0; i < audio_data.size(); ++i) in provideInput()
103 bus_wrapper_->SetChannelData(i, audio_data[i]); in provideInput()
Dwebaudio_capturer_source.cc81 const blink::WebVector<const float*>& audio_data, in consumeAudio() argument
97 DCHECK_EQ(params_.channels(), static_cast<int>(audio_data.size())); in consumeAudio()
99 for (size_t i = 0; i < audio_data.size(); ++i) in consumeAudio()
100 wrapper_bus_->SetChannelData(i, const_cast<float*>(audio_data[i])); in consumeAudio()
Dpeer_connection_audio_sink_owner.cc16 int PeerConnectionAudioSinkOwner::OnData(const int16* audio_data, in OnData() argument
27 return delegate_->OnData(audio_data, in OnData()
Dmedia_stream_audio_sink_owner.cc16 int MediaStreamAudioSinkOwner::OnData(const int16* audio_data, in OnData() argument
29 delegate_->OnData(audio_data, in OnData()
Dwebrtc_audio_device_impl.cc56 int WebRtcAudioDeviceImpl::OnData(const int16* audio_data, in OnData() argument
82 const int16* audio_buffer = audio_data; in OnData()
151 int16* audio_data = &render_buffer_[0]; in RenderData() local
166 audio_data, in RenderData()
177 audio_data, in RenderData()
186 audio_data += bytes_per_10_ms; in RenderData()
Dwebrtc_local_audio_source_provider.h56 virtual void OnData(const int16* audio_data, in NON_EXPORTED_BASE()
66 virtual void provideInput(const blink::WebVector<float*>& audio_data, in NON_EXPORTED_BASE()
Dwebrtc_audio_capturer_unittest.cc44 virtual int OnData(const int16* audio_data, int sample_rate, in OnData() argument
52 OnDataCallback(audio_data, channels, audio_delay_milliseconds, in OnData()
56 MOCK_METHOD6(OnDataCallback, void(const int16* audio_data,
Dwebrtc_local_audio_track.cc41 void WebRtcLocalAudioTrack::Capture(const int16* audio_data, in Capture() argument
50 audio_data, audio_parameters_.channels(), in Capture()
80 int new_volume = (*it)->OnData(audio_data, in Capture()
Dwebrtc_local_audio_renderer.cc60 void WebRtcLocalAudioRenderer::OnData(const int16* audio_data, in OnData() argument
75 audio_source->FromInterleaved(audio_data, in OnData()
77 sizeof(audio_data[0])); in OnData()
Dmedia_stream_audio_level_calculator.h24 int Calculate(const int16* audio_data, int number_of_channels,
/external/chromium_org/third_party/webrtc/voice_engine/
Dvoe_base_impl.h88 const int16_t* audio_data,
97 virtual void OnData(int voe_channel, const void* audio_data,
101 virtual void PushCaptureData(int voe_channel, const void* audio_data,
107 void* audio_data,
134 const void* audio_data,
145 void* audio_data,
Dvoe_base_impl.cc172 const int16_t* audio_data, in OnDataAvailable() argument
193 voe_channels, number_of_voe_channels, audio_data, sample_rate, in OnDataAvailable()
204 PushCaptureData(voe_channels[i], audio_data, 16, sample_rate, in OnDataAvailable()
212 void VoEBaseImpl::OnData(int voe_channel, const void* audio_data, in OnData() argument
216 PushCaptureData(voe_channel, audio_data, bits_per_sample, sample_rate, in OnData()
220 void VoEBaseImpl::PushCaptureData(int voe_channel, const void* audio_data, in PushCaptureData() argument
230 channel_ptr->Demultiplex(static_cast<const int16_t*>(audio_data), in PushCaptureData()
239 void* audio_data, in PullRenderData() argument
246 audio_data, elapsed_time_ms, ntp_time_ms); in PullRenderData()
1016 const void* audio_data, in ProcessRecordedDataWithAPM() argument
[all …]
/external/chromium_org/third_party/webrtc/modules/audio_device/include/
Daudio_device_defines.h94 const int16_t* audio_data, in OnDataAvailable() argument
108 virtual void OnData(int voe_channel, const void* audio_data, in OnData() argument
119 virtual void PushCaptureData(int voe_channel, const void* audio_data, in PushCaptureData() argument
130 void* audio_data, in PullRenderData() argument
/external/srec/audio/AudioIn/UNIX/src/
Daudioinwrapper.cpp46 static FILE *audio_data; variable
95 audio_data = fopen ( file_name, "w" ); in AudioOpen()
119 fclose ( audio_data ); in AudioClose()
143 fwrite ( buffer, 2, n, audio_data ); in AudioRead()
/external/chromium_org/content/renderer/media/webrtc/
Dwebrtc_audio_sink_adapter.cc25 void WebRtcAudioSinkAdapter::OnData(const int16* audio_data, in OnData() argument
29 sink_->OnData(audio_data, 16, sample_rate, number_of_channels, in OnData()
/external/chromium_org/third_party/webrtc/modules/audio_device/test/
Dfunc_test_manager.h127 const int16_t* audio_data,
136 virtual void PushCaptureData(int voe_channel, const void* audio_data,
143 void* audio_data,
/external/chromium_org/content/browser/speech/endpointer/
Dendpointer.cc93 const int16* audio_data = raw_audio.SamplesData16(); in ProcessAudio() local
104 audio_data + sample_index, in ProcessAudio()
/external/chromium_org/content/renderer/pepper/
Dpepper_media_stream_audio_track_host.cc132 void PepperMediaStreamAudioTrackHost::AudioSink::OnData(const int16* audio_data, in OnData() argument
137 DCHECK(audio_data); in OnData()
161 memcpy(buffer->data, audio_data, buffer_data_size_); in OnData()
/external/chromium_org/chrome/renderer/media/
Dcast_rtp_stream.cc312 virtual void OnData(const int16* audio_data, in OnData() argument
319 audio_data, sample_rate, number_of_channels, number_of_frames); in OnData()
326 audio_data, number_of_frames, number_of_channels); in OnData()
346 const int16* audio_data, in ResampleData() argument
352 audio_data, number_of_frames, number_of_channels); in ResampleData()
/external/chromium_org/third_party/libjingle/source/talk/media/base/
Daudiorenderer.h39 virtual void OnData(const void* audio_data,

123