mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-12-23 20:05:45 +00:00
eb056218a1
* audio: Implement a SDL2 backend This adds support to SDL2 as an audio backend. It has the same compatibility level as OpenAL without its issues. I also took the liberty of restructuring the SDL2 code to have one shared project between audio and input. The configuration version was also incremented. * Address gdkchan's comments * Fix update logic * Add an heuristic to pick the correct target sample count wanted by the game * Address gdkchan's comments * Address Ac_k's comments * Fix audren output * Address gdkchan's comments
114 lines
5.9 KiB
XML
114 lines
5.9 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net5.0</TargetFramework>
|
|
<RuntimeIdentifiers>win-x64;osx-x64;linux-x64</RuntimeIdentifiers>
|
|
<OutputType>Exe</OutputType>
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
<Version>1.0.0-dirty</Version>
|
|
<TieredCompilation>false</TieredCompilation>
|
|
<TieredCompilationQuickJit>false</TieredCompilationQuickJit>
|
|
<DefineConstants Condition=" '$(ExtraDefineConstants)' != '' ">$(DefineConstants);$(ExtraDefineConstants)</DefineConstants>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="DiscordRichPresence" Version="1.0.175" />
|
|
<PackageReference Include="GtkSharp" Version="3.22.25.128" />
|
|
<PackageReference Include="GtkSharp.Dependencies" Version="1.1.0" Condition="'$(RuntimeIdentifier)' != 'linux-x64' AND '$(RuntimeIdentifier)' != 'osx-x64'" />
|
|
<PackageReference Include="Ryujinx.Graphics.Nvdec.Dependencies" Version="4.4.0-build7" Condition="'$(RuntimeIdentifier)' != 'linux-x64' AND '$(RuntimeIdentifier)' != 'osx-x64'" />
|
|
<PackageReference Include="Ryujinx.Audio.OpenAL.Dependencies" Version="1.21.0.1" Condition="'$(RuntimeIdentifier)' != 'linux-x64' AND '$(RuntimeIdentifier)' != 'osx-x64'" />
|
|
<PackageReference Include="OpenTK.Graphics" Version="4.5.0" />
|
|
<PackageReference Include="SPB" Version="0.0.3-build15" />
|
|
<PackageReference Include="SharpZipLib" Version="1.3.0" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\Ryujinx.Input\Ryujinx.Input.csproj" />
|
|
<ProjectReference Include="..\Ryujinx.Input.SDL2\Ryujinx.Input.SDL2.csproj" />
|
|
<ProjectReference Include="..\Ryujinx.Audio.Backends.OpenAL\Ryujinx.Audio.Backends.OpenAL.csproj" />
|
|
<ProjectReference Include="..\Ryujinx.Audio.Backends.SDL2\Ryujinx.Audio.Backends.SDL2.csproj" />
|
|
<ProjectReference Include="..\Ryujinx.Audio.Backends.SoundIo\Ryujinx.Audio.Backends.SoundIo.csproj" />
|
|
<ProjectReference Include="..\Ryujinx.Common\Ryujinx.Common.csproj" />
|
|
<ProjectReference Include="..\Ryujinx.HLE\Ryujinx.HLE.csproj" />
|
|
<ProjectReference Include="..\ARMeilleure\ARMeilleure.csproj" />
|
|
<ProjectReference Include="..\Ryujinx.Graphics.OpenGL\Ryujinx.Graphics.OpenGL.csproj" />
|
|
<ProjectReference Include="..\Ryujinx.Graphics.Gpu\Ryujinx.Graphics.Gpu.csproj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<None Update="alsoft.ini">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</None>
|
|
<None Update="Config.json" Condition="'$(Configuration)' == 'Debug' OR '$(Configuration)' == 'Profile Debug'">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</None>
|
|
<None Update="THIRDPARTY.md">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</None>
|
|
<ContentWithTargetPath Include="..\Ryujinx.Audio\LICENSE.txt">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
<TargetPath>LICENSE-Ryujinx.Audio.txt</TargetPath>
|
|
</ContentWithTargetPath>
|
|
</ItemGroup>
|
|
|
|
<!-- Due to .net core 3.1 embedded resource loading -->
|
|
<PropertyGroup>
|
|
<EmbeddedResourceUseDependentUponConvention>false</EmbeddedResourceUseDependentUponConvention>
|
|
<ApplicationIcon>Ryujinx.ico</ApplicationIcon>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(RuntimeIdentifier)' == 'osx-x64'">
|
|
<DefineConstants>$(DefineConstants);MACOS_BUILD</DefineConstants>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<None Remove="Ui\MainWindow.glade" />
|
|
<None Remove="Ui\Resources\Controller_JoyConLeft.svg" />
|
|
<None Remove="Ui\Resources\Controller_JoyConPair.svg" />
|
|
<None Remove="Ui\Resources\Controller_JoyConRight.svg" />
|
|
<None Remove="Ui\Resources\Controller_ProCon.svg" />
|
|
<None Remove="Ui\Resources\Icon_NCA.png" />
|
|
<None Remove="Ui\Resources\Icon_NRO.png" />
|
|
<None Remove="Ui\Resources\Icon_NSO.png" />
|
|
<None Remove="Ui\Resources\Icon_NSP.png" />
|
|
<None Remove="Ui\Resources\Icon_XCI.png" />
|
|
<None Remove="Ui\Resources\Logo_Amiibo.png" />
|
|
<None Remove="Ui\Resources\Logo_Discord.png" />
|
|
<None Remove="Ui\Resources\Logo_GitHub.png" />
|
|
<None Remove="Ui\Resources\Logo_Patreon.png" />
|
|
<None Remove="Ui\Resources\Logo_Ryujinx.png" />
|
|
<None Remove="Ui\Resources\Logo_Twitter.png" />
|
|
<None Remove="Ui\Widgets\ProfileDialog.glade" />
|
|
<None Remove="Ui\Windows\ControllerWindow.glade" />
|
|
<None Remove="Ui\Windows\DlcWindow.glade" />
|
|
<None Remove="Ui\Windows\SettingsWindow.glade" />
|
|
<None Remove="Ui\Windows\TitleUpdateWindow.glade" />
|
|
<None Remove="Modules\Updater\UpdateDialog.glade" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<EmbeddedResource Include="Ui\MainWindow.glade" />
|
|
<EmbeddedResource Include="Ui\Resources\Controller_JoyConLeft.svg" />
|
|
<EmbeddedResource Include="Ui\Resources\Controller_JoyConPair.svg" />
|
|
<EmbeddedResource Include="Ui\Resources\Controller_JoyConRight.svg" />
|
|
<EmbeddedResource Include="Ui\Resources\Controller_ProCon.svg" />
|
|
<EmbeddedResource Include="Ui\Resources\Icon_NCA.png" />
|
|
<EmbeddedResource Include="Ui\Resources\Icon_NRO.png" />
|
|
<EmbeddedResource Include="Ui\Resources\Icon_NSO.png" />
|
|
<EmbeddedResource Include="Ui\Resources\Icon_NSP.png" />
|
|
<EmbeddedResource Include="Ui\Resources\Icon_XCI.png" />
|
|
<EmbeddedResource Include="Ui\Resources\Logo_Amiibo.png" />
|
|
<EmbeddedResource Include="Ui\Resources\Logo_Discord.png" />
|
|
<EmbeddedResource Include="Ui\Resources\Logo_GitHub.png" />
|
|
<EmbeddedResource Include="Ui\Resources\Logo_Patreon.png" />
|
|
<EmbeddedResource Include="Ui\Resources\Logo_Ryujinx.png" />
|
|
<EmbeddedResource Include="Ui\Resources\Logo_Twitter.png" />
|
|
<EmbeddedResource Include="Ui\Widgets\ProfileDialog.glade" />
|
|
<EmbeddedResource Include="Ui\Windows\ControllerWindow.glade" />
|
|
<EmbeddedResource Include="Ui\Windows\DlcWindow.glade" />
|
|
<EmbeddedResource Include="Ui\Windows\SettingsWindow.glade" />
|
|
<EmbeddedResource Include="Ui\Windows\TitleUpdateWindow.glade" />
|
|
<EmbeddedResource Include="Modules\Updater\UpdateDialog.glade" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|