DSBCAPS_CTRLVOLUME

const directsound.DSBCAPS_CTRLVOLUME;

The buffer must have volume control capability.