mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-31 17:31:22 +02:00
correctly declare AVSYNC_TYPE
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#define _AUDIO_TD_H_
|
||||
|
||||
#include <hardware/aud/aud_inf.h>
|
||||
#include "../common/cs_types.h"
|
||||
|
||||
typedef enum
|
||||
{
|
||||
@@ -78,7 +79,6 @@ class cAudio
|
||||
int Stop(void);
|
||||
bool Pause(bool Pcm = true);
|
||||
void SetStreamType(AUDIO_FORMAT type);
|
||||
#define AVSYNC_TYPE int
|
||||
void SetSyncMode(AVSYNC_TYPE Mode);
|
||||
|
||||
/* select channels */
|
||||
|
@@ -8,6 +8,7 @@ extern "C" {
|
||||
#include <sys/ioctl.h>
|
||||
#include <hardware/xp/xp_osd_user.h>
|
||||
}
|
||||
#include "../common/cs_types.h"
|
||||
#if defined DMX_FILTER_SIZE
|
||||
#undef DMX_FILTER_SIZE
|
||||
#endif
|
||||
@@ -52,7 +53,6 @@ class cDemux
|
||||
int Read(unsigned char *buff, int len, int Timeout = 0);
|
||||
bool sectionFilter(unsigned short pid, const unsigned char * const filter, const unsigned char * const mask, int len, int Timeout = 0, const unsigned char * const negmask = NULL);
|
||||
bool pesFilter(const unsigned short pid);
|
||||
#define AVSYNC_TYPE int
|
||||
void SetSyncMode(AVSYNC_TYPE mode);
|
||||
void * getBuffer();
|
||||
void * getChannel();
|
||||
|
@@ -4,7 +4,7 @@
|
||||
#include <hardware/vid/vid_inf.h>
|
||||
#define video_format_t vidDispSize_t
|
||||
//#define video_displayformat_t vidDispMode_t
|
||||
|
||||
#include "../common/cs_types.h"
|
||||
|
||||
typedef enum {
|
||||
ANALOG_SD_RGB_SCART = 0x00,
|
||||
@@ -165,7 +165,6 @@ class cVideo
|
||||
/* set video_system */
|
||||
int SetVideoSystem(int video_system, bool remember = true);
|
||||
int SetStreamType(VIDEO_FORMAT type);
|
||||
#define AVSYNC_TYPE int
|
||||
void SetSyncMode(AVSYNC_TYPE mode);
|
||||
bool SetCECMode(VIDEO_HDMI_CEC_MODE) { return true; };
|
||||
void SetCECAutoView(bool) { return; };
|
||||
|
Reference in New Issue
Block a user