Home
last modified time | relevance | path

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

12

/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()
218 wasp_impl_->provideInput(audio_data, params_.frames_per_buffer()); in TEST_F()
[all …]
Dwebrtc_local_audio_source_provider.cc72 const int16* audio_data, in OnData() argument
87 input_bus_->FromInterleaved(audio_data, number_of_frames, 2); in OnData()
104 const WebVector<float*>& audio_data, size_t number_of_frames) { in provideInput() argument
107 static_cast<size_t>(output_wrapper_->channels()) != audio_data.size()) { in provideInput()
108 output_wrapper_ = media::AudioBus::CreateWrapper(audio_data.size()); in provideInput()
112 for (size_t i = 0; i < audio_data.size(); ++i) in provideInput()
113 output_wrapper_->SetChannelData(i, audio_data[i]); in provideInput()
Dwebrtc_local_audio_source_provider_unittest.cc40 blink::WebVector<float*> audio_data( in TEST_F() local
42 for (size_t i = 0; i < audio_data.size(); ++i) in TEST_F()
43 audio_data[i] = sink_bus_->channel(i); in TEST_F()
48 source_provider_->provideInput(audio_data, sink_params_.frames_per_buffer()); in TEST_F()
70 source_provider_->provideInput(audio_data, in TEST_F()
86 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.cc97 const WebVector<float*>& audio_data, size_t number_of_frames) { in provideInput() argument
99 static_cast<size_t>(bus_wrapper_->channels()) != audio_data.size()) { in provideInput()
100 bus_wrapper_ = media::AudioBus::CreateWrapper(audio_data.size()); in provideInput()
104 for (size_t i = 0; i < audio_data.size(); ++i) in provideInput()
105 bus_wrapper_->SetChannelData(i, audio_data[i]); in provideInput()
Dwebaudio_capturer_source.cc79 const blink::WebVector<const float*>& audio_data, in consumeAudio() argument
95 DCHECK_EQ(params_.channels(), static_cast<int>(audio_data.size())); in consumeAudio()
97 for (size_t i = 0; i < audio_data.size(); ++i) in consumeAudio()
98 wrapper_bus_->SetChannelData(i, const_cast<float*>(audio_data[i])); in consumeAudio()
Dwebrtc_audio_device_impl.h190 virtual void RenderData(uint8* audio_data,
219 virtual int OnData(const int16* audio_data,
333 virtual int OnData(const int16* audio_data, in NON_EXPORTED_BASE()
349 virtual void RenderData(uint8* audio_data, in NON_EXPORTED_BASE()
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.cc53 int WebRtcAudioDeviceImpl::OnData(const int16* audio_data, in OnData() argument
79 const int16* audio_buffer = audio_data; in OnData()
114 void WebRtcAudioDeviceImpl::RenderData(uint8* audio_data, in RenderData() argument
147 audio_data, in RenderData()
150 audio_data += bytes_per_10_msec; in RenderData()
Dwebrtc_local_audio_source_provider.h53 virtual void OnData(const int16* audio_data, in NON_EXPORTED_BASE()
61 virtual void provideInput(const blink::WebVector<float*>& audio_data, in NON_EXPORTED_BASE()
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()
Dpeer_connection_audio_sink_owner.h23 virtual int OnData(const int16* audio_data,
Dmedia_stream_audio_sink_owner.h23 virtual int OnData(const int16* audio_data,
Dwebaudio_capturer_source.h40 virtual void consumeAudio(const blink::WebVector<const float*>& audio_data,
Dmedia_stream_audio_track_sink.h24 virtual int OnData(const int16* audio_data,
/external/chromium/webkit/glue/media/
Daudio_decoder.cc66 vector<float*> audio_data; in DecodeAudioFileData() local
67 audio_data.reserve(number_of_channels); in DecodeAudioFileData()
69 audio_data.push_back(destination_bus->channelData(i)); in DecodeAudioFileData()
73 return reader.Read(audio_data, number_of_frames); in DecodeAudioFileData()
/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/media/audio/mac/
Daudio_low_latency_output_mac.cc255 uint8* audio_data = reinterpret_cast<uint8*>(buffer.mData); in Render() local
267 memset(audio_data, 0, number_of_frames * format_.mBytesPerFrame); in Render()
279 memset(audio_data, 0, number_of_frames * format_.mBytesPerFrame); in Render()
291 frames_filled, format_.mBitsPerChannel / 8, audio_data); in Render()
Daudio_low_latency_input_mac.cc502 uint8* audio_data = reinterpret_cast<uint8*>(buffer.mData); in Provide() local
507 DCHECK(audio_data); in Provide()
508 if (!audio_data) in Provide()
513 fifo_->Append(audio_data, buffer.mDataByteSize); in Provide()
/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/public/renderer/
Dmedia_stream_audio_sink.h44 virtual void OnData(const int16* audio_data,
/external/chromium_org/content/shell/browser/
Dwebkit_test_controller.cc124 const std::vector<unsigned char>& audio_data) { in PrintAudioBlock() argument
128 PrintEncodedBinaryData(audio_data); in PrintAudioBlock()
132 *output_ << "Content-Length: " << audio_data.size() << "\n"; in PrintAudioBlock()
134 reinterpret_cast<const char*>(&audio_data[0]), audio_data.size()); in PrintAudioBlock()
/external/chromium_org/content/browser/speech/
Dspeech_recognizer_impl.cc277 event_args.audio_data = audio_converter_->Convert(data, size); in OnData()
330 DCHECK(event_args.audio_data.get() != NULL); in DispatchEvent()
331 ProcessAudioPipeline(*event_args.audio_data.get()); in DispatchEvent()
593 recognition_engine_->TakeAudioChunk(*(event_args.audio_data.get())); in StartRecognitionEngine()
812 audio_data(NULL), in FSMEventArgs()
/external/chromium_org/chrome/renderer/media/
Dcast_rtp_stream.cc167 virtual void OnData(const int16* audio_data, in OnData() argument
174 audio_bus->FromInterleaved(audio_data, number_of_frames, 2); in OnData()

12