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.
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.
William Cairns
My Games: http://www.cairnsgames.co.za (Currently very inactive)
MyOnline Games: http://TheGameDeveloper.co.za (Currently very inactive)
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.
[size=10px][ Join us in #pgd on irc.freenode.net ] [ Sign the Petition for a Software Patent Free Europe ][/size]
Yes! Thanks - The TDXWaveCollectionItem has a volume property - I was always looking in the worng place.
William Cairns
My Games: http://www.cairnsgames.co.za (Currently very inactive)
MyOnline Games: http://TheGameDeveloper.co.za (Currently very inactive)
Bookmarks