Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > General

Lost Password?

Thread Tools Display Modes
Old 01-15-2001, 01:56 AM
DelUS DelUS is offline
Senior Member
Join Date: Jan 2001
Posts: 105
Default Can you help me to adjust the speed of a wave file???


have a nice day.
i developed an application in which i am using TMediaplayer component for
playing a wave file.
how i can adjust the speed of a wave file?
is it work with TMediaplayer or should i use another component?
somebody told me that waveoutsetplaybackrate will change the speed.
if you have any code for this pls send it to me.
i can send to you a sample code for volume control using waveoutsetvolume
Thanks in advance
Reply With Quote
Old 01-16-2001, 02:10 AM
osamaao osamaao is offline
Join Date: Jan 2001
Posts: 94
Default RE: Can you help me to adjust the speed of a wave file???

Hi :
your question is answered about a week a go, and this is the answer again :

first look at the article :,1410,20941,00.html

Check out the following function in the mmsystem unit.


from the API help:
Changing the playback rate does not change the sample rate but does change the playback time. Not all devices support playback rate changes. To determine whether a device supports playback rate changes, use the WAVECAPS_PLAYBACKRATE flag to test the dwSupport member of the WAVEOUTCAPS structure (filled by the waveOutGetDevCaps function).

Good luck, Osama.
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump

All times are GMT. The time now is 03:18 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2019, vBulletin Solutions, Inc.