winamp/Src/Plugins/Input/in_wmvdrm/output/OutPlugin.h

29 lines
571 B
C
Raw Normal View History

2024-09-24 12:54:57 +00:00
#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