|
|
|
#1
|
||||
|
||||
|
Quote:
Code:
procedure Trackbar1OnChange(Sender: TObject); begin MusicObj.SetVolume(Round(Trackbar_Regular.GetValue)); end; but why? Code:
IXBass : procedure SetVolume(Const Vol: Integer); FTrackBar : function GetValue: Single; |
| The Following User Says Thank You to BLACKFIRE69 For This Useful Post: | ||
audiofeel (04-03-2023) | ||
| Sponsored Links |
|
#2
|
||||
|
||||
|
Quote:
yes, volume control is neither gradual nor smooth. i agree. the volume range is (-10,000 to 0). DSBVOLUME_MAX := 0; DSBVOLUME_MIN := -10,000 For More Info i don't know how to do smooth control tho. what i'm doing is simply just set the value as below. ![]() Code:
Vol := (InputVolPct - 100) * 100; DirectSoundBuffer.SetVolume(Vol) if anyone knows a better way let me know. |
| The Following 2 Users Say Thank You to BLACKFIRE69 For This Useful Post: | ||
audiofeel (05-03-2023), Behnam2018 (02-01-2025) | ||
|
#3
|
||||
|
||||
|
Quote:
I hope it helps you! |
| The Following User Says Thank You to Cesar82 For This Useful Post: | ||
audiofeel (05-03-2023) | ||
|
#4
|
||||
|
||||
|
Quote:
this could work.. FMXInno Updates: Code:
What's new: * Updated Music Plugin. * Updated Skia. - Skia Graphic Library v107.0.0 --> v107.1.1 - sk4d.dll v4.0.2 --> v4.1.1 * Compiled in RadStudio 11.3. . Last edited by BLACKFIRE69; 14-07-2024 at 01:50. |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Windows Fluent Effects Standalone API - InnoSetup / VCL / FXM | BLACKFIRE69 | Conversion Tutorials | 0 | 15-11-2023 17:35 |
| Windows Phone Installer similar to razor12911's original design? | Kitsune1982 | Conversion Tutorials | 0 | 02-07-2020 13:04 |
| INDEX - Conversion Tutorial Index | Razor12911 | Conversion Tutorials | 5 | 11-06-2020 02:05 |
| Frequently Asked Questions | Joe Forster/STA | PC Games - Frequently Asked Questions | 0 | 29-11-2005 09:48 |