AnsweredAssumed Answered

Issue in extracting the metadata information from audio file

Question asked by srinivasan shanmugam on Feb 24, 2014
Latest reply on Apr 15, 2014 by srinivasan shanmugam

Dear Technical Support Team,

 

 

Am using L2.6.35_1.1.0_130130_source, I have a c-application as shown below and I like to read metadata from any audio file,

 

Am facing the one metadata issue, ie., if the song that does not contain any metadata is played , it shows the metadata contents of the previous song played, instead of showing no metadata.

 

Could you please kindly do the needful as early as possible in resolving the above issue i.e, if the song doesn't contains any metadata it should show empty tags instead of showing metadata contents of the previous songs played

 

Could you please let us know if there any other fsl apis that decides whether the audio file contains metadata information or not

 

getmetadat()

{

 

      fsl_player_metadata metadata;

 

      memset(&metadata,0,sizeof(fsl_player_metadata));

 

      pplayer->klass->get_property(pplayer, FSL_PLAYER_PROPERTY_METADATA, (void*)(&metadata));

 

                                                                                                           

                                         pplayer->klass->get_property(pplayer, FSL_PLAYER_PROPERTY_DURATION, (void*)(&totalDuration));

 

                                         pplayer->klass->get_property(pplayer, FSL_PLAYER_PROPERTY_ELAPSED, (void*)(&elapsedDuration));

 

}                             

 

 

Awaiting for your replies,

As am stuck with this issue from many days, please do the needful as early as possible,

 

 

Thanks in advance again   

Outcomes