Пример #1
0
        public static void StartAudio()
        {
            lock (_lock)
            {
                // Initialize transport
                transportController = new BackEndTransport(); // local

                // Initialize audio controller
                audioController = new BackEndAudio();

                // Set the transport for audio
                audioController.SetTransport(transportController);

                audioController.Start();
            }
        }
Пример #2
0
        public static void StartAudio()
        {
            lock (_lock)
            {
                // Initialize transport
                transportController = new BackEndTransport(); // local

                // Initialize audio controller
                audioController = new BackEndAudio();

                // Set the transport for audio
                audioController.SetTransport(transportController);

                audioController.Start();
            }
        }