Solved

FFwrd and Rewind an AudioCD...

Posted on 1997-12-30
9
376 Views
Last Modified: 2010-04-04
How can i FFwrd & Rewind an audioCD with the MediaPlayer ?

TeRReF
0
Comment
Question by:TeRReF
  • 3
  • 2
  • 2
  • +2
9 Comments
 
LVL 2

Expert Comment

by:Felixin
ID: 1354937
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
 
LVL 8

Expert Comment

by:ZifNab
ID: 1354938
TeRReF, please explain the problem a 'little' bit more.

0
 
LVL 8

Expert Comment

by:ZifNab
ID: 1354939
TeRReF, please explain the problem a 'little' bit more.

0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 3

Expert Comment

by:Matvey
ID: 1354940
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
 
LVL 1

Expert Comment

by:jackb022197
ID: 1354941
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
 
LVL 3

Expert Comment

by:Matvey
ID: 1354942
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
 
LVL 29

Author Comment

by:TeRReF
ID: 1354943
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
 
LVL 3

Accepted Solution

by:
Matvey earned 100 total points
ID: 1354944
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
 
LVL 29

Author Comment

by:TeRReF
ID: 1354945
Sorry it took a while ! Well Matvey, thanks for the tip. It solved my problem in a minute !!
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Delphi Spellcheck in Webbrowser 1 52
Strange behavior when a form is closed 6 69
Delphi...Split view - idea? 1 117
Wincontrol not (correctly) drawn 15 49
A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question