Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f6a22ab1 authored by Eric Laurent's avatar Eric Laurent Committed by Android Git Automerger
Browse files

am b2147445: am 7011ee31: Merge "NuPlayer: reduce offload pause teardown timeout." into lmp-mr1-dev

* commit 'b2147445':
  NuPlayer: reduce offload pause teardown timeout.
parents 0307c3ce b2147445
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -38,7 +38,7 @@ namespace android {

// Maximum time in paused state when offloading audio decompression. When elapsed, the AudioSink
// is closed to allow the audio DSP to power down.
static const int64_t kOffloadPauseMaxUs = 60000000ll;
static const int64_t kOffloadPauseMaxUs = 10000000ll;

// static
const int64_t NuPlayer::Renderer::kMinPositionUpdateDelayUs = 100000ll;
+1 −1
Original line number Diff line number Diff line
@@ -75,7 +75,7 @@ static const size_t kHighWaterMarkBytes = 200000;

// maximum time in paused state when offloading audio decompression. When elapsed, the AudioPlayer
// is destroyed to allow the audio DSP to power down.
static int64_t kOffloadPauseMaxUs = 60000000ll;
static int64_t kOffloadPauseMaxUs = 10000000ll;


struct AwesomeEvent : public TimedEventQueue::Event {