PDA

View Full Version : Sound Volume



cairnswm
31-03-2004, 05:02 AM
Does anyone know how to change the sound volume for the DXSound component? Sound On/Off is easy enough but I now need to do volume control as well.

Useless Hacker
31-03-2004, 11:15 PM
I'm pretty sure there is a Volume property on either the the DXSound component itself or the Channel object that is returned when you call the Play method. Unfortunately I don't have DelphiX on this PC, so I can't check how it is exactly, but it is in the documentation.

cairnswm
01-04-2004, 05:21 AM
Yes! Thanks - The TDXWaveCollectionItem has a volume property - I was always looking in the worng place.