bullyellis
01-11-2012, 12:02 AM
I am trying to play a specific part of an .ogg file. Here is my relevant code. As I understand it, the .ogg file should start playing in the middle, unfortunately it starts at the beginning. So it is either a bug or I am using the library incorrectly.
Should the code be changed in anyway?
Code:
//.ogg file is 163 samples
oggPlayer1.PlaySegment.StartSample = 80;
oggPlayer1.PlaySegment.StopSample = 163;
oggPlayer1.PlaySegment.Enabled = true;
oggPlayer1.Start();
Should the code be changed in anyway?