Don't crash from a NULL device.
More robust OpenSL backend