This project is read-only.

NVorbisIntegration sample returns incorrect position when seeking

Dec 23, 2014 at 10:48 PM
I've started integrating vorbis support with cscore in a project. I noticed that the NVorbisIntegration sample returns incorrect position after seeking. This is caused by possible incorrect implementation of the Length() and Position() properties in the NVorbisSource class.
Having played with NAudio and NVorbis in the past, I took a look here: http://nvorbis.codeplex.com/SourceControl/latest#NAudioSupport/VorbisWaveReader.cs

After modifying the Length() and Position() properties in your NVorbisSource class to reflect those in the VorbisWaveReader.cs class above, I got a correct Position back after seeking.
Dec 27, 2014 at 9:38 AM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.