public AnimatorClient() { try { waveOutDevice = new NAudio.Wave.DirectSoundOut(); } catch (Exception driverCreateException) { throw new InvalidOperationException("Could not initialize audio player", driverCreateException); } }