HomeSort by relevance Sort by last modified time
    Searched refs:kBytesPerSample (Results 1 - 5 of 5) sorted by null

  /external/chromium_org/remoting/codec/
audio_encoder_opus.cc 33 const AudioPacket::BytesPerSample kBytesPerSample =
73 new char[kFrameSamples * kBytesPerSample * channels_]);
128 kBytesPerSample / channels_;
132 audio_bus->frames(), kBytesPerSample);
133 resampling_data_pos_ += audio_bus->frames() * kBytesPerSample * channels_;
141 DCHECK_EQ(kBytesPerSample, packet->bytes_per_sample());
148 int samples_in_packet = packet->data(0).size() / kBytesPerSample / channels_;
170 next_sample, samples_to_copy * kBytesPerSample * channels_);
180 resampling_data_size_ = samples_wanted * channels_ * kBytesPerSample;
183 samples_consumed = resampling_data_pos_ / channels_ / kBytesPerSample;
    [all...]
  /external/chromium_org/remoting/host/
audio_capturer_win.cc 19 const int kBytesPerSample = 2;
20 const int kBitsPerSample = kBytesPerSample * 8;
125 wave_format_ex_->nBlockAlign = kChannels * kBytesPerSample;
127 sampling_rate_ * kChannels * kBytesPerSample;
150 kChannels * kBytesPerSample;
152 sampling_rate_ * kChannels * kBytesPerSample;
  /external/chromium_org/remoting/host/linux/
audio_pipe_reader.cc 25 const int kBytesPerSample = 2;
27 kSamplesPerSecond * kChannels * kBytesPerSample;
151 int incomplete_samples_bytes = pos % (kChannels * kBytesPerSample);
  /external/chromium_org/media/audio/android/
audio_android_unittest.cc 48 static const int kBytesPerSample = kBitsPerSample / 8;
161 audio_bus->frames() * audio_bus->channels() * kBytesPerSample;
173 int frames = max_size / (audio_bus->channels() * kBytesPerSample);
175 audio_bus->FromInterleaved(file_->data() + pos_, frames, kBytesPerSample);
  /external/chromium_org/media/filters/
audio_renderer_algorithm_unittest.cc 229 const int kBytesPerSample = 2;
234 kSampleRateHz, kBytesPerSample * 8, kNumFrames);

Completed in 3409 milliseconds