Alternative from NAudio (download or stream and play audio files) for Mac and/or Linux

In Unity, I have code that uses NAudio to download or stream and play an audio file from Elevenlabs (a website). However NAudio is only Windows-friendly. What alternatives in C# can I use for Mac and/or Linux?
2 Replies
Lex Li
Lex Li4mo ago
One of them might be gstreamer and its C# binding, https://gstreamer.freedesktop.org/modules/gstreamer-sharp.html It was the foundation of once popular Banshee Media Player.
Salman Khojah
Salman Khojah4mo ago
thank you from what im getting reading these..i need to install the gstream sdk on mac then build the csharp dependencies with meson onto what exactly, the unity script itself? then do i just reference gstream in the unity scripts? also lol sorry this might be important but actually Elevenlabs (the website) has its own API that allows me to download the audio file, my issue is now just of playing the audio so gstreamer might be overkill