Searched refs:kBytesPerSample (Results 1 – 4 of 4) sorted by relevance
/external/webrtc/webrtc/modules/audio_device/ios/ |
D | audio_device_unittest_ios.cc | 62 static const size_t kBytesPerSample = kBitsPerSample / 8; variable 116 test::GetFileSize(file_name) / kBytesPerSample; in FileAudioStream() 139 file_size_in_bytes_ / (kBytesPerSample * sample_rate_)); in file_size_in_seconds() 557 PRINTD("file size: %" PRIuS " [samples]\n", bytes / kBytesPerSample); in GetFileName() 559 static_cast<int>(bytes / (sample_rate * kBytesPerSample)); in GetFileName() 662 mock, NeedMorePlayData(playout_frames_per_10ms_buffer(), kBytesPerSample, in TEST_F() 684 mock2, NeedMorePlayData(playout_frames_per_10ms_buffer(), kBytesPerSample, in TEST_F() 705 kBytesPerSample, playout_channels(), in TEST_F() 721 NotNull(), record_frames_per_10ms_buffer(), kBytesPerSample, in TEST_F() 738 kBytesPerSample, playout_channels(), in TEST_F() [all …]
|
D | audio_device_ios.mm | 83 const UInt32 kBytesPerSample = 2; 810 application_format.mBytesPerPacket = kBytesPerSample; 812 application_format.mBytesPerFrame = kBytesPerSample; 814 application_format.mBitsPerChannel = 8 * kBytesPerSample; 1062 RTC_CHECK_EQ(data_size_in_bytes / kBytesPerSample, in_number_frames); 1094 RTC_CHECK_EQ(dataSizeInBytes / kBytesPerSample, in_number_frames);
|
/external/webrtc/webrtc/common_audio/ |
D | wav_file.cc | 27 static const size_t kBytesPerSample = 2; variable 60 RTC_CHECK_EQ(kBytesPerSample, bytes_per_sample); in WavReader() 109 kBytesPerSample, num_samples_)); in WavWriter() 146 kBytesPerSample, num_samples_); in Close()
|
/external/webrtc/webrtc/modules/audio_device/android/ |
D | audio_device_unittest.cc | 67 static const size_t kBytesPerSample = kBitsPerSample / 8; variable 114 test::GetFileSize(file_name) / kBytesPerSample; in FileAudioStream() 138 file_size_in_bytes_ / (kBytesPerSample * sample_rate_)); in file_size_in_seconds() 583 PRINT("file size: %" PRIuS " [samples]\n", bytes / kBytesPerSample); in GetFileName() 585 static_cast<int>(bytes / (sample_rate * kBytesPerSample)); in GetFileName() 862 kBytesPerSample, in TEST_F() 881 kBytesPerSample, in TEST_F() 904 kBytesPerSample, in TEST_F() 912 kBytesPerSample, in TEST_F()
|