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

Commented Unassigned: NAudio does not check the .CanSeek Property of Stream [16403]

$
0
0
I am trying to use NAudio for the resampling of pcm data.
For that i use a custom stream class as input to a "RawSourceWaveStream" and feed that to a "WaveFormatConversionStream".
NAudio tries to read the .Length property of my stream, which is not supported.
The .CanSeek property of my stream is correctly set to false.

I installed NAudio via nuget, the version is "1.7-alpha06".

Thanks,
Lukas
Comments: WaveFormatConversionStream was designed with seekable input in mind. I tend to go a layer underneath and use AcmConversionStream directly myself. If WaveFormatConversionStream gets a revamp in the future I might revisit this.

Viewing all articles
Browse latest Browse all 738

Trending Articles



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