Initial community commit
This commit is contained in:
parent
537bcbc862
commit
fc06254474
16440 changed files with 4239995 additions and 2 deletions
30
Src/Plugins/Input/in_wmvdrm/ExtendedRead.h
Normal file
30
Src/Plugins/Input/in_wmvdrm/ExtendedRead.h
Normal file
|
@ -0,0 +1,30 @@
|
|||
#ifndef NULLSOFT_IN_WMVDRM_EXTENDEDREAD_H
|
||||
#define NULLSOFT_IN_WMVDRM_EXTENDEDREAD_H
|
||||
|
||||
#include "AudioFormat.h"
|
||||
#include "../Agave/DecodeFile/ifc_audiostream.h"
|
||||
#include "main.h"
|
||||
|
||||
struct ExtendedReadStruct : public AudioFormat, public ifc_audiostream
|
||||
{
|
||||
public:
|
||||
ExtendedReadStruct();
|
||||
ExtendedReadStruct(IWMSyncReader *_reader);
|
||||
~ExtendedReadStruct();
|
||||
|
||||
bool Open(const wchar_t *filename);
|
||||
bool FindOutput(int bits, int channels);
|
||||
size_t ReadAudio(void *buffer, size_t sizeBytes);
|
||||
|
||||
IWMSyncReader *reader;
|
||||
WORD streamNum;
|
||||
|
||||
INSSBuffer *buffer;
|
||||
size_t bufferUsed;
|
||||
bool endOfFile;
|
||||
QWORD length;
|
||||
protected:
|
||||
RECVS_DISPATCH;
|
||||
};
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue