Link to home
Start Free TrialLog in
Avatar of TeRReF
TeRReFFlag for Netherlands

asked on

FFwrd and Rewind an AudioCD...

How can i FFwrd & Rewind an audioCD with the MediaPlayer ?

TeRReF
Avatar of Felixin
Felixin

It is not enough with the Next, Prev, Step and Back boutons/procedures of the TMediaPlayer?

I don't know if I understood your problem.
TeRReF, please explain the problem a 'little' bit more.

TeRReF, please explain the problem a 'little' bit more.

You just can't - The Step and Back methods aren't in the CDAudio device capabilities.
For that just adjust the current position (there is an example how to do it)

Good luck,
Matvey
Matvey: You're wrong. It *can* be done by changing the TMediaPlayer.Position.
Example:
  TMediaPlayer.Pause;
  TMediaPlayer.Position := TMediaPlayer.Position + 10000;
  TMediaPlayer.Resume;

This will FF the audio CD 10 secs.
That's exatly what I said - TeRReF, "For that just adjust the current position..."
I just said that he cant use the methods for this purpose.

Sorry if you got me wrong.

Matvey
Avatar of TeRReF

ASKER

Sorry guys, manipulating the MediaPlayer.Position is not the problem. My real problem is this; I use SpeedButtons as MediaPlayer controls, but how can i repeat the FFwrd & Rewind Procedure while the corresponding SpeedButtons are down so i can FFwrd & Rewind until I release the buttons ? I hope this is a better explaination of my problen.

TeRReF
ASKER CERTIFIED SOLUTION
Avatar of Matvey
Matvey

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of TeRReF

ASKER

Sorry it took a while ! Well Matvey, thanks for the tip. It solved my problem in a minute !!