Пример #1
0
        // Constructor
        public MAudioRenderer(MAudioRendererProperties properties)
        {
            this.properties = properties;

            mediaControl = SystemMediaTransportControls.GetForCurrentView();

            client              = new M.MAudioClient();
            client.Activated   += client_Activated;
            client.BufferReady += client_BufferReady;
        }
Пример #2
0
 // Constructor
 public MAudioCapturer()
 {
     client              = new M.MAudioClient();
     client.Activated   += client_Activated;
     client.BufferReady += client_BufferReady;
 }