Monodevelop + Naudio + Ubuntu Linux Tells Me Winmm.Dll Not Found

MonoDevelop + NAudio + Ubuntu Linux tells me Winmm.dll not found?

A large part of NAudio consists of interop wrappers to access Windows API calls such as waveIn/waveOut, DirectSound, WASAPI, ACM, MediaFoundation and DMO. None of these are going to work on Linux since those API methods don't exist. I suppose it might be theoretically possible for them to work on top of a Windows API emulation layer, but really it would be better to create an implementation of IWavePlayer that calls into Linux sound APIs.

There are some parts of NAudio that ought to work cross-platform, such as most of the IWaveProvider and ISampleProvider implementations. WaveFileReader perhaps ought to work, but is failing since it makes use of the mmioStringToFOURCC Windows API call. I'll be removing this dependency shortly as it is currently stopping WaveFileReader from being used in Windows Store apps as well.

Monodevelop + NAudio on Ubuntu linux tells me Expression denotes a type where method group

Taking a look at your code are you sure its not soposed to look like this?:

 WaveFileReader waveFile = new WaveFileReader("somefile.wav");

Correct me if I am wrong. Hope I helped if i'm not wrong.

MonoDevelop Custom Syntax Highlighting

on this page on the MonoDevelop Site there some explanation of how to add the syntax files.
(the xml ones)



Related Topics



Leave a reply



Submit