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

Side by Side Diff: media/audio/mock_render_callback.h

Issue 1666363005: Switching audio clients to using RestartableAudioRendererSink interface as a sink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 #ifndef MEDIA_AUDIO_MOCK_RENDERER_CALLBACK_H_
6 #define MEDIA_AUDIO_MOCK_RENDERER_CALLBACK_H_
7
8 #include "media/base/audio_renderer_sink.h"
9 #include "testing/gmock/include/gmock/gmock.h"
10
11 namespace media {
12
13 class MockRenderCallback : public AudioRendererSink::RenderCallback {
14 public:
15 MockRenderCallback();
16 virtual ~MockRenderCallback();
17
18 MOCK_METHOD3(Render,
19 int(AudioBus* dest,
20 uint32_t audio_delay_milliseconds,
21 uint32_t frames_skipped));
22 MOCK_METHOD0(OnRenderError, void());
23 };
24
25 } // namespace media
26
27 #endif // MEDIA_AUDIO_MOCK_RENDERER_CALLBACK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698