can this library run on android with .NET MAUI for audio conversion? #1051
-
I need to convert a bunch of file formats (mp3 opus and m4a) to a 16 kHz wav file for another library to be able to process it. if the updates that where made on this library made such conversions possible it would just be a dream come true. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
To access codecs in NAudio you either need to wrap native libraries for your plaftorm (which NAudio does not have for Android), or use fully managed codecs. For MP3, you can look at NLayer, and for opus you can look at Concentus. However, calling into native libraries is always going to be easiest. If there is any .NET FFMPEG integration that works on Android, that would likely be an easier route. |
Beta Was this translation helpful? Give feedback.
To access codecs in NAudio you either need to wrap native libraries for your plaftorm (which NAudio does not have for Android), or use fully managed codecs. For MP3, you can look at NLayer, and for opus you can look at Concentus. However, calling into native libraries is always going to be easiest. If there is any .NET FFMPEG integration that works on Android, that would likely be an easier route.