Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > General

Lost Password?

Reply
 
Thread Tools Display Modes
  #1  
Old 01-09-2001, 10:06 PM
DelUS DelUS is offline
Senior Member
 
Join Date: Jan 2001
Posts: 105
Default nobody can help me to adjust the speed of a wave file??????????

Hi All,

i developed an application, in which it is using TMediaplayer component for playing the wave files.
i have to adjust the speed of that wave file.
is it possible by using TMediaplayer or should i use any other component.
Please help me

Thanks in advance

Joemon
Reply With Quote
  #2  
Old 01-09-2001, 11:13 PM
douglas douglas is offline
Senior Member
 
Join Date: Jul 2001
Posts: 7,695
Default RE: nobody can help me to adjust the speed of a wave file??????????

Your only option I would suggest is DirectSound.

See this article:

http://community.borland.com/article/0,1410,20941,00.html

You can do it without DirectSound, but it is much more complicated.

Check out the following functions in the mmsystem unit.

waveOutSetPlaybackRate

This is what the remarks are in the help file.

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).

This is the best I can help you with.
Reply With Quote
Reply

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 02:56 PM.


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