xbmc/xbmc — comment on commit 255c34cd2ed12932b3c65eb3086a803908f90d21
File: xbmc/guilib/GUIAudioManager.cpp line 77
By arnova:

You're correct. Doesn't make sense to set Mix_Volume if the mixer fails to open.