channels_ 176 chrome/browser/extensions/api/messaging/message_service.cc STLDeleteContainerPairSecondPointers(channels_.begin(), channels_.end()); channels_ 177 chrome/browser/extensions/api/messaging/message_service.cc channels_.clear(); channels_ 507 chrome/browser/extensions/api/messaging/message_service.cc CHECK(channels_.find(channel_id) == channels_.end()); channels_ 508 chrome/browser/extensions/api/messaging/message_service.cc channels_[channel_id] = channel; channels_ 516 chrome/browser/extensions/api/messaging/message_service.cc MessageChannelMap::iterator it = channels_.find(channel_id); channels_ 517 chrome/browser/extensions/api/messaging/message_service.cc if (it == channels_.end()) { channels_ 551 chrome/browser/extensions/api/messaging/message_service.cc channels_.erase(channel_iter); channels_ 556 chrome/browser/extensions/api/messaging/message_service.cc MessageChannelMap::iterator iter = channels_.find(channel_id); channels_ 557 chrome/browser/extensions/api/messaging/message_service.cc if (iter == channels_.end()) { channels_ 592 chrome/browser/extensions/api/messaging/message_service.cc for (MessageChannelMap::iterator it = channels_.begin(); channels_ 593 chrome/browser/extensions/api/messaging/message_service.cc it != channels_.end(); ) { channels_ 727 chrome/browser/extensions/api/messaging/message_service.cc MessageChannelMap::iterator channel_iter = channels_.find(channel_id); channels_ 728 chrome/browser/extensions/api/messaging/message_service.cc if (channel_iter != channels_.end()) { channels_ 262 chrome/browser/extensions/api/messaging/message_service.h MessageChannelMap channels_; channels_ 51 content/renderer/media/webaudiosourceprovider_impl.cc : channels_(0), channels_ 116 content/renderer/media/webaudiosourceprovider_impl.cc DCHECK_EQ(channels_, bus_wrapper_->channels()); channels_ 171 content/renderer/media/webaudiosourceprovider_impl.cc channels_ = params.channels(); channels_ 184 content/renderer/media/webaudiosourceprovider_impl.cc client_->setFormat(channels_, sample_rate_); channels_ 63 content/renderer/media/webaudiosourceprovider_impl.h int channels_; channels_ 139 media/audio/alsa/alsa_output.cc channels_(params.channels()), channels_ 209 media/audio/alsa/alsa_output.cc wrapper_, device_name_.c_str(), channels_, sample_rate_, channels_ 640 media/audio/alsa/alsa_output.cc device_name_ = FindDeviceForChannels(channels_); channels_ 645 media/audio/alsa/alsa_output.cc channels_, sample_rate_, channels_ 654 media/audio/alsa/alsa_output.cc channels_, sample_rate_, channels_ 665 media/audio/alsa/alsa_output.cc uint32 default_channels = channels_; channels_ 168 media/audio/alsa/alsa_output.h const uint32 channels_; channels_ 141 media/audio/audio_low_latency_input_output_unittest.cc channels_(channels), channels_ 146 media/audio/audio_low_latency_input_output_unittest.cc frame_size_ = (16 / 8) * channels_; channels_ 245 media/audio/audio_low_latency_input_output_unittest.cc EXPECT_EQ(channels_, audio_bus->channels()); channels_ 249 media/audio/audio_low_latency_input_output_unittest.cc source, size / frame_size_, frame_size_ / channels_); channels_ 278 media/audio/audio_low_latency_input_output_unittest.cc int channels_; channels_ 18 media/audio/audio_parameters.cc channels_(0), channels_ 31 media/audio/audio_parameters.cc channels_(ChannelLayoutToChannelCount(channel_layout)), channels_ 45 media/audio/audio_parameters.cc channels_(ChannelLayoutToChannelCount(channel_layout)), channels_ 59 media/audio/audio_parameters.cc channels_(channels), channels_ 75 media/audio/audio_parameters.cc channels_ = channels; channels_ 85 media/audio/audio_parameters.cc (channels_ > 0) && channels_ 86 media/audio/audio_parameters.cc (channels_ <= media::limits::kMaxChannels) && channels_ 108 media/audio/audio_parameters.cc return channels_ * bits_per_sample_ / 8; channels_ 96 media/audio/audio_parameters.h int channels() const { return channels_; } channels_ 105 media/audio/audio_parameters.h channels_ == other.channels() && channels_ 121 media/audio/audio_parameters.h int channels_; // Number of channels. Value set based on channels_ 28 media/audio/pulse/pulse_input.cc channels_(0), channels_ 145 media/audio/pulse/pulse_input.cc if (!channels_) { channels_ 151 media/audio/pulse/pulse_input.cc if (!channels_) { channels_ 158 media/audio/pulse/pulse_input.cc pa_cvolume_set(&pa_volume, channels_, volume); channels_ 218 media/audio/pulse/pulse_input.cc if (stream->channels_ != info->channel_map.channels) channels_ 219 media/audio/pulse/pulse_input.cc stream->channels_ = info->channel_map.channels; channels_ 223 media/audio/pulse/pulse_input.cc for (int i = 0; i < stream->channels_; ++i) { channels_ 59 media/audio/pulse/pulse_input.h int channels_; channels_ 21 media/audio/simple_sources.cc : channels_(channels), channels_ 42 media/audio/simple_sources.h int channels_; channels_ 104 media/audio/win/wavein_input_win.h const int channels_; channels_ 90 media/audio/win/waveout_output_win.cc channels_(params.channels()), channels_ 323 media/audio/win/waveout_output_win.cc DCHECK_EQ(channels_, format_.Format.nChannels); channels_ 341 media/audio/win/waveout_output_win.cc buffer->dwBufferLength = used * format_.Format.nChannels / channels_; channels_ 105 media/audio/win/waveout_output_win.h const int channels_; channels_ 137 media/cdm/ppapi/external_clear_key/ffmpeg_cdm_audio_decoder.cc channels_(0), channels_ 191 media/cdm/ppapi/external_clear_key/ffmpeg_cdm_audio_decoder.cc channels_ = codec_context_->channels; channels_ 316 media/cdm/ppapi/external_clear_key/ffmpeg_cdm_audio_decoder.cc av_frame_->channels != channels_ || channels_ 322 media/cdm/ppapi/external_clear_key/ffmpeg_cdm_audio_decoder.cc << channels_ channels_ 71 media/cdm/ppapi/external_clear_key/ffmpeg_cdm_audio_decoder.h int channels_; channels_ 21 media/filters/audio_file_reader.cc channels_(0), channels_ 96 media/filters/audio_file_reader.cc channels_ = codec_context_->channels; channels_ 175 media/filters/audio_file_reader.cc channels != channels_ || channels_ 181 media/filters/audio_file_reader.cc << channels_ channels_ 46 media/filters/audio_file_reader.h int channels() const { return channels_; } channels_ 62 media/filters/audio_file_reader.h int channels_; channels_ 70 media/filters/audio_renderer_algorithm.cc : channels_(0), channels_ 90 media/filters/audio_renderer_algorithm.cc channels_ = params.channels(); channels_ 130 media/filters/audio_renderer_algorithm.cc wsola_output_ = AudioBus::Create(channels_, ola_window_size_ + ola_hop_size_); channels_ 134 media/filters/audio_renderer_algorithm.cc optimal_block_ = AudioBus::Create(channels_, ola_window_size_); channels_ 136 media/filters/audio_renderer_algorithm.cc channels_, num_candidate_blocks_ + (ola_window_size_ - 1)); channels_ 137 media/filters/audio_renderer_algorithm.cc target_block_ = AudioBus::Create(channels_, ola_window_size_); channels_ 144 media/filters/audio_renderer_algorithm.cc DCHECK_EQ(channels_, dest->channels()); channels_ 221 media/filters/audio_renderer_algorithm.cc for (int k = 0; k < channels_; ++k) { channels_ 276 media/filters/audio_renderer_algorithm.cc for (int k = 0; k < channels_; ++k) { channels_ 329 media/filters/audio_renderer_algorithm.cc for (int k = 0; k < channels_; ++k) { channels_ 127 media/filters/audio_renderer_algorithm.h int channels_; channels_ 71 media/filters/audio_renderer_algorithm_unittest.cc channels_(0), channels_ 87 media/filters/audio_renderer_algorithm_unittest.cc channels_ = ChannelLayoutToChannelCount(channel_layout); channels_ 153 media/filters/audio_renderer_algorithm_unittest.cc for (int ch = 0; ch < channels_; ++ch) { channels_ 187 media/filters/audio_renderer_algorithm_unittest.cc AudioBus::Create(channels_, buffer_size_in_frames); channels_ 245 media/filters/audio_renderer_algorithm_unittest.cc channels_ = ChannelLayoutToChannelCount(kChannelLayout); channels_ 255 media/filters/audio_renderer_algorithm_unittest.cc scoped_ptr<AudioBus> output = AudioBus::Create(channels_, 1); channels_ 261 media/filters/audio_renderer_algorithm_unittest.cc channels_, channels_ 277 media/filters/audio_renderer_algorithm_unittest.cc channels_, kPulseWidthSamples); channels_ 299 media/filters/audio_renderer_algorithm_unittest.cc for (int m = 0; m < channels_; ++m) { channels_ 319 media/filters/audio_renderer_algorithm_unittest.cc int channels_; channels_ 22 media/formats/webm/webm_audio_client.cc channels_ = -1; channels_ 47 media/formats/webm/webm_audio_client.cc if (channels_ == -1) channels_ 48 media/formats/webm/webm_audio_client.cc channels_ = 1; channels_ 50 media/formats/webm/webm_audio_client.cc ChannelLayout channel_layout = GuessChannelLayout(channels_); channels_ 53 media/formats/webm/webm_audio_client.cc MEDIA_LOG(log_cb_) << "Unsupported channel count " << channels_; channels_ 82 media/formats/webm/webm_audio_client.cc if (channels_ != -1) { channels_ 84 media/formats/webm/webm_audio_client.cc << " specified. (" << channels_ << " and " << val channels_ 89 media/formats/webm/webm_audio_client.cc channels_ = val; channels_ 45 media/formats/webm/webm_audio_client.h int channels_; channels_ 96 mojo/system/remote_message_pipe_unittest.cc if (channels_[0].get()) { channels_ 97 mojo/system/remote_message_pipe_unittest.cc channels_[0]->Shutdown(); channels_ 98 mojo/system/remote_message_pipe_unittest.cc channels_[0] = NULL; channels_ 100 mojo/system/remote_message_pipe_unittest.cc if (channels_[1].get()) { channels_ 101 mojo/system/remote_message_pipe_unittest.cc channels_[1]->Shutdown(); channels_ 102 mojo/system/remote_message_pipe_unittest.cc channels_[1] = NULL; channels_ 109 mojo/system/remote_message_pipe_unittest.cc CHECK(!channels_[channel_index].get()); channels_ 111 mojo/system/remote_message_pipe_unittest.cc channels_[channel_index] = new Channel(); channels_ 112 mojo/system/remote_message_pipe_unittest.cc CHECK(channels_[channel_index]->Init( channels_ 120 mojo/system/remote_message_pipe_unittest.cc if (!channels_[0].get()) channels_ 122 mojo/system/remote_message_pipe_unittest.cc if (!channels_[1].get()) channels_ 126 mojo/system/remote_message_pipe_unittest.cc channels_[0]->AttachMessagePipeEndpoint(mp0, 1); channels_ 128 mojo/system/remote_message_pipe_unittest.cc channels_[1]->AttachMessagePipeEndpoint(mp1, 0); channels_ 130 mojo/system/remote_message_pipe_unittest.cc channels_[0]->RunMessagePipeEndpoint(local_id0, local_id1); channels_ 131 mojo/system/remote_message_pipe_unittest.cc channels_[1]->RunMessagePipeEndpoint(local_id1, local_id0); channels_ 143 mojo/system/remote_message_pipe_unittest.cc CHECK_EQ(channels_[channel_index]->AttachMessagePipeEndpoint(mp, port), channels_ 145 mojo/system/remote_message_pipe_unittest.cc channels_[channel_index]->RunMessagePipeEndpoint( channels_ 158 mojo/system/remote_message_pipe_unittest.cc scoped_refptr<Channel> channels_[2]; channels_ 30 remoting/codec/audio_decoder_opus.cc channels_(0), channels_ 41 remoting/codec/audio_decoder_opus.cc decoder_ = opus_decoder_create(kSamplingRate, channels_, &error); channels_ 55 remoting/codec/audio_decoder_opus.cc if (packet->channels() != channels_ || channels_ 59 remoting/codec/audio_decoder_opus.cc channels_ = packet->channels(); channels_ 62 remoting/codec/audio_decoder_opus.cc if (channels_ <= 0 || channels_ > 2 || channels_ 65 remoting/codec/audio_decoder_opus.cc << channels_ << " channels with " channels_ 104 remoting/codec/audio_decoder_opus.cc int max_frame_bytes = max_frame_samples * channels_ * channels_ 33 remoting/codec/audio_decoder_opus.h int channels_; channels_ 44 remoting/codec/audio_encoder_opus.cc channels_(AudioPacket::CHANNELS_STEREO), channels_ 59 remoting/codec/audio_encoder_opus.cc encoder_ = opus_encoder_create(kOpusSamplingRate, channels_, channels_ 73 remoting/codec/audio_encoder_opus.cc new char[kFrameSamples * kBytesPerSample * channels_]); channels_ 77 remoting/codec/audio_encoder_opus.cc channels_, channels_ 82 remoting/codec/audio_encoder_opus.cc resampler_bus_ = media::AudioBus::Create(channels_, kFrameSamples); channels_ 90 remoting/codec/audio_encoder_opus.cc new int16[leftover_buffer_size_ * channels_]); channels_ 103 remoting/codec/audio_encoder_opus.cc if (packet->channels() != channels_ || channels_ 107 remoting/codec/audio_encoder_opus.cc channels_ = packet->channels(); channels_ 110 remoting/codec/audio_encoder_opus.cc if (channels_ <= 0 || channels_ > 2 || channels_ 113 remoting/codec/audio_encoder_opus.cc << channels_ << " channels with " channels_ 128 remoting/codec/audio_encoder_opus.cc kBytesPerSample / channels_; channels_ 133 remoting/codec/audio_encoder_opus.cc resampling_data_pos_ += audio_bus->frames() * kBytesPerSample * channels_; channels_ 148 remoting/codec/audio_encoder_opus.cc int samples_in_packet = packet->data(0).size() / kBytesPerSample / channels_; channels_ 156 remoting/codec/audio_encoder_opus.cc encoded_packet->set_channels(channels_); channels_ 169 remoting/codec/audio_encoder_opus.cc memcpy(leftover_buffer_.get() + leftover_samples_ * channels_, channels_ 170 remoting/codec/audio_encoder_opus.cc next_sample, samples_to_copy * kBytesPerSample * channels_); channels_ 180 remoting/codec/audio_encoder_opus.cc resampling_data_size_ = samples_wanted * channels_ * kBytesPerSample; channels_ 183 remoting/codec/audio_encoder_opus.cc samples_consumed = resampling_data_pos_ / channels_ / kBytesPerSample; channels_ 194 remoting/codec/audio_encoder_opus.cc data->resize(kFrameSamples * kBytesPerSample * channels_); channels_ 213 remoting/codec/audio_encoder_opus.cc next_sample += samples_consumed * channels_; channels_ 218 remoting/codec/audio_encoder_opus.cc leftover_buffer_.get() + samples_consumed * channels_, channels_ 219 remoting/codec/audio_encoder_opus.cc leftover_samples_ * channels_ * kBytesPerSample); channels_ 226 remoting/codec/audio_encoder_opus.cc memmove(leftover_buffer_.get() + leftover_samples_ * channels_, channels_ 227 remoting/codec/audio_encoder_opus.cc next_sample, samples_in_packet * kBytesPerSample * channels_); channels_ 41 remoting/codec/audio_encoder_opus.h AudioPacket::Channels channels_; channels_ 366 remoting/protocol/channel_multiplexer.cc STLDeleteValues(&channels_); channels_ 455 remoting/protocol/channel_multiplexer.cc std::map<std::string, MuxChannel*>::iterator it = channels_.find(name); channels_ 456 remoting/protocol/channel_multiplexer.cc if (it != channels_.end()) channels_ 462 remoting/protocol/channel_multiplexer.cc channels_[channel->name()] = channel; channels_ 468 remoting/protocol/channel_multiplexer.cc for (std::map<std::string, MuxChannel*>::iterator it = channels_.begin(); channels_ 469 remoting/protocol/channel_multiplexer.cc it != channels_.end(); ++it) { channels_ 477 remoting/protocol/channel_multiplexer.cc std::map<std::string, MuxChannel*>::iterator it = channels_.find(name); channels_ 478 remoting/protocol/channel_multiplexer.cc if (it != channels_.end()) { channels_ 78 remoting/protocol/channel_multiplexer.h std::map<std::string, MuxChannel*> channels_; channels_ 75 remoting/protocol/jingle_session.cc STLDeleteContainerPairSecondPointers(channels_.begin(), channels_.end()); channels_ 246 remoting/protocol/jingle_session.cc DCHECK(!channels_[name]); channels_ 255 remoting/protocol/jingle_session.cc channels_[name] = channel.release(); channels_ 261 remoting/protocol/jingle_session.cc DCHECK(!channels_[name]); channels_ 270 remoting/protocol/jingle_session.cc channels_[name] = channel.release(); channels_ 274 remoting/protocol/jingle_session.cc ChannelsMap::iterator it = channels_.find(name); channels_ 275 remoting/protocol/jingle_session.cc if (it != channels_.end() && !it->second->is_connected()) { channels_ 277 remoting/protocol/jingle_session.cc DCHECK(!channels_[name]); channels_ 311 remoting/protocol/jingle_session.cc ChannelsMap::iterator it = channels_.find(transport->name()); channels_ 313 remoting/protocol/jingle_session.cc channels_.erase(it); channels_ 507 remoting/protocol/jingle_session.cc ChannelsMap::iterator channel = channels_.find(it->name); channels_ 508 remoting/protocol/jingle_session.cc if (channel != channels_.end()) { channels_ 166 remoting/protocol/jingle_session.h ChannelsMap channels_;