mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +02:00
- unify defines in header files
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
/* public header file */
|
||||
|
||||
#ifndef _AUDIO_TD_H_
|
||||
#define _AUDIO_TD_H_
|
||||
#ifndef __AUDIO_LIB_H__
|
||||
#define __AUDIO_LIB_H__
|
||||
|
||||
#include "cs_types.h"
|
||||
|
||||
typedef enum
|
||||
@@ -106,4 +107,4 @@ class cAudio
|
||||
void muteMixers(bool m = true);
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // __AUDIO_LIB_H__
|
||||
|
@@ -19,6 +19,7 @@
|
||||
|
||||
#ifndef __AUDIO_MIXER_H__
|
||||
#define __AUDIO_MIXER_H__
|
||||
|
||||
#include <alsa/asoundlib.h>
|
||||
|
||||
class mixerVolume
|
||||
@@ -32,5 +33,5 @@ class mixerVolume
|
||||
~mixerVolume(void);
|
||||
bool setVolume(long volume);
|
||||
};
|
||||
#endif
|
||||
|
||||
#endif // __AUDIO_MIXER_H__
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#ifndef __HAL_PLAYBACK_H
|
||||
#define __HAL_PLAYBACK_H
|
||||
#ifndef __PLAYBACK_LIBEPLAYER3_H__
|
||||
#define __PLAYBACK_LIBEPLAYER3_H__
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -89,4 +89,5 @@ class cPlayback
|
||||
void DMNotify(int Event, void *pTsBuf, void *Tag);
|
||||
#endif
|
||||
};
|
||||
#endif
|
||||
|
||||
#endif // __PLAYBACK_LIBEPLAYER3_H__
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#ifndef __record_hal__
|
||||
#define __record_hal__
|
||||
#ifndef __RECORD_LIB_H__
|
||||
#define __RECORD_LIB_H__
|
||||
|
||||
#include <semaphore.h>
|
||||
#include "dmx_hal.h"
|
||||
@@ -53,4 +53,5 @@ class cRecord
|
||||
void RecordThread();
|
||||
void WriterThread();
|
||||
};
|
||||
#endif
|
||||
|
||||
#endif // __RECORD_LIB_H__
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#ifndef _VIDEO_LIB_H
|
||||
#define _VIDEO_LIB_H
|
||||
#ifndef __VIDEO_LIB_H__
|
||||
#define __VIDEO_LIB_H__
|
||||
|
||||
#include <linux/dvb/video.h>
|
||||
#include "cs_types.h"
|
||||
@@ -219,4 +219,4 @@ class cVideo
|
||||
bool GetScreenImage(unsigned char * &data, int &xres, int &yres, bool get_video = true, bool get_osd = false, bool scale_to_video = false);
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // __VIDEO_LIB_H__
|
||||
|
Reference in New Issue
Block a user