سؤال

I have to do a simple mp3 player with effect, to do this I need to wave stream for input to xaudio2, then I can add any effect I want

so I've tried SharpDx and seems that AudioDecoder class is not supported by windows phone so there's a way to add effect to mp3?

To me is not really important to decode a mp3 but I search the way to add effect, (for adding effect I need a function/method with in input raw audio data) to an mp3

can be done?

thanks

هل كانت مفيدة؟

المحلول

It is not really possible. MP3 decoding on mobile platform is usually performed directly by the hardware so you have no hook to modify the decoded stream (that's why all MediaFoundation APIs to allow this are not allowed on this platform). You could use a C++ native decoder (for example ogg) and do the streaming yourself, if this is the main purpose of your application (listening to music and applying effects), it could be feasible.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top