Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How do you move a track bar while playing audio
12-09-2016, 09:18 AM
Post: #1
How do you move a track bar while playing audio
When using Delphi7 and Audiolabs ALDSAudioplayer I could find the total number of samples in a file and using Currentsample (which then gave the number of the sample between Startsample to Endsample) I could calculate where the trackbar should be moved to in the Onprogress procedure. Using Berlin,and ALLAVAudioPlayer, the value of Currentsample soon goes above Endsample so I am not sure what it is measuring - certainly not the count of samples. Samplecount gives the same value as Endsample (why?) I can find no way of finding the position reached in the file so I cannot move my trackbar. Any help would be appreciated
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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