Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 381
  • 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
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

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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