Windows.MainWindow.InitClient C# (CSharp) Method

InitClient() private method

private InitClient ( ) : void
return void
        private void InitClient()
        {
            try
            {
                _clientId = MicroconeAPI.InitClientConnection(_callback);
                if (_clientId > 0)
                {
                    MicroconeAPI.SetDspEnabled(_clientId, enabled: 1);
                    MicroconeAPI.SetDoStereo(_clientId, doStereo: 0);
                    MicroconeAPI.SetEnabled(_clientId, sectorEnabled: new[] { 1, 1, 1, 1, 1, 1 });
                    MicroconeAPI.SetGain(_clientId, sectorGain: new[] { 1f, 1f, 1f, 1f, 1f, 1f });
                }
            }
            catch { }
        }