Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
trying to play a specific part of an .ogg file
01-11-2012, 12:02 AM
Post: #1
trying to play a specific part of an .ogg file
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.

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?
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)