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

Commented Unassigned: Set channel [16460]

$
0
0
Hello, I'm read mp3 file by such procedure:
```
NAudio.Wave.Mp3FileReader reader = new NAudio.Wave.Mp3FileReader(chooseMp3file.FileName, wf => new NAudio.FileFormats.Mp3.DmoMp3FrameDecompressor(wf));
Stream wavestream = new NAudio.Wave.Mp3FileReader(chooseMp3file.FileName);
bytesRead1 = wavestream.Read(Buffer, 0, intLenght);
```
but file have two channels. How do i can set certain channel (first or second) for read operation?
Comments: take a look at the stereo to mono converters in NAudio to do this, allowing you to mix left and right, or just pick one channel

Viewing all articles
Browse latest Browse all 738

Trending Articles



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