Forums

Full Version: How do you move a track bar while playing audio
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
Reference URL's