Index: webrtc/modules/audio_processing/transient/transient_detector_unittest.cc |
diff --git a/webrtc/modules/audio_processing/transient/transient_detector_unittest.cc b/webrtc/modules/audio_processing/transient/transient_detector_unittest.cc |
index 18bb42e0eb6739f17b227e7379165ef4588df8f1..fedddb7d8f98d0bc65eefe15c6d44f339c26727d 100644 |
--- a/webrtc/modules/audio_processing/transient/transient_detector_unittest.cc |
+++ b/webrtc/modules/audio_processing/transient/transient_detector_unittest.cc |
@@ -53,11 +53,9 @@ TEST(TransientDetectorTest, CorrectnessBasedOnFiles) { |
detect_file->OpenFile( |
test::ResourcePath(detect_file_name.str(), "dat").c_str(), |
- true, // Read only. |
- false, // No loop. |
- false); // No text. |
+ true); // Read only. |
- bool file_opened = detect_file->Open(); |
+ bool file_opened = detect_file->is_open(); |
ASSERT_TRUE(file_opened) << "File could not be opened.\n" |
<< detect_file_name.str().c_str(); |
@@ -70,9 +68,7 @@ TEST(TransientDetectorTest, CorrectnessBasedOnFiles) { |
audio_file->OpenFile( |
test::ResourcePath(audio_file_name.str(), "pcm").c_str(), |
- true, // Read only. |
- false, // No loop. |
- false); // No text. |
+ true); // Read only. |
// Create detector. |
TransientDetector detector(sample_rate_hz); |