Aug 28, 2009 at 4:24 PM
Edited Aug 29, 2009 at 1:14 PM
Edit: I think I'll just try to do this with C# instead :)
Ok, so I downloaded the latest nAudio project file, which is in C#. And i built this, which produced a dll, which was probably produced from before anyway.
Then I deleted my existing reference dll in the vb.net project and added the newly build dll.
What happens is that I can type e.g "naudio.wave" and then see all of the classes within the dll, such as "Mp3FileReader" and such.
But if I press punctuation, all I get is this:
This is the same no matter what class I try to access.
So the code fails at certain points, like accessing the "NAudio.Wave.MeteringStream.StreamVolumeEventArgs"
In the demo, this class is not in the Wave section, but I moved it there and changed the namespace to Naudio.Wave to make it easier to access.
And this seems to work just as good as the other classes in the nAudio.Wave namespace.
But the code fails with the following error message: "Type 'MeteringStream.StreamVolumeEventArgs' is not defined"
Even though I know it's there. Is this normal? I can also type "Naudio.Wave.MeteringStream" and intellisense says it's a class and all. But pressing punctiation gives the same options as stated above. I also tried to convert the c# code from the
MeteringStream.cs into VB and make it it's own vb class.
Which worked well. I can access the StreamVolumeEventArgs, no error message in Visual Studio. But building the project and trying to play something returned an error saying "Reference object is null" or something.