KinsonDigital / CASL

Cross-platform library for playing and managing sounds.
MIT License
29 stars 5 forks source link

🚧Update OpenAL #102

Open CalvinWilkinson opened 1 year ago

CalvinWilkinson commented 1 year ago

Complete The Item Below

Description

Update the OpenAL libraries.

The current version being used is v1.21.1. The version to update should be v1.23.0. For the windows binaries, make sure to right click each file and confirm the versions.

In the project, there is a directory where you need to put the libraries for each platform. The 3 platforms are linux-64, win-x64, and win-x86.

We are not supporting win-x86 anymore. This directory can be deleted. There is also some setup in the csproj file to pack the win-x86 version of the file into the NuGet package. This can be removed. Refer to diff below.

<Target Name="AddNativeWindowLibsToNugetPackage" AfterTargets="Build" Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU' Or '$(Configuration)|$(Platform)'=='Release|AnyCPU'">
    <ItemGroup>
      <!--WINDOWS-->
-      <Content Include="$(ProjectDir)OpenAL\libs\win-x86\*.dll" Pack="true" PackagePath="\runtimes\win-x86\native" />
      <Content Include="$(ProjectDir)OpenAL\libs\win-x64\*.dll" Pack="true" PackagePath="\runtimes\win-x64\native" />

      <!--LINUX-->
      <Content Include="$(ProjectDir)OpenAL\libs\linux-x64\*.so*" Pack="true" PackagePath="\runtimes\linux-x64\native" />
    </ItemGroup>
  </Target>

Other Info:

Windows Get the Windows binaries here

Linux: Linux binaries are not available and must be built.

Acceptance Criteria

ToDo Items

Issue Dependencies

No response

Related Work

No response

Additional Information:

Change Type Labels

Change Type Label
Bug Fixes 🐛bug
Breaking Changes 🧨breaking changes
New Feature ✨new feature
Workflow Changes workflow
Code Doc Changes 🗒️documentation/code
Product Doc Changes 📝documentation/product

Priority Type Labels

Priority Type Label
Low Priority low priority
Medium Priority medium priority
High Priority high priority

Code of Conduct

CalvinWilkinson commented 8 months ago

Issue put on hold until the research results have been completed with the issue below:

The reason is because if OpenAL is replaced by RayLib, then there is no point in trying to update to the latest library

CalvinWilkinson commented 4 months ago

Issue put on hold until the research results have been completed with the issue below:

The reason is because if OpenAL is replaced by RayLib, then there is no point in trying to update to the latest library

Issue taken off of hold status.

Reason: The reason is that the research into the raylib replacement ended in a decision to keep using OpenAL to not lose maximum control over audio.