aboutsummaryrefslogtreecommitdiff
path: root/Src/Plugins/Input/in_wmvdrm/output/OutPlugin.h
blob: 10d0ead7a46efbdc6c632834fc656dae0dcee1ba (plain) (blame)
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
#ifndef NULLSOFT_OUTPLUGINH
#define NULLSOFT_OUTPLUGINH

#include "AudioOut.h"

class OutPlugin : public AudioOut
{
public:
	OutPlugin();
	void Init();
	void Quit();
	int CanWrite();
	int GetWrittenTime();
	int IsPlaying();
	int Open(int samplerate, int numchannels, int bitspersamp, int bufferlenms, int prebufferms);
	void Close();
	int Write(char *buf, int len);
	void Flush(int t);
	void SetVolume(int _volume);
	int Pause(int new_state);
	int GetOutputTime();
	void SetPan(int _pan);
	void About(HWND p);
	void Config(HWND w);
};

extern OutPlugin pluginOut;
#endif