Searched refs:pcm_file (Results 1 – 4 of 4) sorted by relevance
/external/webrtc/webrtc/modules/audio_processing/vad/ |
D | voice_activity_detector_unittest.cc | 61 FILE* pcm_file = in TEST() local 65 ASSERT_TRUE(pcm_file != nullptr); in TEST() 68 ASSERT_EQ(fseek(pcm_file, kStartTimeSec * kSampleRateHz * sizeof(data[0]), in TEST() 73 while (fread(&data[0], sizeof(data[0]), data.size(), pcm_file) == in TEST() 96 FILE* pcm_file = in TEST() local 100 ASSERT_TRUE(pcm_file != nullptr); in TEST() 103 ASSERT_EQ(fseek(pcm_file, kStartTimeSec * kSampleRateHz * sizeof(data[0]), in TEST() 108 while (fread(&data[0], sizeof(data[0]), data.size(), pcm_file) == in TEST()
|
D | vad_audio_proc_unittest.cc | 39 FILE* pcm_file = fopen(pcm_file_name.c_str(), "rb"); in TEST() local 40 ASSERT_TRUE(pcm_file != NULL); in TEST() 47 while (fread(data, sizeof(int16_t), kDataLength, pcm_file) == kDataLength) { in TEST() 60 fclose(pcm_file); in TEST()
|
D | standalone_vad_unittest.cc | 66 FILE* pcm_file = in TEST() local 69 ASSERT_TRUE(pcm_file != NULL); in TEST() 82 while (fread(data, sizeof(int16_t), kDataLength, pcm_file) == kDataLength) { in TEST() 105 fclose(pcm_file); in TEST()
|
/external/webrtc/webrtc/modules/audio_processing/transient/ |
D | click_annotate.cc | 43 scoped_ptr<FileWrapper> pcm_file(FileWrapper::Create()); in main() local 44 pcm_file->OpenFile(argv[1], true, false, false); in main() 45 if (!pcm_file->Open()) { in main() 77 pcm_file.get(), in main() 96 file_samples_read = ReadInt16FromFileToFloatBuffer(pcm_file.get(), in main() 110 pcm_file->CloseFile(); in main()
|