Skip to content

Commit

Permalink
fixed AcbAPI functions signature
Browse files Browse the repository at this point in the history
  • Loading branch information
mariotaku committed Sep 9, 2024
1 parent 207cda6 commit 2c6cc0d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions include/appswitching-control-block/AcbAPI.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,15 @@ long AcbAPI_create(void);

bool AcbAPI_initialize(long acbId, AcbAPI_PlayerType playerType, const char *appId, AcbAPI_Callback callback);

int AcbAPI_setMediaAudioData(long acbId, const char *payload);
bool AcbAPI_setMediaId(long acbId, const char *connId);

int AcbAPI_setMediaVideoData(long acbId, const char *payload);
bool AcbAPI_setSinkType(long acbId, AcbAPI_SinkType sinkType);

int AcbAPI_setState(long acbId, AcbAPI_AppState appState, AcbAPI_PlayState playState, long *taskId);
int AcbAPI_setMediaAudioData(long acbId, const char *payload, long *taskId);

bool AcbAPI_setMediaId(long acbId, const char *connId);
int AcbAPI_setMediaVideoData(long acbId, const char *payload, long *taskId);

bool AcbAPI_setSinkType(long acbId, AcbAPI_SinkType sinkType);
int AcbAPI_setState(long acbId, AcbAPI_AppState appState, AcbAPI_PlayState playState, long *taskId);

int AcbAPI_setDisplayWindow(long acbId, long x, long y, long w, long h, bool fullScreen, long *taskId);

Expand Down

0 comments on commit 2c6cc0d

Please sign in to comment.