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

View File

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