From 20d28e80a5c861a9d5f449ea911ab75b4f37ad0d Mon Sep 17 00:00:00 2001 From: Jef Date: Tue, 24 Sep 2024 14:54:57 +0200 Subject: Initial community commit --- Src/Plugins/Input/in_linein/LineIn.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Src/Plugins/Input/in_linein/LineIn.h (limited to 'Src/Plugins/Input/in_linein/LineIn.h') diff --git a/Src/Plugins/Input/in_linein/LineIn.h b/Src/Plugins/Input/in_linein/LineIn.h new file mode 100644 index 00000000..febf7934 --- /dev/null +++ b/Src/Plugins/Input/in_linein/LineIn.h @@ -0,0 +1,25 @@ +#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 \ No newline at end of file -- cgit