mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +02:00
armbox: make open/close device public
This commit is contained in:
@@ -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); };
|
||||||
|
@@ -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; };
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user