Home
last modified time | relevance | path

Searched refs:number_of_channels (Results 1 – 23 of 23) sorted by relevance

/external/chromium_org/content/renderer/media/
Daudio_decoder.cc42 size_t number_of_channels = reader.channels(); in DecodeAudioFileData() local
48 if (!number_of_channels || in DecodeAudioFileData()
49 number_of_channels > static_cast<size_t>(media::limits::kMaxChannels) || in DecodeAudioFileData()
55 destination_bus->initialize(number_of_channels, in DecodeAudioFileData()
61 audio_data.reserve(number_of_channels); in DecodeAudioFileData()
62 for (size_t i = 0; i < number_of_channels; ++i) { in DecodeAudioFileData()
89 << " number of channels: " << number_of_channels; in DecodeAudioFileData()
Dwebaudio_capturer_source.cc33 size_t number_of_channels, float sample_rate) { in setFormat() argument
37 if (number_of_channels > 2) { in setFormat()
44 number_of_channels == 1 ? CHANNEL_LAYOUT_MONO : CHANNEL_LAYOUT_STEREO; in setFormat()
51 channel_layout, number_of_channels, 0, sample_rate, 16, in setFormat()
Dmedia_stream_audio_processor.cc149 const int16* render_audio, int sample_rate, int number_of_channels, in PushRenderData() argument
166 InitializeRenderConverterIfNeeded(sample_rate, number_of_channels, in PushRenderData()
282 int sample_rate, int number_of_channels, int frames_per_buffer) { in InitializeRenderConverterIfNeeded() argument
287 render_converter_->source_parameters().channels() == number_of_channels) { in InitializeRenderConverterIfNeeded()
297 media::GuessChannelLayout(number_of_channels), sample_rate, 16, in InitializeRenderConverterIfNeeded()
305 render_data_bus_ = media::AudioBus::Create(number_of_channels, in InitializeRenderConverterIfNeeded()
Dwebrtc_audio_device_impl.h191 int number_of_channels,
221 int number_of_channels,
335 int number_of_channels, in NON_EXPORTED_BASE()
350 int number_of_channels, in NON_EXPORTED_BASE()
Dpeer_connection_audio_sink_owner.cc18 int number_of_channels, in OnData() argument
29 number_of_channels, in OnData()
Dmedia_stream_audio_sink_owner.cc18 int number_of_channels, in OnData() argument
31 number_of_channels, in OnData()
Dwebrtc_audio_device_impl.cc55 int number_of_channels, in OnData() argument
91 number_of_channels, in OnData()
99 audio_buffer += samples_per_10_msec * number_of_channels; in OnData()
115 int number_of_channels, in RenderData() argument
126 const int channels = number_of_channels; in RenderData()
Dmedia_stream_audio_processor.h51 int number_of_channels,
90 int number_of_channels,
Dwebrtc_local_audio_source_provider.cc74 int number_of_channels, in OnData() argument
86 DCHECK(input_bus_->channels() == number_of_channels); in OnData()
Dpeer_connection_audio_sink_owner.h25 int number_of_channels,
Dmedia_stream_audio_sink_owner.h25 int number_of_channels,
Dwebrtc_local_audio_renderer.cc62 int number_of_channels, in OnData() argument
74 number_of_channels, number_of_frames); in OnData()
Dwebaudio_capturer_source.h37 virtual void setFormat(size_t number_of_channels, float sample_rate) OVERRIDE;
Dmedia_stream_audio_track_sink.h26 int number_of_channels,
Dwebrtc_local_audio_source_provider.h55 int number_of_channels, in NON_EXPORTED_BASE()
Dwebrtc_local_audio_renderer.h81 int number_of_channels, in NON_EXPORTED_BASE()
Dwebrtc_local_audio_track_unittest.cc129 int number_of_channels, in OnData() argument
138 number_of_channels, in OnData()
149 int number_of_channels,
Dwebrtc_audio_capturer_unittest.cc74 int number_of_channels,
Dwebrtc_audio_device_unittest.cc221 int number_of_channels, in OnData() argument
253 int number_of_channels, in RenderData() argument
260 sizeof(int16) * number_of_channels * number_of_frames); in RenderData()
/external/chromium/webkit/glue/media/
Daudio_decoder.cc36 size_t number_of_channels = reader.channels(); in DecodeAudioFileData() local
54 << " number of channels: " << number_of_channels; in DecodeAudioFileData()
61 destination_bus->initialize(number_of_channels, in DecodeAudioFileData()
67 audio_data.reserve(number_of_channels); in DecodeAudioFileData()
68 for (size_t i = 0; i < number_of_channels; ++i) { in DecodeAudioFileData()
/external/chromium_org/content/renderer/media/android/
Daudio_decoder_android.cc400 unsigned number_of_channels, in CopyPcmDataToBus() argument
402 destination_bus->initialize(number_of_channels, in CopyPcmDataToBus()
413 for (size_t m = 0; m < samples_in_pipe; m += number_of_channels) { in CopyPcmDataToBus()
417 for (size_t k = 0; k < number_of_channels; ++k) { in CopyPcmDataToBus()
437 unsigned number_of_channels, in BufferAndCopyPcmDataToBus() argument
459 size_t number_of_frames = decoded_samples.size() / number_of_channels; in BufferAndCopyPcmDataToBus()
462 destination_bus->initialize(number_of_channels, in BufferAndCopyPcmDataToBus()
466 for (size_t m = 0; m < number_of_samples; m += number_of_channels) { in BufferAndCopyPcmDataToBus()
467 for (size_t k = 0; k < number_of_channels; ++k) { in BufferAndCopyPcmDataToBus()
546 unsigned number_of_channels = info.channel_count; in DecodeAudioFileData() local
[all …]
/external/chromium_org/content/public/renderer/
Dmedia_stream_audio_sink.h46 int number_of_channels,
/external/chromium_org/chrome/renderer/media/
Dcast_rtp_stream.cc169 int number_of_channels, in OnData() argument
172 media::AudioBus::Create(number_of_channels, in OnData()