From 741b4ab1bf747e86b2c0b021071e813e4b84d5f7 Mon Sep 17 00:00:00 2001 From: Stephan Sundermann Date: Sat, 6 May 2023 15:19:20 +0200 Subject: [PATCH] Update Acb enums --- include/appswitching-control-block/AcbAPI.h | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/include/appswitching-control-block/AcbAPI.h b/include/appswitching-control-block/AcbAPI.h index ad7c187..c25ced5 100644 --- a/include/appswitching-control-block/AcbAPI.h +++ b/include/appswitching-control-block/AcbAPI.h @@ -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, @@ -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 @@ -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);