Пример #1
0
 /// <summary>
 /// Create a new <see cref="AudioInputSystem"/>.
 /// </summary>
 /// <param name="manager">The manager instance</param>
 /// <param name="parentLock">The lock of the manager</param>
 /// <param name="deviceSession">The hardware device session</param>
 /// <param name="bufferEvent">The buffer release event of the audio input</param>
 public AudioInputSystem(AudioInputManager manager, object parentLock, IHardwareDeviceSession deviceSession, IWritableEvent bufferEvent)
 {
     _manager    = manager;
     _parentLock = parentLock;
     _session    = new AudioDeviceSession(deviceSession, bufferEvent);
 }
Пример #2
0
 public AudioInManager(AudioInManagerImpl impl)
 {
     _impl = impl;
 }