summaryrefslogtreecommitdiff
path: root/faad2/src/plugins/QCD/QCDInputDLL.h
blob: a69023bd9e08834cb0c07a95b57ce3019c683d86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
//-----------------------------------------------------------------------------
// 
// File:	QCDInputDLL.h
//
// About:	QCD Player Input module DLL interface.  For more documentation, see
//			QCDModInput.h.
//
// Authors:	Written by Paul Quinn and Richard Carlson.
//
//	QCD multimedia player application Software Development Kit Release 1.0.
//
//	Copyright (C) 1997-2002 Quinnware
//
//	This code is free.  If you redistribute it in any form, leave this notice 
//	here.
//
//	This program is distributed in the hope that it will be useful,
//	but WITHOUT ANY WARRANTY; without even the implied warranty of
//	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
//
//-----------------------------------------------------------------------------

#ifndef QCDInputDLL_H
#define QCDInputDLL_H

#include "QCDModInput.h"

extern HINSTANCE		hInstance;
extern HWND				hwndPlayer;
extern QCDModInitIn		sQCDCallbacks, *QCDCallbacks;

// Calls from the Player
int  GetMediaSupported(const char* medianame, MediaInfo *mediaInfo);
int  GetTrackExtents(const char* medianame, TrackExtents *ext, int flags);
int  GetCurrentPosition(const char* medianame, long *track, long *offset);

void SetEQ(EQInfo*);
void SetVolume(int levelleft, int levelright, int flags);

int  Play(const char* medianame, int framefrom, int frameto, int flags);
int  Pause(const char* medianame, int flags);
int  Stop(const char* medianame, int flags);
int  Eject(const char* medianame, int flags);

int  Initialize(QCDModInfo *ModInfo, int flags);
void ShutDown(int flags);
void Configure(int flags);
void About(int flags);

#endif //QCDInputDLL_H