Audio Player issue: player_create cause APP crash

Audio Player issue: player_create cause APP crash

BY 18 Mar 2015 Native Application Development

Hi,

When I use player_create function to create a audio object, my app was crashed and exit, is there anybody face this issue? how to resolve it?

below is code snipet:

 

typedef struct appdata {
 Evas_Object *win;
 Evas_Object *conform;
 Evas_Object *label;
 player_h player;
 Evas_Object *btn_audio;
 Evas_Object *btn_video;
} appdata_s;

……

static void init_base_player(appdata_s *ad)
{
   
 dlog_print(DLOG_ERROR, LOG_TAG, “init_base_player “);
 int error_code = 0;
 error_code = player_create(&ad->player);
 dlog_print(DLOG_ERROR, LOG_TAG, “player_create”);

…..

in log can see the init_base_player, but no player_create found and APP exit here

thanks

Written by