diff --git a/sky/services/media/ios/media_service_impl.h b/sky/services/media/ios/media_service_impl.h index 7e23c213cbb..e6bfee45733 100644 --- a/sky/services/media/ios/media_service_impl.h +++ b/sky/services/media/ios/media_service_impl.h @@ -23,6 +23,9 @@ class MediaServiceImpl : public ::media::MediaService { void CreatePlayer( mojo::InterfaceRequest<::media::MediaPlayer> player) override; + void CreateSoundPool(mojo::InterfaceRequest<::media::SoundPool> pool, + int32_t max_streams) override; + private: mojo::StrongBinding<::media::MediaService> binding_; MediaPlayerFactory media_player_; diff --git a/sky/services/media/ios/media_service_impl.mm b/sky/services/media/ios/media_service_impl.mm index 0b5f2e8b0b5..bda140722e5 100644 --- a/sky/services/media/ios/media_service_impl.mm +++ b/sky/services/media/ios/media_service_impl.mm @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#include "base/logging.h" #include "sky/services/media/ios/media_service_impl.h" namespace sky { @@ -19,6 +20,12 @@ void MediaServiceImpl::CreatePlayer( media_player_.Create(nullptr, player.Pass()); } +void MediaServiceImpl::CreateSoundPool( + mojo::InterfaceRequest<::media::SoundPool> pool, + int32_t max_streams) { + DCHECK(false); +} + void MediaServiceFactory::Create( mojo::ApplicationConnection* connection, mojo::InterfaceRequest<::media::MediaService> request) {