mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 15:02:43 +02:00
libspark/audio: add mixer access methods
Origin commit data
------------------
Branch: master
Commit: 656aef8328
Author: martii <m4rtii@gmx.de>
Date: 2014-06-29 (Sun, 29 Jun 2014)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -35,6 +35,8 @@ typedef enum
|
||||
AUDIO_FMT_ADVANCED = AUDIO_FMT_MLP
|
||||
} AUDIO_FORMAT;
|
||||
|
||||
class mixerVolume;
|
||||
|
||||
class cAudio
|
||||
{
|
||||
friend class cPlayback;
|
||||
@@ -57,6 +59,11 @@ class cAudio
|
||||
|
||||
int do_mute(bool enable, bool remember);
|
||||
void setBypassMode(bool disable);
|
||||
|
||||
mixerVolume *mixerAnalog, *mixerHDMI, *mixerSPDIF;
|
||||
int volumeAnalog, volumeHDMI, volumeSPDIF;
|
||||
bool mixersMuted;
|
||||
|
||||
public:
|
||||
/* construct & destruct */
|
||||
cAudio(void *, void *, void *);
|
||||
@@ -92,7 +99,11 @@ class cAudio
|
||||
void SetSpdifDD(bool enable);
|
||||
void ScheduleMute(bool On);
|
||||
void EnableAnalogOut(bool enable);
|
||||
|
||||
void openMixers(void);
|
||||
void closeMixers(void);
|
||||
void setMixerVolume(const char *name, long value, bool remember = true);
|
||||
void muteMixers(bool m = true);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user