views:

40

answers:

2

I have a problem with different sound libaries... I use Visual Studio.NET and C#

I have programmed a small simulator with ebedded sound and want to have a audio libary which also has pause and volume control. So I tried SDL.NET and IrrKlang. Both are working, but I want to habe the simulator as a "standalone" simulator so I have to embed the audio libaries to the simulator. I tried the testversion of smartassembly, but the SDL.NET libary isn't fully integrated and with Irrklang, smartassembly said that there is nonmanaged code in the irrklang libary and it abort.

So I have multiple questions:

-Is there a simple audiolibary which I can embed easily? -Is there a, for example, .cs-file of an audio libary so I don't have to embed a .dll? -Can I change a .dll so I have mangaged code?

Thx

EDIT:

Errormessages with SmartAssembly: SDL.NET:

Tao.NET.dll and SDLdotNET.dll can be embedded, but SDL.NET (The Core) is not a valid .COM-Libary so it can't be embedded

IrrKlang:

-IrrLang.dll can be embedded, but after converting the program says that there is "non-managed" code in libary so it can't be embedded.

What can I do??

+1  A: 

Try nAudio: http://naudio.codeplex.com/, you will have full source code.

But that's a library like others.

Or maybe try to edit your question and add error messages you get

Pierre 303
A: 

Ok, got it finally to work :)

I used the irrklang.dll but I had chosen the "Depencies Merging"-Option in {smartassembly} instead of the "Depencies EMBEDDING"-Option

Now it works perfectly :)

Thx Pierre that you wanted to help me :)

Wonderwhy

Wonderwhy