|
From: Harald F. <har...@we...> - 2008-12-10 22:13:29
|
> Hi Guys > > I have used the excellent C# bindings by harald fielker and can now > access some audiere calls from a WinForm application. However, I have > a strange set of requirements where I need to be able to play an MP3 > from a byte[] array. My C++ is more than a little rusty these days so > I am struggling to achieve this in the "glue" dll. > > Does anyone have a customised wrapper that provides this functionality > already or have any ideas how this would be achieved? This is possible. When I added the glue dll I was a bit lazy. Audire also have nice Callbacks for "end of sample" or "end of buffer" this also could be passed thru the C# world. The C++ stuff isn't the hard part. I have to check up the .Net Interopt docs for passing a C callback to the C# world. I know this is possible, but I never did this before. In a Win32 enviornment you can create a mixed managed/unmanaged code dll. This might be easier. I used the glue dll way to make it work with Mono, too. Also the current port lacks of a Visual Studio 2008 project file. Please send me an email if you want a specific API. -- Bye, Harald Fielker |