blob: f67114d0c8dccf9a4ae43ad7292becf963a6ae92 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#pragma once
#include <stdint.h>
#include <mfidl.h>
#include <mfobjects.h>
#include <mfreadwrite.h>
#include "../Whisper/audioConstants.h"
namespace Whisper
{
HRESULT createMediaType( bool stereo, IMFMediaType** pp );
HRESULT getStreamDuration( IMFSourceReader* reader, int64_t& duration );
HRESULT validateCurrentMediaType( IMFSourceReader* reader, uint32_t expectedChannels );
struct iAudioReader;
void setPreciseSamplesCount( const iAudioReader* ar, int64_t count );
}
|