Good Morning,
I was very excited to stumble across Lazarus several days ago. I was a big fan of Delphi... using every version from 1 to 6. It's been a while, so I'm a bit rusty, but it is coming back.
I am working on a project that works similarly to transcription software - a user listens to audio files and controls the playback using a foot pedal (USB Infinity brand).
My Question:
I miss the multimedia control from Delphi. I have spent quite a bit of time learning how to play the audio files. I have looked at acs, uos, audorra and bass. I didn't have any success installing any of them, so I moved on to using windows api functions. (I am not concerned about portability and I'm not concerned about what file type I use for the audio file)
I was able to use the mciSendCommand function. With it, I have been able to perform the functions: play, pause, stop, determine length, determine position, set volume and determine volume.
I would like to be able to play the file backwards (from the current position) so that the user can easily reset the position to re-listen to a portion of the file. I would also like to be able to speed up and slow down the rate of play to help the user 'scrub' to a position.
I haven't been able to find out how to do this (or if its possible) with the mciSendCommand function. The functionality seems to be available for some video types, but not indicated in the documentation for audio files. If anyone has some input, I would really appreciate it. In addition, if you have an alternative suggestion for how to play the files, I would appreciate hearing it.
Thank you,
David