Exemplo n.º 1
0
 /// <summary>
 /// Create a new <see cref="AudioOutputSystem"/>.
 /// </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 output</param>
 public AudioOutputSystem(AudioOutputManager manager, object parentLock, IHardwareDeviceSession deviceSession, IWritableEvent bufferEvent)
 {
     _manager    = manager;
     _parentLock = parentLock;
     _session    = new AudioDeviceSession(deviceSession, bufferEvent);
 }
Exemplo n.º 2
0
 public AudioOutManager(AudioOutManagerImpl impl)
 {
     _impl = impl;
 }