Solved

FFwrd and Rewind an AudioCD...

Posted on 1997-12-30
9
368 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
 
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
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 
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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

757 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now