aboutsummaryrefslogtreecommitdiff
path: root/cast/standalone_receiver/sdl_audio_player.h
diff options
context:
space:
mode:
Diffstat (limited to 'cast/standalone_receiver/sdl_audio_player.h')
-rw-r--r--cast/standalone_receiver/sdl_audio_player.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/cast/standalone_receiver/sdl_audio_player.h b/cast/standalone_receiver/sdl_audio_player.h
index d7a4b0ea..89c37146 100644
--- a/cast/standalone_receiver/sdl_audio_player.h
+++ b/cast/standalone_receiver/sdl_audio_player.h
@@ -16,8 +16,8 @@ class SDLAudioPlayer : public SDLPlayerBase {
public:
// |error_callback| is run only if a fatal error occurs, at which point the
// player has halted and set |error_status()|.
- SDLAudioPlayer(openscreen::platform::ClockNowFunctionPtr now_function,
- openscreen::platform::TaskRunner* task_runner,
+ SDLAudioPlayer(openscreen::ClockNowFunctionPtr now_function,
+ openscreen::TaskRunner* task_runner,
Receiver* receiver,
std::function<void()> error_callback);
@@ -25,7 +25,7 @@ class SDLAudioPlayer : public SDLPlayerBase {
private:
// SDLPlayerBase implementation.
- openscreen::ErrorOr<openscreen::platform::Clock::time_point> RenderNextFrame(
+ openscreen::ErrorOr<openscreen::Clock::time_point> RenderNextFrame(
const SDLPlayerBase::PresentableFrame& frame) final;
bool RenderWhileIdle(const SDLPlayerBase::PresentableFrame* frame) final;
void Present() final;
@@ -38,7 +38,7 @@ class SDLAudioPlayer : public SDLPlayerBase {
// The amount of time before a target presentation time to call Present(), to
// account for audio buffering (the latency until samples reach the hardware).
- openscreen::platform::Clock::duration approximate_lead_time_{};
+ openscreen::Clock::duration approximate_lead_time_{};
// When the decoder provides planar data, this buffer is used for storing the
// interleaved conversion.