| Index: services/media/audio/audio_pipe.cc
|
| diff --git a/services/media/audio/audio_pipe.cc b/services/media/audio/audio_pipe.cc
|
| index eba55cd3a2b7e30a1bd0721e09b3f81264bb2322..476af5d1b13e94c38ddb4fa5065062e035a3e1f0 100644
|
| --- a/services/media/audio/audio_pipe.cc
|
| +++ b/services/media/audio/audio_pipe.cc
|
| @@ -18,12 +18,14 @@ AudioPipe::AudioPacketRef::AudioPacketRef(
|
| AudioServerImpl* server,
|
| std::vector<Region>&& regions, // NOLINT(build/c++11)
|
| int64_t start_pts,
|
| - int64_t end_pts)
|
| + int64_t end_pts,
|
| + uint32_t frame_count)
|
| : state_(std::move(state)),
|
| server_(server),
|
| regions_(std::move(regions)),
|
| start_pts_(start_pts),
|
| - end_pts_(end_pts) {
|
| + end_pts_(end_pts),
|
| + frame_count_(frame_count) {
|
| DCHECK(state_);
|
| DCHECK(server_);
|
| }
|
| @@ -130,7 +132,8 @@ void AudioPipe::OnPacketReceived(MediaPacketStatePtr state) {
|
| server_,
|
| std::move(regions),
|
| start_pts,
|
| - next_pts_)));
|
| + next_pts_,
|
| + frame_count)));
|
|
|
| if (!prime_callback_.is_null()) {
|
| // Prime was requested. Call the callback to indicate priming is complete.
|
|
|