Maybe a stupid question but can the WaveViewer control display 24 bit wav files ?
I am doing this:
WaveViewer1.SamplesPerPixel = 400
Dim fr = New NAudio.Wave.WaveFileReader(filename)
WaveViewer1.WaveStream = fr
If filename is a file with 16bit depth (or lower), everything works fine. If the file is above 16bit, I think that the values becomes too big and verticaly the whole control is drawn.
Any help?
Comments: No, 24 bit support is not in there at the moment. To be honest, the WaveViewer is likely to be removed, and the examples in the demo applications should be used in preference
I am doing this:
WaveViewer1.SamplesPerPixel = 400
Dim fr = New NAudio.Wave.WaveFileReader(filename)
WaveViewer1.WaveStream = fr
If filename is a file with 16bit depth (or lower), everything works fine. If the file is above 16bit, I think that the values becomes too big and verticaly the whole control is drawn.
Any help?
Comments: No, 24 bit support is not in there at the moment. To be honest, the WaveViewer is likely to be removed, and the examples in the demo applications should be used in preference