private static bool _CreateDirectSound(out IWavePlayer Player) { try { Player = new DirectSoundOut(); return true; } catch { Player = null; return false; } }