[Mono-list] Best audio library for Mono?

Christopher David Howie me at chrishowie.com
Tue Apr 27 12:27:20 EDT 2010

On 04/27/2010 12:07 PM, Steve Ricketts wrote:
> It looks like there is a gstreamer-sharp binding but I can't find any
> information on how to use it.  I've posted on the GStreamer forum asking
> where I can find more information on these bindings (not really sure what a
> binding is) but no response yet.  If anyone here knows how to use it or
> where to go for information, I'd sure love to know.

My understanding is that gst-sharp is either very slow-moving or dead
altogether.  I have never seen anything more than a proof-of-concept app
that uses it.

> Regarding glue...  I was thinking that I could write a shared object library
> (.so) in c, using something like GStreamer to do the heavy lifting, and then
> call that unmanaged code from C#.  

Yup, that's exactly what Banshee does.  Do all the tricky pointer stuff
in C, and export a nice, clean set of functions for C# to consume.  If
you want to look at an example, look at the libbanshee sources in
Banshee.  Most of the consumption of this library is in the GStreamer
PlayerEngine.  (I forget where it is in the source tree, but "find
-iname gstreamer\*.cs" should locate it.)

> This will only be on Linux, so distributing GStreamer would be no problem. 
> Actually, we have a lot of control over the platforms that this would run
> on.

Ah, I misread your initial message.  I thought you wanted to run this on
Linux and Windows, but upon rereading it, it is actually quite clear
that you just want to *talk* to a Windows system from Linux.

Yeah, I would definitely go with GStreamer.  :)

Chris Howie

PGP key:

pub   2048R/CF8338F5 2010-04-14
      Fingerprint: 2B7A B280 8B12 21CC 260A  DF65 6FCE 505A CF83 38F5

More information about the Mono-list mailing list