It's better to use `UNIT GetVolume() const;` and `void SetVolume(UNIT volume);`.