Updated to use latest AudioCapture / AudioContext APIs.

This commit is contained in:
the_fiddler 2009-07-19 20:56:49 +00:00
parent 70a9d8f35e
commit 6b2bb1d79b

View file

@ -36,7 +36,6 @@ using OpenTK.Audio;
namespace Examples
{
/// <summary>
/// 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();