Ian Burgmyer
7 years ago
6 changed files with 143 additions and 0 deletions
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?> |
||||
<configuration> |
||||
<startup> |
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6" /> |
||||
</startup> |
||||
</configuration> |
@ -0,0 +1,8 @@
|
||||
namespace Sample.Audio { |
||||
class Program { |
||||
static void Main(string[] args) { |
||||
var window = new Window(512, 256); |
||||
window.Start(500, 16); |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,36 @@
|
||||
using System.Reflection; |
||||
using System.Runtime.CompilerServices; |
||||
using System.Runtime.InteropServices; |
||||
|
||||
// General Information about an assembly is controlled through the following |
||||
// set of attributes. Change these attribute values to modify the information |
||||
// associated with an assembly. |
||||
[assembly: AssemblyTitle("Sample.Audio")] |
||||
[assembly: AssemblyDescription("")] |
||||
[assembly: AssemblyConfiguration("")] |
||||
[assembly: AssemblyCompany("")] |
||||
[assembly: AssemblyProduct("Sample.Audio")] |
||||
[assembly: AssemblyCopyright("Copyright © 2017")] |
||||
[assembly: AssemblyTrademark("")] |
||||
[assembly: AssemblyCulture("")] |
||||
|
||||
// Setting ComVisible to false makes the types in this assembly not visible |
||||
// to COM components. If you need to access a type in this assembly from |
||||
// COM, set the ComVisible attribute to true on that type. |
||||
[assembly: ComVisible(false)] |
||||
|
||||
// The following GUID is for the ID of the typelib if this project is exposed to COM |
||||
[assembly: Guid("ffe65f50-d4cb-4246-9fcb-e7e3e0fa2730")] |
||||
|
||||
// Version information for an assembly consists of the following four values: |
||||
// |
||||
// Major Version |
||||
// Minor Version |
||||
// Build Number |
||||
// Revision |
||||
// |
||||
// You can specify all the values or you can default the Build and Revision Numbers |
||||
// by using the '*' as shown below: |
||||
// [assembly: AssemblyVersion("1.0.*")] |
||||
[assembly: AssemblyVersion("1.0.0.0")] |
||||
[assembly: AssemblyFileVersion("1.0.0.0")] |
@ -0,0 +1,73 @@
|
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> |
||||
<PropertyGroup> |
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
||||
<ProjectGuid>{FFE65F50-D4CB-4246-9FCB-E7E3E0FA2730}</ProjectGuid> |
||||
<OutputType>Exe</OutputType> |
||||
<RootNamespace>Sample.Audio</RootNamespace> |
||||
<AssemblyName>Sample.Audio</AssemblyName> |
||||
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion> |
||||
<FileAlignment>512</FileAlignment> |
||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'"> |
||||
<DebugSymbols>true</DebugSymbols> |
||||
<OutputPath>bin\x64\Debug\</OutputPath> |
||||
<DefineConstants>DEBUG;TRACE</DefineConstants> |
||||
<DebugType>full</DebugType> |
||||
<PlatformTarget>x64</PlatformTarget> |
||||
<ErrorReport>prompt</ErrorReport> |
||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> |
||||
<Prefer32Bit>true</Prefer32Bit> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'"> |
||||
<OutputPath>bin\x64\Release\</OutputPath> |
||||
<DefineConstants>TRACE</DefineConstants> |
||||
<Optimize>true</Optimize> |
||||
<DebugType>pdbonly</DebugType> |
||||
<PlatformTarget>x64</PlatformTarget> |
||||
<ErrorReport>prompt</ErrorReport> |
||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> |
||||
<Prefer32Bit>true</Prefer32Bit> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'"> |
||||
<DebugSymbols>true</DebugSymbols> |
||||
<OutputPath>bin\x86\Debug\</OutputPath> |
||||
<DefineConstants>DEBUG;TRACE</DefineConstants> |
||||
<DebugType>full</DebugType> |
||||
<PlatformTarget>x86</PlatformTarget> |
||||
<ErrorReport>prompt</ErrorReport> |
||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> |
||||
<Prefer32Bit>true</Prefer32Bit> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'"> |
||||
<OutputPath>bin\x86\Release\</OutputPath> |
||||
<DefineConstants>TRACE</DefineConstants> |
||||
<Optimize>true</Optimize> |
||||
<DebugType>pdbonly</DebugType> |
||||
<PlatformTarget>x86</PlatformTarget> |
||||
<ErrorReport>prompt</ErrorReport> |
||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> |
||||
<Prefer32Bit>true</Prefer32Bit> |
||||
</PropertyGroup> |
||||
<ItemGroup> |
||||
<Reference Include="System" /> |
||||
</ItemGroup> |
||||
<ItemGroup> |
||||
<Compile Include="Program.cs" /> |
||||
<Compile Include="Properties\AssemblyInfo.cs" /> |
||||
<Compile Include="Window.cs" /> |
||||
</ItemGroup> |
||||
<ItemGroup> |
||||
<None Include="App.config" /> |
||||
</ItemGroup> |
||||
<ItemGroup> |
||||
<ProjectReference Include="..\..\DotSDL\DotSDL.csproj"> |
||||
<Project>{c645c551-c6a4-4312-bcaf-df94b0eb878e}</Project> |
||||
<Name>DotSDL</Name> |
||||
</ProjectReference> |
||||
</ItemGroup> |
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> |
||||
</Project> |
@ -0,0 +1,9 @@
|
||||
using DotSDL.Graphics; |
||||
|
||||
namespace Sample.Audio { |
||||
internal class Window : SdlWindow { |
||||
public Window(int width, int height) : base("DotSDL Audio Example", new Point{ X = WindowPosUndefined, Y = WindowPosUndefined }, width, height, 128, 32) { |
||||
|
||||
} |
||||
} |
||||
} |
Loading…
Reference in new issue