I dont know what to write if i just want to play a wavefile ex. file.wav and automatically change the soundvolume from minimum to maximum.
I know how to play the file in MediaPlayer but it is the soundvolume i cant figure out.
I have found this function:
waveOutSetVolume(uDeviceID: Word; dwVolume: Longint): Word;