Searched refs:channel_layout (Results 1 - 25 of 110) sorted by relevance

12345

/external/chromium_org/media/audio/
H A Daudio_parameters.cc22 AudioParameters::AudioParameters(Format format, ChannelLayout channel_layout, argument
26 channel_layout_(channel_layout),
30 channels_(ChannelLayoutToChannelCount(channel_layout)),
34 AudioParameters::AudioParameters(Format format, ChannelLayout channel_layout, argument
38 channel_layout_(channel_layout),
42 channels_(ChannelLayoutToChannelCount(channel_layout)),
46 AudioParameters::AudioParameters(Format format, ChannelLayout channel_layout, argument
51 channel_layout_(channel_layout),
57 if (channel_layout != CHANNEL_LAYOUT_DISCRETE)
58 DCHECK_EQ(channels, ChannelLayoutToChannelCount(channel_layout));
61 Reset(Format format, ChannelLayout channel_layout, int channels, int sample_rate, int bits_per_sample, int frames_per_buffer) argument
[all...]
H A Dfake_audio_manager.cc57 ChannelLayout channel_layout = CHANNEL_LAYOUT_STEREO; local
64 channel_layout = input_params.channel_layout();
69 AudioParameters::AUDIO_PCM_LOW_LATENCY, channel_layout,
H A Daudio_parameters.h10 #include "media/base/channel_layout.h"
57 AudioParameters(Format format, ChannelLayout channel_layout,
60 AudioParameters(Format format, ChannelLayout channel_layout,
63 AudioParameters(Format format, ChannelLayout channel_layout,
67 void Reset(Format format, ChannelLayout channel_layout,
92 ChannelLayout channel_layout() const { return channel_layout_; } function in class:media::AudioParameters
109 // |channel_layout|.
/external/chromium_org/media/base/
H A Daudio_buffer_queue_unittest.cc37 ChannelLayout channel_layout,
42 channel_layout,
43 ChannelLayoutToChannelCount(channel_layout),
52 const ChannelLayout channel_layout = CHANNEL_LAYOUT_MONO; local
56 MakeTestBuffer<uint8>(kSampleFormatU8, channel_layout, 10, 1, 8));
61 MakeTestBuffer<uint8>(kSampleFormatU8, channel_layout, 20, 1, 8));
66 const ChannelLayout channel_layout = CHANNEL_LAYOUT_MONO; local
69 MakeTestBuffer<uint8>(kSampleFormatU8, channel_layout, 10, 1, 8));
72 MakeTestBuffer<uint8>(kSampleFormatU8, channel_layout, 10, 1, 8));
75 MakeTestBuffer<uint8>(kSampleFormatU8, channel_layout, 1
36 MakeTestBuffer(SampleFormat format, ChannelLayout channel_layout, T start, T step, int frames) argument
86 const ChannelLayout channel_layout = CHANNEL_LAYOUT_MONO; local
131 const ChannelLayout channel_layout = CHANNEL_LAYOUT_STEREO; local
152 const ChannelLayout channel_layout = CHANNEL_LAYOUT_STEREO; local
187 const ChannelLayout channel_layout = CHANNEL_LAYOUT_4_0; local
204 const ChannelLayout channel_layout = CHANNEL_LAYOUT_STEREO; local
225 const ChannelLayout channel_layout = CHANNEL_LAYOUT_STEREO; local
250 const ChannelLayout channel_layout = CHANNEL_LAYOUT_STEREO; local
270 const ChannelLayout channel_layout = CHANNEL_LAYOUT_STEREO; local
290 const ChannelLayout channel_layout = CHANNEL_LAYOUT_OCTAGONAL; local
313 const ChannelLayout channel_layout = CHANNEL_LAYOUT_4_0; local
[all...]
H A Daudio_decoder_config.cc29 ChannelLayout channel_layout,
34 Initialize(codec, sample_format, channel_layout, samples_per_second,
41 ChannelLayout channel_layout,
55 UMA_HISTOGRAM_ENUMERATION("Media.AudioChannelLayout", channel_layout,
68 channel_layout_ = channel_layout;
98 (channel_layout() == config.channel_layout()) &&
113 << " channel_layout: " << channel_layout()
27 AudioDecoderConfig(AudioCodec codec, SampleFormat sample_format, ChannelLayout channel_layout, int samples_per_second, const uint8* extra_data, size_t extra_data_size, bool is_encrypted) argument
39 Initialize(AudioCodec codec, SampleFormat sample_format, ChannelLayout channel_layout, int samples_per_second, const uint8* extra_data, size_t extra_data_size, bool is_encrypted, bool record_stats, base::TimeDelta seek_preroll, int codec_delay) argument
H A Daudio_buffer.h14 #include "media/base/channel_layout.h"
38 ChannelLayout channel_layout,
48 ChannelLayout channel_layout,
55 ChannelLayout channel_layout,
100 ChannelLayout channel_layout() const { return channel_layout_; } function in class:media::AudioBuffer
122 ChannelLayout channel_layout,
H A Daudio_decoder_config.h13 #include "media/base/channel_layout.h"
60 ChannelLayout channel_layout, int samples_per_second,
68 ChannelLayout channel_layout, int samples_per_second,
89 ChannelLayout channel_layout() const { return channel_layout_; } function in class:media::AudioDecoderConfig
H A Daudio_buffer_unittest.cc34 const ChannelLayout channel_layout = CHANNEL_LAYOUT_4_0; local
35 const int channels = ChannelLayoutToChannelCount(channel_layout);
40 channel_layout,
168 original_buffer->channel_layout(),
179 EXPECT_EQ(original_buffer->channel_layout(), new_buffer->channel_layout());
216 const ChannelLayout channel_layout = CHANNEL_LAYOUT_4_0; local
217 const int channels = ChannelLayoutToChannelCount(channel_layout);
221 channel_layout,
240 const ChannelLayout channel_layout local
264 const ChannelLayout channel_layout = CHANNEL_LAYOUT_STEREO; local
287 const ChannelLayout channel_layout = CHANNEL_LAYOUT_STEREO; local
310 const ChannelLayout channel_layout = CHANNEL_LAYOUT_STEREO; local
344 const ChannelLayout channel_layout = CHANNEL_LAYOUT_4_0; local
372 const ChannelLayout channel_layout = CHANNEL_LAYOUT_4_0; local
390 const ChannelLayout channel_layout = CHANNEL_LAYOUT_4_0; local
[all...]
H A Daudio_buffer.cc21 ChannelLayout channel_layout,
29 channel_layout_(channel_layout),
42 DCHECK(channel_layout == CHANNEL_LAYOUT_DISCRETE ||
43 ChannelLayoutToChannelCount(channel_layout) == channel_count);
96 ChannelLayout channel_layout,
106 channel_layout,
118 ChannelLayout channel_layout,
124 channel_layout,
135 ChannelLayout channel_layout,
143 channel_layout,
20 AudioBuffer(SampleFormat sample_format, ChannelLayout channel_layout, int channel_count, int sample_rate, int frame_count, bool create_buffer, const uint8* const* data, const base::TimeDelta timestamp) argument
94 CopyFrom( SampleFormat sample_format, ChannelLayout channel_layout, int channel_count, int sample_rate, int frame_count, const uint8* const* data, const base::TimeDelta timestamp) argument
116 CreateBuffer( SampleFormat sample_format, ChannelLayout channel_layout, int channel_count, int sample_rate, int frame_count) argument
134 CreateEmptyBuffer( ChannelLayout channel_layout, int channel_count, int sample_rate, int frame_count, const base::TimeDelta timestamp) argument
[all...]
/external/chromium_org/chromecast/media/cma/ipc_streamer/
H A Daudio_decoder_config_marshaller.cc23 CHECK(msg->WritePod(config.channel_layout()));
37 ::media::ChannelLayout channel_layout; local
44 CHECK(msg->ReadPod(&channel_layout));
52 CHECK_GE(channel_layout, ::media::CHANNEL_LAYOUT_NONE);
53 CHECK_LE(channel_layout, ::media::CHANNEL_LAYOUT_MAX);
64 channel_layout, samples_per_second,
/external/chromium_org/media/formats/mpeg/
H A Dadts_stream_parser.h25 ChannelLayout* channel_layout,
H A Dmpeg1_audio_stream_parser.h56 ChannelLayout channel_layout; member in struct:media::MPEG1AudioStreamParser::Header
79 ChannelLayout* channel_layout,
H A Dadts_stream_parser.cc22 ChannelLayout* channel_layout,
90 if (channel_layout)
91 *channel_layout = kADTSChannelLayoutTable[channel_layout_index];
18 ParseFrameHeader(const uint8* data, int size, int* frame_size, int* sample_rate, ChannelLayout* channel_layout, int* sample_count, bool* metadata_frame) const argument
H A Dmpeg1_audio_stream_parser.cc212 header->channel_layout =
231 ChannelLayout* channel_layout,
250 if (channel_layout)
251 *channel_layout = header.channel_layout;
227 ParseFrameHeader(const uint8* data, int size, int* frame_size, int* sample_rate, ChannelLayout* channel_layout, int* sample_count, bool* metadata_frame) const argument
/external/chromium_org/content/public/common/
H A Dmedia_stream_request.h107 int channel_layout,
134 : sample_rate(), channel_layout(), frames_per_buffer(), effects() {
137 AudioDeviceParameters(int sample_rate, int channel_layout, argument
140 channel_layout(channel_layout),
150 // but including media/base/channel_layout.h violates checkdeps rules.
151 int channel_layout; member in struct:content::MediaStreamDevice::AudioDeviceParameters
H A Dmedia_stream_request.cc50 int channel_layout,
56 input(sample_rate, channel_layout, frames_per_buffer) {
67 input.channel_layout == input_second.channel_layout;
45 MediaStreamDevice( MediaStreamType type, const std::string& id, const std::string& name, int sample_rate, int channel_layout, int frames_per_buffer) argument
/external/chromium_org/content/renderer/media/
H A Dwebrtc_audio_capturer.cc150 ", channel_layout=%d, sample_rate=%d, buffer_size=%d"
154 device_info_.device.input.channel_layout,
173 media::ChannelLayout channel_layout = static_cast<media::ChannelLayout>(
174 device_info_.device.input.channel_layout);
183 if (channel_layout == media::CHANNEL_LAYOUT_STEREO) {
184 channel_layout = media::CHANNEL_LAYOUT_STEREO_AND_KEYBOARD_MIC;
189 << channel_layout;
193 DVLOG(1) << "Audio input hardware channel layout: " << channel_layout;
195 channel_layout, media::CHANNEL_LAYOUT_MAX + 1);
198 if (channel_layout !
219 channel_layout, local
306 SetCapturerSource( const scoped_refptr<media::AudioCapturerSource>& source, media::ChannelLayout channel_layout, float sample_rate) argument
[all...]
H A Daudio_renderer_mixer_manager.h89 return a.second.channel_layout() < b.second.channel_layout();
/external/chromium_org/media/formats/webm/
H A Dwebm_audio_client.cc8 #include "media/base/channel_layout.h"
51 ChannelLayout channel_layout = GuessChannelLayout(channels_); local
53 if (channel_layout == CHANNEL_LAYOUT_UNSUPPORTED) {
88 channel_layout,
/external/chromium_org/content/common/media/
H A Dmedia_param_traits.cc22 m->WriteInt(static_cast<int>(p.channel_layout()));
33 int format, channel_layout, sample_rate, bits_per_sample, local
37 !m->ReadInt(iter, &channel_layout) ||
46 static_cast<ChannelLayout>(channel_layout), channels,
H A Dmedia_stream_messages.h50 IPC_STRUCT_TRAITS_MEMBER(device.input.channel_layout)
54 IPC_STRUCT_TRAITS_MEMBER(device.matched_output.channel_layout)
/external/chromium_org/media/audio/openbsd/
H A Daudio_manager_openbsd.cc16 #include "media/base/channel_layout.h"
126 ChannelLayout channel_layout = CHANNEL_LAYOUT_STEREO; local
133 channel_layout = input_params.channel_layout();
142 AudioParameters::AUDIO_PCM_LOW_LATENCY, channel_layout,
/external/chromium_org/media/audio/win/
H A Daudio_manager_win.cc34 #include "media/base/channel_layout.h"
316 parameters.Reset(parameters.format(), parameters.channel_layout(),
420 ChannelLayout channel_layout = CHANNEL_LAYOUT_STEREO; local
436 channel_layout = input_params.channel_layout();
446 channel_layout = params.channel_layout();
466 channel_layout == CHANNEL_LAYOUT_UNSUPPORTED)) {
471 if (input_params.channel_layout() != channel_layout) {
[all...]
/external/chromium_org/media/audio/cras/
H A Daudio_manager_cras.cc16 #include "media/base/channel_layout.h"
134 ChannelLayout channel_layout = CHANNEL_LAYOUT_STEREO; local
141 channel_layout = input_params.channel_layout();
152 AudioParameters::AUDIO_PCM_LOW_LATENCY, channel_layout,
/external/chromium_org/media/audio/android/
H A Daudio_manager_android.cc21 #include "media/base/channel_layout.h"
127 ChannelLayout channel_layout = CHANNEL_LAYOUT_MONO; local
130 ChannelLayoutToChannelCount(channel_layout));
141 AudioParameters::AUDIO_PCM_LOW_LATENCY, channel_layout,
273 ChannelLayout channel_layout = CHANNEL_LAYOUT_STEREO; local
281 channel_layout = input_params.channel_layout();
283 sample_rate, ChannelLayoutToChannelCount(channel_layout));
291 AudioParameters::AUDIO_PCM_LOW_LATENCY, channel_layout,

Completed in 228 milliseconds

12345