player: rework audio device access