mirror of
https://github.com/WinampDesktop/winamp.git
synced 2024-09-24 15:54:12 +00:00
25 lines
375 B
C
25 lines
375 B
C
|
#ifndef NULLSOFT_LINEINH
|
||
|
#define NULLSOFT_LINEINH
|
||
|
|
||
|
class LineIn
|
||
|
{
|
||
|
public:
|
||
|
LineIn() : posinms(0), paused(false)
|
||
|
{}
|
||
|
int Play();
|
||
|
void Stop();
|
||
|
void Pause();
|
||
|
void Unpause();
|
||
|
int GetLength();
|
||
|
int GetOutputTime();
|
||
|
bool IsPaused() { return paused; }
|
||
|
void SetOutputTime(int time_in_ms)
|
||
|
{}
|
||
|
void SetVolume(int a_v, int a_p)
|
||
|
{}
|
||
|
private:
|
||
|
int posinms;
|
||
|
bool paused;
|
||
|
};
|
||
|
|
||
|
#endif
|