[0.3.118] apply the changed api id 08/209908/2 accepted/tizen/unified/20190715.111902 submit/tizen/20190712.083315
authorEunhye Choi <eunhae1.choi@samsung.com>
Fri, 12 Jul 2019 08:06:08 +0000 (17:06 +0900)
committerEunhye Choi <eunhae1.choi@samsung.com>
Fri, 12 Jul 2019 08:11:18 +0000 (17:11 +0900)
- api id is changed by below commit :
  60e5aaac4cc8258b03ab2dd24e4dac4c6bda0689

Change-Id: I0805e45ecdf228e0e1c5925c0c3af0dc15330b48

src/player_internal.c

index 0e08614..c3ad8ed 100644 (file)
@@ -442,7 +442,7 @@ int player_set_audio_offload_enabled(player_h player, bool enabled)
 {
        PLAYER_INSTANCE_CHECK(player);
        int ret = PLAYER_ERROR_NONE;
-       muse_player_api_e api = MUSE_PLAYER_API_SET_AUDIO_OFFLOAD_ENABLED;
+       muse_player_api_e api = MUSE_PLAYER_API_AUDIO_OFFLOAD_SET_ENABLED;
        player_cli_s *pc = (player_cli_s *)player;
        char *ret_buf = NULL;
        int val = (int)enabled;
@@ -459,7 +459,7 @@ int player_is_audio_offload_enabled(player_h player, bool *enabled)
        PLAYER_INSTANCE_CHECK(player);
        PLAYER_NULL_ARG_CHECK(enabled);
        int ret = PLAYER_ERROR_NONE;
-       muse_player_api_e api = MUSE_PLAYER_API_IS_AUDIO_OFFLOAD_ENABLED;
+       muse_player_api_e api = MUSE_PLAYER_API_AUDIO_OFFLOAD_IS_ENABLED;
        player_cli_s *pc = (player_cli_s *)player;
        char *ret_buf = NULL;
        int val = -1;