movieplayer: switch from define to enum in AC3_ATYPE handling

Origin commit data
------------------
Commit: e0d5f4180b
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-10-03 (Sun, 03 Oct 2021)

Origin message was:
------------------
- movieplayer: switch from define to enum in AC3_ATYPE handling
This commit is contained in:
vanhofen
2021-10-03 23:09:22 +02:00
parent f2cb67ff74
commit 2f42801f84

View File

@@ -62,11 +62,6 @@ extern "C" {
#define MAX_PLAYBACK_PIDS 40 #define MAX_PLAYBACK_PIDS 40
#endif #endif
#if HAVE_CST_HARDWARE
#define AC3_ATYPE0 0
#define AC3_ATYPE1 1
#endif
class CFrameBuffer; class CFrameBuffer;
class CMoviePlayerGui : public CMenuTarget class CMoviePlayerGui : public CMenuTarget
{ {
@@ -120,6 +115,14 @@ class CMoviePlayerGui : public CMenuTarget
int m_LastMode; int m_LastMode;
int m_ThisMode; int m_ThisMode;
#if HAVE_CST_HARDWARE
enum
{
AC3_ATYPE0 = 0,
AC3_ATYPE1 = 1
};
#endif
#ifdef ENABLE_GRAPHLCD #ifdef ENABLE_GRAPHLCD
struct tm *tm_struct; struct tm *tm_struct;
int glcd_position; int glcd_position;