Quantcast
Channel: naudio Work Item Rss Feed
Viewing all articles
Browse latest Browse all 738

Commented Unassigned: crashing with acm [16402]

$
0
0
it's simple code:
NAudio.Wave.WaveStream waveReader = new NAudio.Wave.Mp3FileReader(@"C:\~~.mp3");

On SuggestFormat() of AcmStream.cs:
-> MmException.Try(AcmInterop.acmFormatSuggest(IntPtr.Zero, compressedFormat, suggestedFormat, Marshal.SizeOf(suggestedFormat), AcmFormatSuggestFlags.FormatTag), "acmFormatSuggest");

this line causes crashing of application.
I think this problem's about differences between 4.0 below with 4.5, especially for marshaling or interop services. I guess so because it solved temporarily when i changed my target framework by 4.5 to 4.0.


ahh.. seems like it's related with https://naudio.codeplex.com/discussions/415247.


Comments: what codecs do you have installed on your machine?

Viewing all articles
Browse latest Browse all 738

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>