Home
last modified time | relevance | path

Searched refs:source_params (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/content/renderer/media/
Dwebrtc_audio_renderer.cc245 media::AudioParameters source_params; in Initialize() local
250 source_params.Reset(media::AudioParameters::AUDIO_PCM_LOW_LATENCY, in Initialize()
287 if (source_params.frames_per_buffer() != sink_params.frames_per_buffer()) { in Initialize()
288 DVLOG(1) << "Rebuffering from " << source_params.frames_per_buffer() in Initialize()
291 source_params.channels(), in Initialize()
292 source_params.frames_per_buffer(), in Initialize()
297 if (sink_params.frames_per_buffer() > source_params.frames_per_buffer()) { in Initialize()
299 static_cast<double>(source_params.sample_rate()); in Initialize()
301 source_params.frames_per_buffer()) * frame_duration_milliseconds; in Initialize()
310 new int16[source_params.frames_per_buffer() * source_params.channels()]); in Initialize()
[all …]
Dmedia_stream_audio_processor.cc37 MediaStreamAudioConverter(const media::AudioParameters& source_params, in MediaStreamAudioConverter() argument
39 : source_params_(source_params), in MediaStreamAudioConverter()
41 audio_converter_(source_params, sink_params_, false) { in MediaStreamAudioConverter()
195 const media::AudioParameters& source_params) { in SetCaptureFormat() argument
197 DCHECK(source_params.IsValid()); in SetCaptureFormat()
205 kAudioProcessingSampleRate : source_params.sample_rate(); in SetCaptureFormat()
207 media::CHANNEL_LAYOUT_MONO : source_params.channel_layout(); in SetCaptureFormat()
214 new MediaStreamAudioConverter(source_params, sink_params)); in SetCaptureFormat()
295 media::AudioParameters source_params( in InitializeRenderConverterIfNeeded() local
304 new MediaStreamAudioConverter(source_params, sink_params)); in InitializeRenderConverterIfNeeded()
Dmedia_stream_audio_processor.h73 void SetCaptureFormat(const media::AudioParameters& source_params);