Store volume in logarithmic scale and convert when setting it to audio (fixes #1543)