armbox: make open/close device public

This commit is contained in:
TangoCash
2017-10-06 21:57:04 +02:00
parent 36e2ff6d68
commit 6367dfc13f
2 changed files with 6 additions and 6 deletions

View File

@@ -54,9 +54,6 @@ class cAudio
int volume; int volume;
void openDevice(void);
void closeDevice(void);
int do_mute(bool enable, bool remember); int do_mute(bool enable, bool remember);
void setBypassMode(bool disable); void setBypassMode(bool disable);
@@ -69,6 +66,9 @@ class cAudio
cAudio(void *, void *, void *); cAudio(void *, void *, void *);
~cAudio(void); ~cAudio(void);
void openDevice(void);
void closeDevice(void);
void *GetHandle() { return NULL; }; void *GetHandle() { return NULL; };
/* shut up */ /* shut up */
int mute(bool remember = true) { return do_mute(true, remember); }; int mute(bool remember = true) { return do_mute(true, remember); };

View File

@@ -158,14 +158,14 @@ class cVideo
int64_t GetPTS(void); int64_t GetPTS(void);
int brightness, contrast, saturation, hue; int brightness, contrast, saturation, hue;
void openDevice(void);
void closeDevice(void);
public: public:
/* constructor & destructor */ /* constructor & destructor */
cVideo(int mode, void *, void *, unsigned int unit = 0); cVideo(int mode, void *, void *, unsigned int unit = 0);
~cVideo(void); ~cVideo(void);
void openDevice(void);
void closeDevice(void);
void * GetTVEnc() { return NULL; }; void * GetTVEnc() { return NULL; };
void * GetTVEncSD() { return NULL; }; void * GetTVEncSD() { return NULL; };