From 6b2bb1d79b428331526f40fa4093fb1d229ca88a Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Sun, 19 Jul 2009 20:56:49 +0000 Subject: [PATCH] Updated to use latest AudioCapture / AudioContext APIs. --- Source/Examples/OpenAL/Test/OpenALDiagnostics.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Source/Examples/OpenAL/Test/OpenALDiagnostics.cs b/Source/Examples/OpenAL/Test/OpenALDiagnostics.cs index 4d7e2844..39e8d5c1 100644 --- a/Source/Examples/OpenAL/Test/OpenALDiagnostics.cs +++ b/Source/Examples/OpenAL/Test/OpenALDiagnostics.cs @@ -36,7 +36,6 @@ using OpenTK.Audio; namespace Examples { - /// /// A text-based diagnosis program for OpenAL. /// The constructors will call the OpenAL commands, the Print() methods just show the information. @@ -263,7 +262,7 @@ namespace Examples { Trace.WriteLine("--- AL related errors ---"); - DeviceName = ac.CurrentDeviceName; + DeviceName = ac.CurrentDevice; ExtensionString = AL.Get(ALGetString.Extensions); Renderer = AL.Get(ALGetString.Renderer); @@ -533,7 +532,7 @@ namespace Examples return; } IsDeviceAvailable = true; - DeviceName = r.CurrentDeviceName; + DeviceName = r.CurrentDevice; CheckRecorderError("Alc.CaptureOpenDevice"); r.Start();