filoe / cscore

An advanced audio library, written in C#. Provides tons of features. From playing/recording audio to decoding/encoding audio streams/files to processing audio data in realtime (e.g. applying custom effects during playback, create visualizations,...). The possibilities are nearly unlimited.
Other
2.2k stars 455 forks source link

CSCore build working on Linux #185

Open filoe opened 7 years ago

filoe commented 7 years ago

CSCore builds, working on Linux (mono).

filoe commented 7 years ago

See https://github.com/filoe/cscore/tree/linux.

peabnuts123 commented 7 years ago

So what's the status of this (and the OSX build)? There are branches for it but they aren't yet working? Seems like the Linux branch still has a whole pile of DLLimports to power the core of the project and wouldn't work on non-windows platform. I would be very interested in seeing this as I am looking for a cross-platform library to read common audio formats for a game.

How exactly does a cross-platform version of a library like this function? You have to depend on .so files or something?

filoe commented 7 years ago

Of course the linux branch does not target all features of the windows project. But there are already some features which work quite fine. Decoding some formats, play audio on your speakers, adding some filters (for example equalizer), ... There is also a working ffmpeg integration. So you can access nearly all common formats by using the ffmpeg libraries. Supporting them on linux without ffmpeg would be quite hard, because linux does not has any builtin decoders like the windows media foundation, etc.

peabnuts123 commented 7 years ago

Oh okay that is good to hear. I will have to check out the linux branch at some point and give it a good look. How does one link to ffmpeg in C# on a non-windows platform?

filoe commented 7 years ago

For further details see the Readme file within the CSCore.Ffmpeg folder.