This project has moved. For the latest updates, please go here.
2

Closed

Mp3FileReader ReadNextFrame supposed to increment position?

description

I believe in 1.7.3 on nuget, ReadNextFrame results in Position and CurrentTime increasing.

After the below commit, this looks like it's no longer the case. Is that a bug?

https://github.com/naudio/NAudio/commit/1dbc29cdb539cbed794f7daec803bf10f431022f
Closed Jan 31 at 7:11 PM by markheath
have fixed this one now in latest code on GitHub

comments

markheath wrote Oct 19, 2015 at 3:38 PM

Position (and CurrentTime) is intended to work in conjunction with Read - they are both part of the WaveStream interface. But ReadNextFrame is just a low-level way to get the next MP3 frame, and so it's not expected you are using these other properties. But I agree it would be nice to fix this up if its not too difficult.