Change NetEq::GetPlayoutTimestamp to return an rtc::Optional<uint32_t>

This is in preparation for changes to when the playout timestamp is
valid.

BUG=webrtc:5669

Review URL: https://codereview.webrtc.org/1853183002

Cr-Commit-Position: refs/heads/master@{#12256}
This commit is contained in:
henrik.lundin
2016-04-06 01:39:22 -07:00
committed by Commit bot
parent 05255b0e8a
commit 9a410dd082
13 changed files with 77 additions and 58 deletions

View File

@ -160,7 +160,7 @@ class NetEqImpl : public webrtc::NetEq {
// Disables post-decode VAD.
void DisableVad() override;
bool GetPlayoutTimestamp(uint32_t* timestamp) override;
rtc::Optional<uint32_t> GetPlayoutTimestamp() override;
int last_output_sample_rate_hz() const override;