Searched refs:bytes_per_sample_ (Results 1 – 9 of 9) sorted by relevance
/external/chromium_org/content/browser/speech/ |
D | audio_buffer.cc | 13 : bytes_per_sample_(bytes_per_sample) { in AudioChunk() 18 bytes_per_sample_(bytes_per_sample) { in AudioChunk() 27 return data_string_.size() / bytes_per_sample_; in NumSamples() 45 : bytes_per_sample_(bytes_per_sample) { in AudioBuffer() 56 chunks_.push_back(new AudioChunk(data, length, bytes_per_sample_)); in Enqueue() 67 scoped_refptr<AudioChunk> chunk(new AudioChunk(bytes_per_sample_)); in DequeueAll()
|
D | audio_buffer.h | 25 int bytes_per_sample() const { return bytes_per_sample_; } in bytes_per_sample() 37 int bytes_per_sample_; variable 69 int bytes_per_sample_; variable
|
D | speech_recognizer_impl_unittest.cc | 73 bytes_per_sample_ = SpeechRecognizerImpl::kNumBitsPerAudioSample / 8; in SpeechRecognizerImplTest() 74 const int frames = audio_packet_length_bytes / channels / bytes_per_sample_; in SpeechRecognizerImplTest() 161 &audio_packet_[0], audio_bus_->frames(), bytes_per_sample_); in CopyPacketToAudioBus() 198 int bytes_per_sample_; member in content::SpeechRecognizerImplTest
|
/external/chromium_org/content/renderer/media/android/ |
D | audio_decoder_android.cc | 178 size_t bytes_per_sample_; member in content::WAVEDecoder 192 bytes_per_sample_(0), in WAVEDecoder() 218 uint32_t unsigned_sample = ReadUnsignedInteger(pcm_data, bytes_per_sample_); in ReadPCMSample() 222 switch (bytes_per_sample_) { in ReadPCMSample() 296 bytes_per_sample_ = bits_per_sample / 8; in ReadFMTChunk() 306 if (!bytes_per_sample_ || bytes_per_sample_ > kMaximumBytesPerSample) { in CopyDataChunkToBus() 314 << chunk_size_ / bytes_per_sample_ / number_of_channels_ in CopyDataChunkToBus() 315 << " frames, " << 8 * bytes_per_sample_ << " bits/sample"; in CopyDataChunkToBus() 320 chunk_size_ / bytes_per_sample_ / number_of_channels_; in CopyDataChunkToBus() 329 buffer_ += bytes_per_sample_; in CopyDataChunkToBus()
|
/external/chromium_org/media/audio/android/ |
D | audio_record_input.cc | 21 bytes_per_sample_(params.bits_per_sample() / 8) { in AudioRecordInputStream() 56 audio_bus_->frames() * audio_bus_->channels() * bytes_per_sample_); in OnData() 60 direct_buffer_address_, audio_bus_->frames(), bytes_per_sample_); in OnData()
|
D | audio_record_input.h | 70 int bytes_per_sample_; variable
|
/external/chromium_org/media/filters/ |
D | audio_renderer_algorithm_unittest.cc | 75 bytes_per_sample_(0) { in AudioRendererAlgorithmTest() 91 bytes_per_sample_ = SampleFormatToBytesPerChannel(sample_format); in Initialize() 95 bytes_per_sample_ * 8, in Initialize() 322 int bytes_per_sample_; member in media::AudioRendererAlgorithmTest
|
/external/chromium_org/media/audio/alsa/ |
D | alsa_output.cc | 142 bytes_per_sample_(params.bits_per_sample() / 8), in AlsaPcmOutputStream() 220 mixed_audio_bus_->channels() * bytes_per_sample_ : bytes_per_frame_; in Open() 382 frames_filled, bytes_per_sample_, packet->writable_data()); in BufferPacket()
|
D | alsa_output.h | 171 const uint32 bytes_per_sample_; variable
|