Remove TimedAudioTrack and associated code
Bug: 8278435
Change-Id: I095c1a4888e645e14d93b0b15fbef4524a831ca1
diff --git a/modules/audio_remote_submix/audio_hw.cpp b/modules/audio_remote_submix/audio_hw.cpp
index ed3d311..d94834d 100644
--- a/modules/audio_remote_submix/audio_hw.cpp
+++ b/modules/audio_remote_submix/audio_hw.cpp
@@ -823,7 +823,7 @@
const size_t flush_size = min(frames_to_flush_from_source, flushBufferSizeFrames);
frames_to_flush_from_source -= flush_size;
// read does not block
- source->read(flush_buffer, flush_size, AudioBufferProvider::kInvalidPTS);
+ source->read(flush_buffer, flush_size);
}
}
}
@@ -1192,7 +1192,7 @@
SUBMIX_ALOGV("in_read(): frames available to read %zd", source->availableToRead());
- frames_read = source->read(buff, read_frames, AudioBufferProvider::kInvalidPTS);
+ frames_read = source->read(buff, read_frames);
SUBMIX_ALOGV("in_read(): frames read %zd", frames_read);