delphi - How to change the volume of Tmediaplayer using a trackbar -
i new delphi 2010. using tmediaplayer play wma files in loop. want change volume of tmediaplayer. googled ways al seem difficult. there easy ways change volume using trackbar. suggestions on start ?
the vcl version of tmediaplayer
not provide kind of volume control. have resort direct mci commands, such setaudio
command (left|right) volume set <factor>
flag. deviceid
property tell device identifier can send commands while player active.
the fmx version of tmediaplayer
has volume
property. firemonkey introduced in xe2 though, d2010 not have it.
Comments
Post a Comment