197876858aa17c7f24c6a1d60be09a57bc1824ba3Jean-Michel Trivi/*
297876858aa17c7f24c6a1d60be09a57bc1824ba3Jean-Michel Trivi * Copyright (C) 2011 The Android Open Source Project
397876858aa17c7f24c6a1d60be09a57bc1824ba3Jean-Michel Trivi *
497876858aa17c7f24c6a1d60be09a57bc1824ba3Jean-Michel Trivi * Licensed under the Apache License, Version 2.0 (the "License");
597876858aa17c7f24c6a1d60be09a57bc1824ba3Jean-Michel Trivi * you may not use this file except in compliance with the License.
697876858aa17c7f24c6a1d60be09a57bc1824ba3Jean-Michel Trivi * You may obtain a copy of the License at
797876858aa17c7f24c6a1d60be09a57bc1824ba3Jean-Michel Trivi *
897876858aa17c7f24c6a1d60be09a57bc1824ba3Jean-Michel Trivi *      http://www.apache.org/licenses/LICENSE-2.0
997876858aa17c7f24c6a1d60be09a57bc1824ba3Jean-Michel Trivi *
1097876858aa17c7f24c6a1d60be09a57bc1824ba3Jean-Michel Trivi * Unless required by applicable law or agreed to in writing, software
1197876858aa17c7f24c6a1d60be09a57bc1824ba3Jean-Michel Trivi * distributed under the License is distributed on an "AS IS" BASIS,
1297876858aa17c7f24c6a1d60be09a57bc1824ba3Jean-Michel Trivi * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1397876858aa17c7f24c6a1d60be09a57bc1824ba3Jean-Michel Trivi * See the License for the specific language governing permissions and
1497876858aa17c7f24c6a1d60be09a57bc1824ba3Jean-Michel Trivi * limitations under the License.
1597876858aa17c7f24c6a1d60be09a57bc1824ba3Jean-Michel Trivi */
1697876858aa17c7f24c6a1d60be09a57bc1824ba3Jean-Michel Trivi
172b06e20ae32388f6e1dfd088d9773c34e6b1cb45Jean-Michel Trivi#include "android_GenericMediaPlayer.h"
1897876858aa17c7f24c6a1d60be09a57bc1824ba3Jean-Michel Trivi
1997876858aa17c7f24c6a1d60be09a57bc1824ba3Jean-Michel Trivinamespace android {
2097876858aa17c7f24c6a1d60be09a57bc1824ba3Jean-Michel Trivi
2197876858aa17c7f24c6a1d60be09a57bc1824ba3Jean-Michel Trivi//--------------------------------------------------------------------------------------------------
2268d56b8ebaf60184a3aef988e3d2b09ed8b88c05Jean-Michel Triviclass LocAVPlayer : public GenericMediaPlayer
2397876858aa17c7f24c6a1d60be09a57bc1824ba3Jean-Michel Trivi{
2497876858aa17c7f24c6a1d60be09a57bc1824ba3Jean-Michel Trivipublic:
25167a2af67dcc0d20e6e3e995a23a0567715e0ee1Glenn Kasten    LocAVPlayer(const AudioPlayback_Parameters* params, bool hasVideo);
2697876858aa17c7f24c6a1d60be09a57bc1824ba3Jean-Michel Trivi    virtual ~LocAVPlayer();
2797876858aa17c7f24c6a1d60be09a57bc1824ba3Jean-Michel Trivi
2897876858aa17c7f24c6a1d60be09a57bc1824ba3Jean-Michel Triviprotected:
2997876858aa17c7f24c6a1d60be09a57bc1824ba3Jean-Michel Trivi    // overridden from AVPlayer
3097876858aa17c7f24c6a1d60be09a57bc1824ba3Jean-Michel Trivi    virtual void onPrepare();
3197876858aa17c7f24c6a1d60be09a57bc1824ba3Jean-Michel Trivi
3297876858aa17c7f24c6a1d60be09a57bc1824ba3Jean-Michel Triviprivate:
3397876858aa17c7f24c6a1d60be09a57bc1824ba3Jean-Michel Trivi    DISALLOW_EVIL_CONSTRUCTORS(LocAVPlayer);
3497876858aa17c7f24c6a1d60be09a57bc1824ba3Jean-Michel Trivi};
3597876858aa17c7f24c6a1d60be09a57bc1824ba3Jean-Michel Trivi
3697876858aa17c7f24c6a1d60be09a57bc1824ba3Jean-Michel Trivi} // namespace android
37