Skip to content

Commit

Permalink
Update Acb enums
Browse files Browse the repository at this point in the history
  • Loading branch information
sundermann committed May 6, 2023
1 parent 86f6347 commit 741b4ab
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions include/appswitching-control-block/AcbAPI.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ typedef void (*AcbAPI_Callback)(long acbId, long taskId, long eventType, long ap

typedef enum AcbAPI_PlayerType
{
PLAYER_TYPE_GROUP = 0L,
PLAYER_TYPE_VIDEO,
PLAYER_TYPE_VIDEO_UNMUTED_AFTER_PLAYING,
PLAYER_TYPE_GROUP = 0,
PLAYER_TYPE_VIDEO = 0,
PLAYER_TYPE_VIDEO_UNMUTED_AFTER_PLAYING = 1,
PLAYER_TYPE_AUDIO,
PLAYER_TYPE_HTML5_AUDIO,
PLAYER_TYPE_TV,
Expand All @@ -28,9 +28,8 @@ typedef enum AcbAPI_PlayerType

typedef enum AcbAPI_SinkType
{
SINK_TYPE_AUTO = 0L,
SINK_TYPE_MAIN = 1L,
SINK_TYPE_SUB = 2L,
SINK_TYPE_MAIN = 0,
SINK_TYPE_SUB = 1,
} AcbAPI_SinkType;

typedef enum AcbAPI_AppState
Expand All @@ -44,11 +43,8 @@ typedef enum AcbAPI_PlayState
{
PLAYSTATE_UNLOADED = 0,
PLAYSTATE_LOADED = 1,
PLAYSTATE_SEAMLESS_LOADED = 2,
PLAYSTATE_PLAYING = 3,
PLAYSTATE_PAUSED = 4,
PLAYSTATE_AUDIO_ONLY_PLAYING = 5,
PLAYSTATE_FROZEN = 6,
PLAYSTATE_PLAYING = 2,
PLAYSTATE_PAUSED = 3,
} AcbAPI_PlayState;

long AcbAPI_create(void);
Expand Down

0 comments on commit 741b4ab

Please sign in to comment.