Ajouts de musique et irrKlang.
This commit is contained in:
		
							
								
								
									
										
											BIN
										
									
								
								SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.Winforms.Musicplayer/App.ico
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.Winforms.Musicplayer/App.ico
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 1.1 KiB | 
							
								
								
									
										58
									
								
								SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.Winforms.Musicplayer/AssemblyInfo.cs
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										58
									
								
								SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.Winforms.Musicplayer/AssemblyInfo.cs
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,58 @@ | ||||
| using System.Reflection; | ||||
| using System.Runtime.CompilerServices; | ||||
|  | ||||
| // | ||||
| // 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("")] | ||||
| [assembly: AssemblyDescription("")] | ||||
| [assembly: AssemblyConfiguration("")] | ||||
| [assembly: AssemblyCompany("")] | ||||
| [assembly: AssemblyProduct("")] | ||||
| [assembly: AssemblyCopyright("")] | ||||
| [assembly: AssemblyTrademark("")] | ||||
| [assembly: AssemblyCulture("")]		 | ||||
|  | ||||
| // | ||||
| // 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 Revision and Build Numbers  | ||||
| // by using the '*' as shown below: | ||||
|  | ||||
| [assembly: AssemblyVersion("1.0.*")] | ||||
|  | ||||
| // | ||||
| // In order to sign your assembly you must specify a key to use. Refer to the  | ||||
| // Microsoft .NET Framework documentation for more information on assembly signing. | ||||
| // | ||||
| // Use the attributes below to control which key is used for signing.  | ||||
| // | ||||
| // Notes:  | ||||
| //   (*) If no key is specified, the assembly is not signed. | ||||
| //   (*) KeyName refers to a key that has been installed in the Crypto Service | ||||
| //       Provider (CSP) on your machine. KeyFile refers to a file which contains | ||||
| //       a key. | ||||
| //   (*) If the KeyFile and the KeyName values are both specified, the  | ||||
| //       following processing occurs: | ||||
| //       (1) If the KeyName can be found in the CSP, that key is used. | ||||
| //       (2) If the KeyName does not exist and the KeyFile does exist, the key  | ||||
| //           in the KeyFile is installed into the CSP and used. | ||||
| //   (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility. | ||||
| //       When specifying the KeyFile, the location of the KeyFile should be | ||||
| //       relative to the project output directory which is | ||||
| //       %Project Directory%\obj\<configuration>. For example, if your KeyFile is | ||||
| //       located in the project directory, you would specify the AssemblyKeyFile  | ||||
| //       attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")] | ||||
| //   (*) Delay Signing is an advanced option - see the Microsoft .NET Framework | ||||
| //       documentation for more information on this. | ||||
| // | ||||
| [assembly: AssemblyDelaySign(false)] | ||||
| [assembly: AssemblyKeyFile("")] | ||||
| [assembly: AssemblyKeyName("")] | ||||
| @@ -0,0 +1,114 @@ | ||||
| <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||||
|   <PropertyGroup> | ||||
|     <ProjectType>Local</ProjectType> | ||||
|     <ProductVersion>8.0.50727</ProductVersion> | ||||
|     <SchemaVersion>2.0</SchemaVersion> | ||||
|     <ProjectGuid>{545F9CBC-DA32-4DFE-803C-C396A51E822C}</ProjectGuid> | ||||
|     <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||||
|     <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||||
|     <ApplicationIcon>App.ico</ApplicationIcon> | ||||
|     <AssemblyKeyContainerName> | ||||
|     </AssemblyKeyContainerName> | ||||
|     <AssemblyName>CSharp.Winforms.Musicplayer</AssemblyName> | ||||
|     <AssemblyOriginatorKeyFile> | ||||
|     </AssemblyOriginatorKeyFile> | ||||
|     <DefaultClientScript>JScript</DefaultClientScript> | ||||
|     <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> | ||||
|     <DefaultTargetSchema>IE50</DefaultTargetSchema> | ||||
|     <DelaySign>false</DelaySign> | ||||
|     <OutputType>WinExe</OutputType> | ||||
|     <RootNamespace>CSharp.Winforms.Musicplayer</RootNamespace> | ||||
|     <RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent> | ||||
|     <StartupObject> | ||||
|     </StartupObject> | ||||
|     <FileUpgradeFlags> | ||||
|     </FileUpgradeFlags> | ||||
|     <UpgradeBackupLocation> | ||||
|     </UpgradeBackupLocation> | ||||
|   </PropertyGroup> | ||||
|   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||||
|     <OutputPath>..\..\bin\dotnet-2.0\</OutputPath> | ||||
|     <AllowUnsafeBlocks>false</AllowUnsafeBlocks> | ||||
|     <BaseAddress>285212672</BaseAddress> | ||||
|     <CheckForOverflowUnderflow>false</CheckForOverflowUnderflow> | ||||
|     <ConfigurationOverrideFile> | ||||
|     </ConfigurationOverrideFile> | ||||
|     <DefineConstants>DEBUG;TRACE</DefineConstants> | ||||
|     <DocumentationFile> | ||||
|     </DocumentationFile> | ||||
|     <DebugSymbols>true</DebugSymbols> | ||||
|     <FileAlignment>4096</FileAlignment> | ||||
|     <NoStdLib>false</NoStdLib> | ||||
|     <NoWarn> | ||||
|     </NoWarn> | ||||
|     <Optimize>false</Optimize> | ||||
|     <RegisterForComInterop>false</RegisterForComInterop> | ||||
|     <RemoveIntegerChecks>false</RemoveIntegerChecks> | ||||
|     <TreatWarningsAsErrors>false</TreatWarningsAsErrors> | ||||
|     <WarningLevel>4</WarningLevel> | ||||
|     <DebugType>full</DebugType> | ||||
|     <ErrorReport>prompt</ErrorReport> | ||||
|   </PropertyGroup> | ||||
|   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||||
|     <OutputPath>..\..\bin\dotnet-2.0\</OutputPath> | ||||
|     <AllowUnsafeBlocks>false</AllowUnsafeBlocks> | ||||
|     <BaseAddress>285212672</BaseAddress> | ||||
|     <CheckForOverflowUnderflow>false</CheckForOverflowUnderflow> | ||||
|     <ConfigurationOverrideFile> | ||||
|     </ConfigurationOverrideFile> | ||||
|     <DefineConstants>TRACE</DefineConstants> | ||||
|     <DocumentationFile> | ||||
|     </DocumentationFile> | ||||
|     <DebugSymbols>false</DebugSymbols> | ||||
|     <FileAlignment>4096</FileAlignment> | ||||
|     <NoStdLib>false</NoStdLib> | ||||
|     <NoWarn> | ||||
|     </NoWarn> | ||||
|     <Optimize>true</Optimize> | ||||
|     <RegisterForComInterop>false</RegisterForComInterop> | ||||
|     <RemoveIntegerChecks>false</RemoveIntegerChecks> | ||||
|     <TreatWarningsAsErrors>false</TreatWarningsAsErrors> | ||||
|     <WarningLevel>4</WarningLevel> | ||||
|     <DebugType>none</DebugType> | ||||
|     <ErrorReport>prompt</ErrorReport> | ||||
|     <PlatformTarget>x86</PlatformTarget> | ||||
|   </PropertyGroup> | ||||
|   <ItemGroup> | ||||
|     <Reference Include="irrKlang.NET2.0, Version=1.6.0.0, Culture=neutral, PublicKeyToken=a854741bd80517c7, processorArchitecture=x86" /> | ||||
|     <Reference Include="System"> | ||||
|       <Name>System</Name> | ||||
|     </Reference> | ||||
|     <Reference Include="System.Data"> | ||||
|       <Name>System.Data</Name> | ||||
|     </Reference> | ||||
|     <Reference Include="System.Drawing"> | ||||
|       <Name>System.Drawing</Name> | ||||
|     </Reference> | ||||
|     <Reference Include="System.Windows.Forms"> | ||||
|       <Name>System.Windows.Forms</Name> | ||||
|     </Reference> | ||||
|     <Reference Include="System.Xml"> | ||||
|       <Name>System.XML</Name> | ||||
|     </Reference> | ||||
|   </ItemGroup> | ||||
|   <ItemGroup> | ||||
|     <Content Include="App.ico" /> | ||||
|     <Compile Include="AssemblyInfo.cs"> | ||||
|       <SubType>Code</SubType> | ||||
|     </Compile> | ||||
|     <Compile Include="Form1.cs"> | ||||
|       <SubType>Form</SubType> | ||||
|     </Compile> | ||||
|     <EmbeddedResource Include="Form1.resx"> | ||||
|       <DependentUpon>Form1.cs</DependentUpon> | ||||
|       <SubType>Designer</SubType> | ||||
|     </EmbeddedResource> | ||||
|   </ItemGroup> | ||||
|   <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> | ||||
|   <PropertyGroup> | ||||
|     <PreBuildEvent> | ||||
|     </PreBuildEvent> | ||||
|     <PostBuildEvent> | ||||
|     </PostBuildEvent> | ||||
|   </PropertyGroup> | ||||
| </Project> | ||||
| @@ -0,0 +1,19 @@ | ||||
| Microsoft Visual Studio Solution File, Format Version 9.00 | ||||
| # Visual Studio 2005 | ||||
| Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CSharp.Winforms.Musicplayer_vs2005", "CSharp.Winforms.Musicplayer_vs2005.csproj", "{545F9CBC-DA32-4DFE-803C-C396A51E822C}" | ||||
| EndProject | ||||
| Global | ||||
| 	GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||||
| 		Debug|Any CPU = Debug|Any CPU | ||||
| 		Release|Any CPU = Release|Any CPU | ||||
| 	EndGlobalSection | ||||
| 	GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||||
| 		{545F9CBC-DA32-4DFE-803C-C396A51E822C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||||
| 		{545F9CBC-DA32-4DFE-803C-C396A51E822C}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||||
| 		{545F9CBC-DA32-4DFE-803C-C396A51E822C}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||||
| 		{545F9CBC-DA32-4DFE-803C-C396A51E822C}.Release|Any CPU.Build.0 = Release|Any CPU | ||||
| 	EndGlobalSection | ||||
| 	GlobalSection(SolutionProperties) = preSolution | ||||
| 		HideSolutionNode = FALSE | ||||
| 	EndGlobalSection | ||||
| EndGlobal | ||||
| @@ -0,0 +1,189 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0"> | ||||
|   <PropertyGroup> | ||||
|     <ProjectType>Local</ProjectType> | ||||
|     <ProductVersion>8.0.50727</ProductVersion> | ||||
|     <SchemaVersion>2.0</SchemaVersion> | ||||
|     <ProjectGuid>{545F9CBC-DA32-4DFE-803C-C396A51E822C}</ProjectGuid> | ||||
|     <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||||
|     <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||||
|     <ApplicationIcon>App.ico</ApplicationIcon> | ||||
|     <AssemblyKeyContainerName> | ||||
|     </AssemblyKeyContainerName> | ||||
|     <AssemblyName>CSharp.Winforms.Musicplayer</AssemblyName> | ||||
|     <AssemblyOriginatorKeyFile> | ||||
|     </AssemblyOriginatorKeyFile> | ||||
|     <DefaultClientScript>JScript</DefaultClientScript> | ||||
|     <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> | ||||
|     <DefaultTargetSchema>IE50</DefaultTargetSchema> | ||||
|     <DelaySign>false</DelaySign> | ||||
|     <OutputType>WinExe</OutputType> | ||||
|     <RootNamespace>CSharp.Winforms.Musicplayer</RootNamespace> | ||||
|     <RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent> | ||||
|     <StartupObject> | ||||
|     </StartupObject> | ||||
|     <FileUpgradeFlags> | ||||
|     </FileUpgradeFlags> | ||||
|     <UpgradeBackupLocation> | ||||
|     </UpgradeBackupLocation> | ||||
|     <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> | ||||
|     <OldToolsVersion>2.0</OldToolsVersion> | ||||
|     <IsWebBootstrapper>false</IsWebBootstrapper> | ||||
|     <PublishUrl>publish\</PublishUrl> | ||||
|     <Install>true</Install> | ||||
|     <InstallFrom>Disk</InstallFrom> | ||||
|     <UpdateEnabled>false</UpdateEnabled> | ||||
|     <UpdateMode>Foreground</UpdateMode> | ||||
|     <UpdateInterval>7</UpdateInterval> | ||||
|     <UpdateIntervalUnits>Days</UpdateIntervalUnits> | ||||
|     <UpdatePeriodically>false</UpdatePeriodically> | ||||
|     <UpdateRequired>false</UpdateRequired> | ||||
|     <MapFileExtensions>true</MapFileExtensions> | ||||
|     <ApplicationRevision>0</ApplicationRevision> | ||||
|     <ApplicationVersion>1.0.0.%2a</ApplicationVersion> | ||||
|     <UseApplicationTrust>false</UseApplicationTrust> | ||||
|     <BootstrapperEnabled>true</BootstrapperEnabled> | ||||
|     <TargetFrameworkProfile /> | ||||
|   </PropertyGroup> | ||||
|   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||||
|     <OutputPath>..\..\bin\dotnet-4\</OutputPath> | ||||
|     <AllowUnsafeBlocks>false</AllowUnsafeBlocks> | ||||
|     <BaseAddress>285212672</BaseAddress> | ||||
|     <CheckForOverflowUnderflow>false</CheckForOverflowUnderflow> | ||||
|     <ConfigurationOverrideFile> | ||||
|     </ConfigurationOverrideFile> | ||||
|     <DefineConstants>DEBUG;TRACE</DefineConstants> | ||||
|     <DocumentationFile> | ||||
|     </DocumentationFile> | ||||
|     <DebugSymbols>true</DebugSymbols> | ||||
|     <FileAlignment>4096</FileAlignment> | ||||
|     <NoStdLib>false</NoStdLib> | ||||
|     <NoWarn> | ||||
|     </NoWarn> | ||||
|     <Optimize>false</Optimize> | ||||
|     <RegisterForComInterop>false</RegisterForComInterop> | ||||
|     <RemoveIntegerChecks>false</RemoveIntegerChecks> | ||||
|     <TreatWarningsAsErrors>false</TreatWarningsAsErrors> | ||||
|     <WarningLevel>4</WarningLevel> | ||||
|     <DebugType>full</DebugType> | ||||
|     <ErrorReport>prompt</ErrorReport> | ||||
|     <Prefer32Bit>false</Prefer32Bit> | ||||
|   </PropertyGroup> | ||||
|   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||||
|     <OutputPath>..\..\bin\dotnet-2.0\</OutputPath> | ||||
|     <AllowUnsafeBlocks>false</AllowUnsafeBlocks> | ||||
|     <BaseAddress>285212672</BaseAddress> | ||||
|     <CheckForOverflowUnderflow>false</CheckForOverflowUnderflow> | ||||
|     <ConfigurationOverrideFile> | ||||
|     </ConfigurationOverrideFile> | ||||
|     <DefineConstants>TRACE</DefineConstants> | ||||
|     <DocumentationFile> | ||||
|     </DocumentationFile> | ||||
|     <DebugSymbols>false</DebugSymbols> | ||||
|     <FileAlignment>4096</FileAlignment> | ||||
|     <NoStdLib>false</NoStdLib> | ||||
|     <NoWarn> | ||||
|     </NoWarn> | ||||
|     <Optimize>true</Optimize> | ||||
|     <RegisterForComInterop>false</RegisterForComInterop> | ||||
|     <RemoveIntegerChecks>false</RemoveIntegerChecks> | ||||
|     <TreatWarningsAsErrors>false</TreatWarningsAsErrors> | ||||
|     <WarningLevel>4</WarningLevel> | ||||
|     <DebugType>none</DebugType> | ||||
|     <ErrorReport>prompt</ErrorReport> | ||||
|     <PlatformTarget>x86</PlatformTarget> | ||||
|     <Prefer32Bit>false</Prefer32Bit> | ||||
|   </PropertyGroup> | ||||
|   <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'"> | ||||
|     <DebugSymbols>true</DebugSymbols> | ||||
|     <OutputPath>..\..\bin\dotnet-4\</OutputPath> | ||||
|     <DefineConstants>DEBUG;TRACE</DefineConstants> | ||||
|     <BaseAddress>285212672</BaseAddress> | ||||
|     <FileAlignment>4096</FileAlignment> | ||||
|     <DebugType>full</DebugType> | ||||
|     <PlatformTarget>x86</PlatformTarget> | ||||
|     <ErrorReport>prompt</ErrorReport> | ||||
|     <Prefer32Bit>false</Prefer32Bit> | ||||
|   </PropertyGroup> | ||||
|   <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'"> | ||||
|     <OutputPath>..\..\bin\dotnet-4\</OutputPath> | ||||
|     <DefineConstants>TRACE</DefineConstants> | ||||
|     <BaseAddress>285212672</BaseAddress> | ||||
|     <Optimize>true</Optimize> | ||||
|     <FileAlignment>4096</FileAlignment> | ||||
|     <PlatformTarget>x86</PlatformTarget> | ||||
|     <ErrorReport>prompt</ErrorReport> | ||||
|     <CodeAnalysisIgnoreBuiltInRuleSets>false</CodeAnalysisIgnoreBuiltInRuleSets> | ||||
|     <CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules> | ||||
|     <CodeAnalysisFailOnMissingRules>false</CodeAnalysisFailOnMissingRules> | ||||
|     <Prefer32Bit>false</Prefer32Bit> | ||||
|   </PropertyGroup> | ||||
|   <ItemGroup> | ||||
|     <Reference Include="irrKlang.NET4, Version=1.0.6617.18810, Culture=neutral, PublicKeyToken=a854741bd80517c7, processorArchitecture=x86"> | ||||
|       <SpecificVersion>False</SpecificVersion> | ||||
|        <HintPath>..\..\bin\dotnet-4\irrKlang.NET4.dll</HintPath> | ||||
|     </Reference> | ||||
|     <Reference Include="System"> | ||||
|       <Name>System</Name> | ||||
|     </Reference> | ||||
|     <Reference Include="System.Data"> | ||||
|       <Name>System.Data</Name> | ||||
|     </Reference> | ||||
|     <Reference Include="System.Drawing"> | ||||
|       <Name>System.Drawing</Name> | ||||
|     </Reference> | ||||
|     <Reference Include="System.Windows.Forms"> | ||||
|       <Name>System.Windows.Forms</Name> | ||||
|     </Reference> | ||||
|     <Reference Include="System.Xml"> | ||||
|       <Name>System.XML</Name> | ||||
|     </Reference> | ||||
|   </ItemGroup> | ||||
|   <ItemGroup> | ||||
|     <Content Include="App.ico" /> | ||||
|     <Compile Include="AssemblyInfo.cs"> | ||||
|       <SubType>Code</SubType> | ||||
|     </Compile> | ||||
|     <Compile Include="Form1.cs"> | ||||
|       <SubType>Form</SubType> | ||||
|     </Compile> | ||||
|     <EmbeddedResource Include="Form1.resx"> | ||||
|       <DependentUpon>Form1.cs</DependentUpon> | ||||
|     </EmbeddedResource> | ||||
|   </ItemGroup> | ||||
|   <ItemGroup> | ||||
|     <BootstrapperPackage Include=".NETFramework,Version=v4.0"> | ||||
|       <Visible>False</Visible> | ||||
|       <ProductName>Microsoft .NET Framework 4 %28x86 und x64%29</ProductName> | ||||
|       <Install>true</Install> | ||||
|     </BootstrapperPackage> | ||||
|     <BootstrapperPackage Include="Microsoft.Net.Client.3.5"> | ||||
|       <Visible>False</Visible> | ||||
|       <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName> | ||||
|       <Install>false</Install> | ||||
|     </BootstrapperPackage> | ||||
|     <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1"> | ||||
|       <Visible>False</Visible> | ||||
|       <ProductName>.NET Framework 3.5 SP1</ProductName> | ||||
|       <Install>false</Install> | ||||
|     </BootstrapperPackage> | ||||
|     <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1"> | ||||
|       <Visible>False</Visible> | ||||
|       <ProductName>Windows Installer 3.1</ProductName> | ||||
|       <Install>true</Install> | ||||
|     </BootstrapperPackage> | ||||
|   </ItemGroup> | ||||
|   <ItemGroup> | ||||
|     <WCFMetadata Include="Service References\" /> | ||||
|   </ItemGroup> | ||||
|   <ItemGroup> | ||||
|     <None Include="app.config" /> | ||||
|   </ItemGroup> | ||||
|   <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> | ||||
|   <PropertyGroup> | ||||
|     <PreBuildEvent> | ||||
|     </PreBuildEvent> | ||||
|     <PostBuildEvent> | ||||
|     </PostBuildEvent> | ||||
|   </PropertyGroup> | ||||
| </Project> | ||||
| @@ -0,0 +1,19 @@ | ||||
| Microsoft Visual Studio Solution File, Format Version 11.00 | ||||
| # Visual C# Express 2010 | ||||
| Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CSharp.Winforms.Musicplayer_vs2010", "CSharp.Winforms.Musicplayer_vs2010.csproj", "{545F9CBC-DA32-4DFE-803C-C396A51E822C}" | ||||
| EndProject | ||||
| Global | ||||
| 	GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||||
| 		Debug|x86 = Debug|x86 | ||||
| 		Release|x86 = Release|x86 | ||||
| 	EndGlobalSection | ||||
| 	GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||||
| 		{545F9CBC-DA32-4DFE-803C-C396A51E822C}.Debug|x86.ActiveCfg = Debug|x86 | ||||
| 		{545F9CBC-DA32-4DFE-803C-C396A51E822C}.Debug|x86.Build.0 = Debug|x86 | ||||
| 		{545F9CBC-DA32-4DFE-803C-C396A51E822C}.Release|x86.ActiveCfg = Release|x86 | ||||
| 		{545F9CBC-DA32-4DFE-803C-C396A51E822C}.Release|x86.Build.0 = Release|x86 | ||||
| 	EndGlobalSection | ||||
| 	GlobalSection(SolutionProperties) = preSolution | ||||
| 		HideSolutionNode = FALSE | ||||
| 	EndGlobalSection | ||||
| EndGlobal | ||||
							
								
								
									
										216
									
								
								SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.Winforms.Musicplayer/Form1.cs
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										216
									
								
								SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.Winforms.Musicplayer/Form1.cs
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,216 @@ | ||||
| using System; | ||||
| using System.Drawing; | ||||
| using System.Collections; | ||||
| using System.ComponentModel; | ||||
| using System.Windows.Forms; | ||||
| using System.Data; | ||||
|  | ||||
| namespace CSharp.Winforms.Musicplayer | ||||
| { | ||||
| 	/// <summary> | ||||
| 	/// Summary description for Form1. | ||||
| 	/// </summary> | ||||
| 	public class Form1 : System.Windows.Forms.Form | ||||
| 	{ | ||||
| 		protected IrrKlang.ISoundEngine irrKlangEngine; | ||||
| 		protected IrrKlang.ISound currentlyPlayingSound; | ||||
|  | ||||
| 		private System.Windows.Forms.Button SelectFileButton; | ||||
| 		private System.Windows.Forms.Button PauseButton; | ||||
| 		private System.Windows.Forms.TrackBar volumeTrackBar; | ||||
| 		private System.Windows.Forms.Label label1; | ||||
| 		private System.Windows.Forms.TextBox filenameTextBox; | ||||
| 		/// <summary> | ||||
| 		/// Required designer variable. | ||||
| 		/// </summary> | ||||
| 		private System.ComponentModel.Container components = null; | ||||
|  | ||||
| 		public Form1() | ||||
| 		{ | ||||
| 			// | ||||
| 			// Required for Windows Form Designer support | ||||
| 			// | ||||
| 			InitializeComponent(); | ||||
|  | ||||
| 			// create irrklang sound engine | ||||
| 			irrKlangEngine = new IrrKlang.ISoundEngine(); | ||||
| 			playSelectedFile(); | ||||
| 		} | ||||
|  | ||||
| 		/// <summary> | ||||
| 		/// Clean up any resources being used. | ||||
| 		/// </summary> | ||||
| 		protected override void Dispose( bool disposing ) | ||||
| 		{ | ||||
| 			if( disposing ) | ||||
| 			{ | ||||
| 				if (components != null)  | ||||
| 				{ | ||||
| 					components.Dispose(); | ||||
| 				} | ||||
| 			} | ||||
| 			base.Dispose( disposing ); | ||||
| 		} | ||||
|  | ||||
| 		#region Windows Form Designer generated code | ||||
| 		/// <summary> | ||||
| 		/// Required method for Designer support - do not modify | ||||
| 		/// the contents of this method with the code editor. | ||||
| 		/// </summary> | ||||
| 		private void InitializeComponent() | ||||
| 		{ | ||||
| 			this.filenameTextBox = new System.Windows.Forms.TextBox(); | ||||
| 			this.SelectFileButton = new System.Windows.Forms.Button(); | ||||
| 			this.PauseButton = new System.Windows.Forms.Button(); | ||||
| 			this.volumeTrackBar = new System.Windows.Forms.TrackBar(); | ||||
| 			this.label1 = new System.Windows.Forms.Label(); | ||||
| 			((System.ComponentModel.ISupportInitialize)(this.volumeTrackBar)).BeginInit(); | ||||
| 			this.SuspendLayout(); | ||||
| 			//  | ||||
| 			// filenameTextBox | ||||
| 			//  | ||||
| 			this.filenameTextBox.Location = new System.Drawing.Point(24, 24); | ||||
| 			this.filenameTextBox.Name = "filenameTextBox"; | ||||
| 			this.filenameTextBox.ReadOnly = true; | ||||
| 			this.filenameTextBox.Size = new System.Drawing.Size(280, 20); | ||||
| 			this.filenameTextBox.TabIndex = 0; | ||||
| 			this.filenameTextBox.Text = "../../media/getout.ogg"; | ||||
| 			//  | ||||
| 			// SelectFileButton | ||||
| 			//  | ||||
| 			this.SelectFileButton.Location = new System.Drawing.Point(312, 24); | ||||
| 			this.SelectFileButton.Name = "SelectFileButton"; | ||||
| 			this.SelectFileButton.Size = new System.Drawing.Size(32, 24); | ||||
| 			this.SelectFileButton.TabIndex = 1; | ||||
| 			this.SelectFileButton.Text = "..."; | ||||
| 			this.SelectFileButton.Click += new System.EventHandler(this.SelectFileButton_Click); | ||||
| 			//  | ||||
| 			// PauseButton | ||||
| 			//  | ||||
| 			this.PauseButton.Location = new System.Drawing.Point(184, 104); | ||||
| 			this.PauseButton.Name = "PauseButton"; | ||||
| 			this.PauseButton.TabIndex = 2; | ||||
| 			this.PauseButton.Text = "Pause"; | ||||
| 			this.PauseButton.Click += new System.EventHandler(this.PauseButton_Click); | ||||
| 			//  | ||||
| 			// volumeTrackBar | ||||
| 			//  | ||||
| 			this.volumeTrackBar.Location = new System.Drawing.Point(24, 96); | ||||
| 			this.volumeTrackBar.Maximum = 100; | ||||
| 			this.volumeTrackBar.Name = "volumeTrackBar"; | ||||
| 			this.volumeTrackBar.Size = new System.Drawing.Size(136, 42); | ||||
| 			this.volumeTrackBar.SmallChange = 5; | ||||
| 			this.volumeTrackBar.TabIndex = 3; | ||||
| 			this.volumeTrackBar.TickFrequency = 10; | ||||
| 			this.volumeTrackBar.Scroll += new System.EventHandler(this.volumeTrackBar_Scroll); | ||||
| 			//  | ||||
| 			// label1 | ||||
| 			//  | ||||
| 			this.label1.Location = new System.Drawing.Point(24, 72); | ||||
| 			this.label1.Name = "label1"; | ||||
| 			this.label1.Size = new System.Drawing.Size(100, 16); | ||||
| 			this.label1.TabIndex = 4; | ||||
| 			this.label1.Text = "Volume:"; | ||||
| 			//  | ||||
| 			// Form1 | ||||
| 			//  | ||||
| 			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); | ||||
| 			this.ClientSize = new System.Drawing.Size(456, 149); | ||||
| 			this.Controls.Add(this.label1); | ||||
| 			this.Controls.Add(this.volumeTrackBar); | ||||
| 			this.Controls.Add(this.PauseButton); | ||||
| 			this.Controls.Add(this.SelectFileButton); | ||||
| 			this.Controls.Add(this.filenameTextBox); | ||||
| 			this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; | ||||
| 			this.MaximizeBox = false; | ||||
| 			this.Name = "Form1"; | ||||
| 			this.Text = "Simple irrKlang .NET Winforms Example Player"; | ||||
| 			((System.ComponentModel.ISupportInitialize)(this.volumeTrackBar)).EndInit(); | ||||
| 			this.ResumeLayout(false); | ||||
|  | ||||
| 		} | ||||
| 		#endregion | ||||
|  | ||||
| 		/// <summary> | ||||
| 		/// The main entry point for the application. | ||||
| 		/// </summary> | ||||
| 		[STAThread] | ||||
| 		static void Main()  | ||||
| 		{ | ||||
| 			Application.Run(new Form1()); | ||||
| 		} | ||||
|  | ||||
|  | ||||
| 		// plays filename selected in edit box | ||||
| 		void playSelectedFile() | ||||
| 		{ | ||||
| 			// stop currently playing sound | ||||
|  | ||||
| 			if (currentlyPlayingSound != null) | ||||
| 				currentlyPlayingSound.Stop(); | ||||
|  | ||||
| 			// start new sound | ||||
|  | ||||
| 			currentlyPlayingSound = irrKlangEngine.Play2D(filenameTextBox.Text, true); | ||||
|  | ||||
| 			// update controls to display the playing file | ||||
|  | ||||
| 			UpdatePauseButtonText(); | ||||
| 			 | ||||
|             volumeTrackBar.Value = 100; | ||||
| 		} | ||||
|  | ||||
|  | ||||
| 		// pauses or unpauses the currently playing sound | ||||
| 		private void PauseButton_Click(object sender, System.EventArgs e) | ||||
| 		{ | ||||
| 			if (currentlyPlayingSound != null) | ||||
| 			{ | ||||
| 				currentlyPlayingSound.Paused = !currentlyPlayingSound.Paused; | ||||
| 				UpdatePauseButtonText(); | ||||
| 			} | ||||
| 		} | ||||
|  | ||||
|  | ||||
| 		// Updates the text on the pause button | ||||
| 		private void UpdatePauseButtonText() | ||||
| 		{ | ||||
| 			if (currentlyPlayingSound != null) | ||||
| 			{ | ||||
| 				if (currentlyPlayingSound.Paused) | ||||
| 					PauseButton.Text = "Play"; | ||||
| 				else | ||||
| 					PauseButton.Text = "Pause"; | ||||
| 			} | ||||
| 			else | ||||
| 				PauseButton.Text = ""; | ||||
| 		} | ||||
|  | ||||
|  | ||||
| 		// Sets new volume of currently playing sound | ||||
| 		private void volumeTrackBar_Scroll(object sender, System.EventArgs e) | ||||
| 		{ | ||||
| 			if (currentlyPlayingSound != null) | ||||
| 			{ | ||||
| 				currentlyPlayingSound.Volume = volumeTrackBar.Value / 100.0f; | ||||
| 			} | ||||
| 		} | ||||
|  | ||||
|  | ||||
| 		// selects a new file to play | ||||
| 		private void SelectFileButton_Click(object sender, System.EventArgs e) | ||||
| 		{ | ||||
| 			System.Windows.Forms.OpenFileDialog dialog = new | ||||
| 				System.Windows.Forms.OpenFileDialog(); | ||||
|  | ||||
| 			dialog.Filter = "All playable files (*.mp3;*.ogg;*.wav;*.mod;*.it;*.xm;*.it;*.s3d)|*.mp3;*.ogg;*.wav;*.mod;*.it;*.xm;*.it;*.s3d"; | ||||
| 		    dialog.FilterIndex = 0; | ||||
|  | ||||
| 			if (dialog.ShowDialog(this) == System.Windows.Forms.DialogResult.OK) | ||||
| 			{ | ||||
| 				filenameTextBox.Text = dialog.FileName; | ||||
| 				playSelectedFile(); | ||||
| 			} | ||||
| 		} | ||||
| 	} | ||||
| } | ||||
							
								
								
									
										175
									
								
								SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.Winforms.Musicplayer/Form1.resx
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										175
									
								
								SQCSim2021/external/irrKlang-1.6.0/examples.net/CSharp.Winforms.Musicplayer/Form1.resx
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,175 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <root> | ||||
|   <!--  | ||||
|     Microsoft ResX Schema  | ||||
|      | ||||
|     Version 1.3 | ||||
|      | ||||
|     The primary goals of this format is to allow a simple XML format  | ||||
|     that is mostly human readable. The generation and parsing of the  | ||||
|     various data types are done through the TypeConverter classes  | ||||
|     associated with the data types. | ||||
|      | ||||
|     Example: | ||||
|      | ||||
|     ... ado.net/XML headers & schema ... | ||||
|     <resheader name="resmimetype">text/microsoft-resx</resheader> | ||||
|     <resheader name="version">1.3</resheader> | ||||
|     <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> | ||||
|     <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> | ||||
|     <data name="Name1">this is my long string</data> | ||||
|     <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> | ||||
|     <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> | ||||
|         [base64 mime encoded serialized .NET Framework object] | ||||
|     </data> | ||||
|     <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|         [base64 mime encoded string representing a byte array form of the .NET Framework object] | ||||
|     </data> | ||||
|                  | ||||
|     There are any number of "resheader" rows that contain simple  | ||||
|     name/value pairs. | ||||
|      | ||||
|     Each data row contains a name, and value. The row also contains a  | ||||
|     type or mimetype. Type corresponds to a .NET class that support  | ||||
|     text/value conversion through the TypeConverter architecture.  | ||||
|     Classes that don't support this are serialized and stored with the  | ||||
|     mimetype set. | ||||
|      | ||||
|     The mimetype is used forserialized objects, and tells the  | ||||
|     ResXResourceReader how to depersist the object. This is currently not  | ||||
|     extensible. For a given mimetype the value must be set accordingly: | ||||
|      | ||||
|     Note - application/x-microsoft.net.object.binary.base64 is the format  | ||||
|     that the ResXResourceWriter will generate, however the reader can  | ||||
|     read any of the formats listed below. | ||||
|      | ||||
|     mimetype: application/x-microsoft.net.object.binary.base64 | ||||
|     value   : The object must be serialized with  | ||||
|             : System.Serialization.Formatters.Binary.BinaryFormatter | ||||
|             : and then encoded with base64 encoding. | ||||
|      | ||||
|     mimetype: application/x-microsoft.net.object.soap.base64 | ||||
|     value   : The object must be serialized with  | ||||
|             : System.Runtime.Serialization.Formatters.Soap.SoapFormatter | ||||
|             : and then encoded with base64 encoding. | ||||
|  | ||||
|     mimetype: application/x-microsoft.net.object.bytearray.base64 | ||||
|     value   : The object must be serialized into a byte array  | ||||
|             : using a System.ComponentModel.TypeConverter | ||||
|             : and then encoded with base64 encoding. | ||||
|     --> | ||||
|   <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> | ||||
|     <xsd:element name="root" msdata:IsDataSet="true"> | ||||
|       <xsd:complexType> | ||||
|         <xsd:choice maxOccurs="unbounded"> | ||||
|           <xsd:element name="data"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||
|                 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" /> | ||||
|               <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> | ||||
|               <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="resheader"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" type="xsd:string" use="required" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|         </xsd:choice> | ||||
|       </xsd:complexType> | ||||
|     </xsd:element> | ||||
|   </xsd:schema> | ||||
|   <resheader name="resmimetype"> | ||||
|     <value>text/microsoft-resx</value> | ||||
|   </resheader> | ||||
|   <resheader name="version"> | ||||
|     <value>1.3</value> | ||||
|   </resheader> | ||||
|   <resheader name="reader"> | ||||
|     <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
|   <resheader name="writer"> | ||||
|     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
|   <data name="filenameTextBox.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||
|     <value>Private</value> | ||||
|   </data> | ||||
|   <data name="filenameTextBox.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||
|     <value>False</value> | ||||
|   </data> | ||||
|   <data name="filenameTextBox.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||
|     <value>Private</value> | ||||
|   </data> | ||||
|   <data name="SelectFileButton.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||
|     <value>False</value> | ||||
|   </data> | ||||
|   <data name="SelectFileButton.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||
|     <value>Private</value> | ||||
|   </data> | ||||
|   <data name="SelectFileButton.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||
|     <value>Private</value> | ||||
|   </data> | ||||
|   <data name="PauseButton.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||
|     <value>False</value> | ||||
|   </data> | ||||
|   <data name="PauseButton.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||
|     <value>Private</value> | ||||
|   </data> | ||||
|   <data name="PauseButton.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||
|     <value>Private</value> | ||||
|   </data> | ||||
|   <data name="volumeTrackBar.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||
|     <value>False</value> | ||||
|   </data> | ||||
|   <data name="volumeTrackBar.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||
|     <value>Private</value> | ||||
|   </data> | ||||
|   <data name="volumeTrackBar.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||
|     <value>Private</value> | ||||
|   </data> | ||||
|   <data name="label1.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||
|     <value>False</value> | ||||
|   </data> | ||||
|   <data name="label1.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||
|     <value>Private</value> | ||||
|   </data> | ||||
|   <data name="label1.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||
|     <value>Private</value> | ||||
|   </data> | ||||
|   <data name="$this.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||
|     <value>False</value> | ||||
|   </data> | ||||
|   <data name="$this.Language" type="System.Globalization.CultureInfo, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||
|     <value>(Default)</value> | ||||
|   </data> | ||||
|   <data name="$this.TrayLargeIcon" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||
|     <value>False</value> | ||||
|   </data> | ||||
|   <data name="$this.Localizable" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||
|     <value>False</value> | ||||
|   </data> | ||||
|   <data name="$this.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>8, 8</value> | ||||
|   </data> | ||||
|   <data name="$this.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||
|     <value>True</value> | ||||
|   </data> | ||||
|   <data name="$this.Name"> | ||||
|     <value>Form1</value> | ||||
|   </data> | ||||
|   <data name="$this.TrayHeight" type="System.Int32, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||
|     <value>80</value> | ||||
|   </data> | ||||
|   <data name="$this.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||
|     <value>True</value> | ||||
|   </data> | ||||
|   <data name="$this.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||
|     <value>Private</value> | ||||
|   </data> | ||||
| </root> | ||||
		Reference in New Issue
	
	Block a user