Index: media/audio/mac/audio_auhal_mac.h |
diff --git a/media/audio/mac/audio_auhal_mac.h b/media/audio/mac/audio_auhal_mac.h |
index b6f14f96093fb0dd239cecae9e280a51647978c3..80ba3fcbe8a2fe848ffc68cab59651a15f4540fd 100644 |
--- a/media/audio/mac/audio_auhal_mac.h |
+++ b/media/audio/mac/audio_auhal_mac.h |
@@ -29,6 +29,7 @@ |
#include "base/macros.h" |
#include "base/synchronization/lock.h" |
#include "base/threading/thread_checker.h" |
+#include "base/time/time.h" |
#include "media/audio/audio_io.h" |
#include "media/audio/audio_manager.h" |
#include "media/base/audio_parameters.h" |
@@ -131,9 +132,6 @@ class AUHALStream : public AudioOutputStream { |
// if not available. |
double GetHardwareLatency(); |
- // Gets the current playout latency value. |
- double GetPlayoutLatency(const AudioTimeStamp* output_time_stamp); |
- |
// Updates playout timestamp, current lost frames, and total lost frames and |
// glitches. |
void UpdatePlayoutTimestamp(const AudioTimeStamp* timestamp); |
@@ -191,8 +189,8 @@ class AUHALStream : public AudioOutputStream { |
// sizes. |
std::unique_ptr<AudioPullFifo> audio_fifo_; |
- // Current buffer delay. Set by Render(). |
- uint32_t current_hardware_pending_bytes_; |
+ // Current target playout time. Set by Render(). |
+ base::TimeTicks current_target_playout_time_; |
// Lost frames not yet reported to the provider. Increased in |
// UpdatePlayoutTimestamp() if any lost frame since last time. Forwarded to |