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

Edited Unassigned: performance degradation at WaveFileWriter.Write () [16473]

$
0
0
naudio 1.7.3, WaveFileWriter class,
method override void Write(byte[] data, int offset, int count)
if (outStream.Length + count > UInt32.MaxValue)
throw new ArgumentException("WAV file too large", "count");
this causes drammatical performance degradation (checking stream length) for byte by byte writing, especially when output stream is located at network location.
Someone who uses Write() shall be conscious of file system limitations, IMHO this is not good place to do this, it should be before use of Write() method

Viewing all articles
Browse latest Browse all 738

Trending Articles



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