Note: Google BASS library, it will play any streamable audio ( wav,mp3 etc.) and there is stable .NET versions for Windows and Mac OS, so your code works in currently .NET supporting platforms ( maybe this is true for Linux yoo). Don't use Windows specific P/Invoke, because Windows maybe, say 'Blackhorn' version about 2014 (successor to Longhorn), don't support it anymore!
One source and starting point is
BASS is an audio library for use in Windows and Mac OSX software. Its purpose is to provide developers with the most powerful and efficient (yet easy to use), sample, stream (MP3, MP2, MP1, OGG, WAV ...
P.S. download Win or Mac version from top of page, then ftom Other API section .NET 1.1 or .NET 2.0 , plus any add-on of interest
|