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
Exception from Hresult: 0X80040013: When Integrating R with C#:
Multiple SQL Statements in One Roundtrip Using Dapper.Net
How to Write My C++ Function So I Can Call It from C#
Are Java and C# Regular Expressions Compatible
How to Call R Functions from C# and Retrieve The Result in C#
ASP.NET Core Disable Authentication in Development Environment
How to Consume a Blazor Component as a Web Component Within a Regular Non-Blazor HTML Page
Convert Utc Datetime to Another Time Zone
How to Call a .Net Assembly from C/C++
Using R.Net.Community in .Net Core 2.0 Preview 1
Best Practice: Direct SQL Access VS. Web Service
Download a File from Azure Devops Server Writes Wrong Data to The File
Mailmessage C# - How to Make It HTML and Add Images etc
How to Ask The Socket to Wait for More Data to Come
Signalr Owin Self-Host on Linux/Mono Socketexception When Clients Lose Connection