You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MusicSharp currently isn't cross-platform, but the player class is loosely coupled to the cross-platform GUI by using Dependency Injection (DI). Currently, the GUI class injects the Winplayer class through constructor injection to handle audio processing via the Windows-only NAudio library.
Conceivably, one could write a Linux or MacOS player class which conforms to the IPlayer interface using a cross-platform C# audio library such as Bassoon.
The text was updated successfully, but these errors were encountered:
I tried to use Bassoon for the Linux version, but the problem is this:
libsndfile doesn't support MP3 reading (due to patent concerns), so it isn't supported at the moment. It should be added soon enough to Bassoon
IIRC, the patents did expire, so it's possible that MP3 decoding may be added to libsndfile in the near future.
MusicSharp currently isn't cross-platform, but the player class is loosely coupled to the cross-platform GUI by using Dependency Injection (DI). Currently, the GUI class injects the Winplayer class through constructor injection to handle audio processing via the Windows-only NAudio library.
Conceivably, one could write a Linux or MacOS player class which conforms to the IPlayer interface using a cross-platform C# audio library such as Bassoon.
The text was updated successfully, but these errors were encountered: