Create a rudimentary C# example using DX11 for rendering and XAudio2 for sound (through SlimDX). The player is hacky due to what seems to be issues with either the implementation or documentation of XAudio2 and/or SlimDX' intergration of it.
31 lines
1.0 KiB
C#
31 lines
1.0 KiB
C#
//------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// This code was generated by a tool.
|
|
// Runtime Version:2.0.50727.4206
|
|
//
|
|
// Changes to this file may cause incorrect behavior and will be lost if
|
|
// the code is regenerated.
|
|
// </auto-generated>
|
|
//------------------------------------------------------------------------------
|
|
|
|
namespace example.Properties
|
|
{
|
|
|
|
|
|
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "9.0.0.0")]
|
|
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
|
|
{
|
|
|
|
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
|
|
|
public static Settings Default
|
|
{
|
|
get
|
|
{
|
|
return defaultInstance;
|
|
}
|
|
}
|
|
}
|
|
}
|