Gopinath Perumal
Gopinath Perumal

Reputation: 2328

How to convert an wav file to mp3 file in windows phone?(Details Inside)

I've searched for 2 days and I'm not getting how to convert the recorded wav file to an mp3 file; seen many questions even on stack overflow itself but no one gave the solution.

We can't execute System.Diagnostics.Process in Windows Phone.

there are many encoders like Lame, NAudio and so on; but don't know how to use that. .

recently I found example in codeproject named "mp3 Compressor", I tried use those classes but now i'm getting the below error,

enter image description here

Somebody please tell me how to achieve it. .

Upvotes: 1

Views: 669

Answers (1)

Alex Pollan
Alex Pollan

Reputation: 873

Why are you trying to do that? I'm afraid you can't and mustn't do that. at least with tools like those ones you mention. Note, for example, that Zune transform a media before transfering it to the devices. As an idea, you could upload your file to a service online and make the conversion there. It's more difficult of course and providing you have a host you can use.

Upvotes: 1

Related Questions