• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 383
  • Last Modified:

FFwrd and Rewind an AudioCD...

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

TeRReF
0
TeRReF
Asked:
TeRReF
  • 3
  • 2
  • 2
  • +2
1 Solution
 
FelixinCommented:
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.
0
 
ZifNabCommented:
TeRReF, please explain the problem a 'little' bit more.

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

0
Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

 
MatveyCommented:
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
0
 
jackb022197Commented:
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.
0
 
MatveyCommented:
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
0
 
TeRReFAuthor Commented:
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
0
 
MatveyCommented:
Well, if that's your problem than you can use a freeware component like a speedbutton, but that is repeating the OnClick event every period of time, and as a reaction to the event you can adjust the position more and more.

You can find this control in http://web.access.net.au/%7Egchandle/
In the programming topic there is a "grabbag" for download that includes this component.

Good luck,
Matvey
0
 
TeRReFAuthor Commented:
Sorry it took a while ! Well Matvey, thanks for the tip. It solved my problem in a minute !!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Windows 7 Basic

This introductory course to Windows 7 environment will teach you about working with the Windows operating system. You will learn about basic functions including start menu; the desktop; managing files, folders, and libraries.

  • 3
  • 2
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now