blob: ff8cbe82a7a57306e2822f6d75f93f9312d84ece [file] [log] [blame]
// Copyright (c) 2010 The WebM project authors. All Rights Reserved.
//
// Use of this source code is governed by a BSD-style license
// that can be found in the LICENSE file in the root of the source
// tree. An additional intellectual property rights grant can be found
// in the file PATENTS. All contributing project authors may
// be found in the AUTHORS file in the root of the source tree.
#pragma once
#include "webmmuxinpin.hpp"
namespace WebmMuxLib
{
class StreamAudio;
class InpinAudio : public Inpin
{
InpinAudio(const InpinAudio&);
InpinAudio& operator=(const InpinAudio&);
public:
explicit InpinAudio(Filter*);
~InpinAudio();
HRESULT STDMETHODCALLTYPE QueryAccept(const AM_MEDIA_TYPE*);
HRESULT STDMETHODCALLTYPE GetAllocatorRequirements(ALLOCATOR_PROPERTIES*);
protected:
HRESULT OnInit();
void OnFinal();
HANDLE GetOtherHandle() const;
};
} //end namespace WebmMuxLib