Using LibMad

Login to reply to this topic.
Thu, 2005-05-26 12:13
Joined: 2004-10-30
Forum posts: 29
Hi,
i start writing Mp3 player. i am using LibMad to convert Mp3 file to PCM format. but it is converting only one frame, not full file.
can anyone help me regarding the same?
Thanks in Advance.
Regards,
Ramakrishna.

Fri, 2005-06-10 14:36
Joined: 2005-01-08
Forum posts: 9
Re: Using LibMad
just keep call DecodeOneFrame until it returns != KErrNone
Mon, 2005-06-13 11:57
Joined: 2004-10-30
Forum posts: 29
Re: Using LibMad
Hai,
      Decodeoneframe function is not returing iam using  While(imp3Decode->DecodeOneFrame(iDatabuf))==KErrNone) this statement is not returing and going to infinite loop. And one more doubt what is the buffer size i need to pass in DecodeOneFrame function to get all decoded frames. Please reply me asap,iam eagerly waiting for your reply.


Regards
Kolla
Wed, 2005-06-15 09:57
Joined: 2004-10-30
Forum posts: 29
Re: Using LibMad
Hi,
i am able to decode into a buffer. while playing its giving some sounds. i am not able to play properly.
can anybody help me in this regard. it will be a gr8 help to me.
Regards,
Ramakrishna.
  • Login to reply to this topic.