Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(136)

Side by Side Diff: media/base/audio_renderer_sink.cc

Issue 2060833002: Implementation of 'AudioContext.getOutputTimestamp' method (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added implementation for ALSA. Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "media/base/audio_renderer_sink.h"
6
7 namespace media {
8
9 int AudioRendererSink::RenderCallback::Render(AudioBus* dest,
10 uint32_t audio_delay_milliseconds,
11 uint32_t frames_skipped) {
12 return 0;
13 }
14
15 int AudioRendererSink::RenderCallback::Render(
16 AudioBus* dest,
17 uint32_t audio_delay_milliseconds,
18 uint32_t frames_skipped,
19 const AudioTimestamp& output_timestamp) {
20 return Render(dest, audio_delay_milliseconds, frames_skipped);
21 }
22
23 } // namespace media
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698