Solved

FFwrd and Rewind an AudioCD...

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

TeRReF
0
Comment
Question by:TeRReF
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Technology Partners: 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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.

Question has a verified solution.

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

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…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

724 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