Home
last modified time | relevance | path

Searched refs:resampler_ (Results 1 – 21 of 21) sorted by relevance

/external/chromium_org/media/base/
Daudio_converter.cc56 resampler_.reset(new MultiChannelResampler( in AudioConverter()
72 if (disable_fifo || resampler_) in AudioConverter()
109 if (resampler_) in Reset()
110 resampler_->Flush(); in Reset()
114 if (!resampler_) in ChunkSize()
116 return resampler_->ChunkSize(); in ChunkSize()
143 if (!resampler_ && !audio_fifo_) { in ConvertWithDelay()
146 if (resampler_) in ConvertWithDelay()
147 resampler_->Resample(temp_dest->frames(), temp_dest); in ConvertWithDelay()
186 if (resampler_) { in SourceCallback()
Daudio_converter.h117 scoped_ptr<MultiChannelResampler> resampler_; variable
/external/chromium_org/third_party/webrtc/common_audio/resampler/
Dpush_sinc_resampler.cc21 : resampler_(new SincResampler(source_frames * 1.0 / destination_frames, in PushSincResampler()
52 assert(source_length == resampler_->request_frames()); in Resample()
73 resampler_->Resample(resampler_->ChunkSize(), destination); in Resample()
75 resampler_->Resample(destination_frames_, destination); in Resample()
Dpush_sinc_resampler.h46 SincResampler* get_resampler_for_testing() { return resampler_.get(); } in get_resampler_for_testing()
52 scoped_ptr<SincResampler> resampler_;
/external/chromium_org/media/audio/
Daudio_output_proxy_unittest.cc428 resampler_ = new AudioOutputResampler( in InitDispatcher()
444 scoped_refptr<AudioOutputResampler> resampler_; member in media::AudioOutputResamplerTest
453 AudioOutputProxy* proxy = new AudioOutputProxy(resampler_.get()); in TEST_F()
462 OpenAndClose(resampler_.get()); in TEST_F()
474 CreateAndWait(resampler_.get()); in TEST_F()
482 StartAndStop(resampler_.get()); in TEST_F()
490 CloseAfterStop(resampler_.get()); in TEST_F()
498 TwoStreams(resampler_.get()); in TEST_F()
508 OneStream_TwoPlays(resampler_.get()); in TEST_F()
517 TwoStreams_BothPlaying(resampler_.get()); in TEST_F()
[all …]
/external/chromium_org/remoting/codec/
Daudio_encoder_opus.cc76 resampler_.reset(new media::MultiChannelResampler( in InitEncoder()
99 resampler_.reset(); in DestroyEncoder()
159 resampler_.get() ? media::SincResampler::kDefaultRequestSize : 0; in Encode()
177 if (resampler_.get()) { in Encode()
181 resampler_->Resample(kFrameSamples, resampler_bus_.get()); in Encode()
Daudio_encoder_opus.h45 scoped_ptr<media::MultiChannelResampler> resampler_; variable
/external/chromium_org/third_party/webrtc/voice_engine/
Dutility_unittest.cc42 PushResampler<int16_t> resampler_; member in webrtc::voe::__anon677419120111::UtilityTest
197 RemixAndResample(src_frame_, &resampler_, &dst_frame_); in TEST_F()
203 RemixAndResample(src_frame_, &resampler_, &dst_frame_); in TEST_F()
212 RemixAndResample(src_frame_, &resampler_, &dst_frame_); in TEST_F()
219 RemixAndResample(src_frame_, &resampler_, &dst_frame_); in TEST_F()
Doutput_mixer.h133 PushResampler<int16_t> resampler_; variable
Dtransmit_mixer.h201 PushResampler<int16_t> resampler_; // ADM sample rate -> mixing rate variable
Doutput_mixer.cc507 RemixAndResample(_audioFrame, &resampler_, frame); in GetMixedAudio()
Dtransmit_mixer.cc1167 &resampler_, in GenerateAudioFrame()
/external/chromium_org/third_party/webrtc/modules/audio_coding/main/acm2/
Dacm_resampler.cc45 if (resampler_.InitializeIfNeeded(in_freq_hz, out_freq_hz, in Resample10Msec()
53 resampler_.Resample(in_audio, in_length, out_audio, out_capacity_samples); in Resample10Msec()
Dacm_resampler.h33 PushResampler<int16_t> resampler_;
Dacm_receiver.h334 ACMResampler resampler_ GUARDED_BY(crit_sect_);
Dacm_receiver.cc416 resampler_.Resample10Msec(audio_buffer_, in GetAudio()
436 resampler_.Resample10Msec(audio_frame->data_, in GetAudio()
Daudio_coding_module_impl.h341 ACMResampler resampler_ GUARDED_BY(acm_crit_sect_);
Daudio_coding_module_impl.cc1387 resampler_.Resample10Msec(src_ptr_audio, in PreprocessToAddData()
/external/chromium_org/third_party/webrtc/modules/audio_coding/main/test/
Dopus_test.h48 acm2::ACMResampler resampler_; variable
Dopus_test.cc259 resampler_.Resample10Msec(audio_frame.data_, in Run()
/external/chromium_org/chrome/renderer/media/
Dcast_rtp_stream.cc364 if (resampler_) { in OnData()
414 resampler_->Resample(output_bus->frames(), output_bus.get()); in ResampleData()
427 resampler_.reset(new media::MultiChannelResampler( in OnSetFormat()
463 scoped_ptr<media::MultiChannelResampler> resampler_; member in CastAudioSink