cocos2d-x  3.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
MediaStreamer Class Reference

#include <MediaStreamer.h>

Public Member Functions

 MediaStreamer ()
 ~MediaStreamer ()
WAVEFORMATEX & GetOutputWaveFormatEx ()
UINT32 GetMaxStreamLengthInBytes ()
void Initialize (_In_ const WCHAR *url)
bool GetNextBuffer (uint8 *buffer, uint32 maxBufferSize, uint32 *bufferLength)
void ReadAll (uint8 *buffer, uint32 maxBufferSize, uint32 *bufferLength)
void Restart ()
virtual ~MediaStreamer ()
WAVEFORMATEX & GetOutputWaveFormatEx ()
UINT32 GetMaxStreamLengthInBytes ()
void Initialize (_In_ const WCHAR *url)
void ReadAll (uint8 *buffer, uint32 maxBufferSize, uint32 *bufferLength)
void Restart ()

Public Attributes

Microsoft::WRL::ComPtr
< IMFSourceReader > 
m_reader
Microsoft::WRL::ComPtr
< IMFMediaType > 
m_audioType
internal __pad1__: MediaStreamer()

Constructor & Destructor Documentation

virtual ~MediaStreamer ( )
virtual

Member Function Documentation

UINT32 GetMaxStreamLengthInBytes ( )
inline
UINT32 GetMaxStreamLengthInBytes ( )
inline
bool GetNextBuffer ( uint8 *  buffer,
uint32  maxBufferSize,
uint32 *  bufferLength 
)
WAVEFORMATEX& GetOutputWaveFormatEx ( )
inline
WAVEFORMATEX& GetOutputWaveFormatEx ( )
inline
void Initialize ( _In_ const WCHAR *  url)
void Initialize ( _In_ const WCHAR *  url)
void ReadAll ( uint8 *  buffer,
uint32  maxBufferSize,
uint32 *  bufferLength 
)
void ReadAll ( uint8 *  buffer,
uint32  maxBufferSize,
uint32 *  bufferLength 
)
void Restart ( )
void Restart ( )

Member Data Documentation

internal __pad1__
Microsoft::WRL::ComPtr
<IMFMediaType> m_audioType
Microsoft::WRL::ComPtr
<IMFSourceReader> m_reader

The documentation for this class was generated from the following files: