winamp/Src/Plugins/Input/in_wmvdrm/output/OutPlugin.h
2024-09-24 14:54:57 +02:00

29 lines
571 B
C++

#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