Skip to content

Commit

Permalink
xaudio29: new verb
Browse files Browse the repository at this point in the history
  • Loading branch information
ananace authored and austin987 committed Feb 7, 2024
1 parent 46dfa8f commit 6e1aa1e
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions src/winetricks
Original file line number Diff line number Diff line change
Expand Up @@ -13955,6 +13955,30 @@ load_xact_x64()

#----------------------------------------------------------------

w_metadata xaudio29 dlls \
title="MS XAudio Redistributable 2.9" \
publisher="Microsoft" \
year="2023" \
media="download" \
file1="microsoft.xaudio2.redist.1.2.11.nupkg" \
installed_file1="${W_SYSTEM32_DLLS_WIN}/xaudio2_9.dll"

load_xaudio29()
{
w_download https://www.nuget.org/api/v2/package/Microsoft.XAudio2.Redist/1.2.11 4552e0b5b59de0cdbc6c217261c45f5968f7bbf1e8ab5f208e4bca6fd8fc5780 microsoft.xaudio2.redist.1.2.11.nupkg

w_try_unzip "${W_TMP}" "${W_CACHE}/${W_PACKAGE}/${file1}"
w_try_cp_dll "${W_TMP}/build/native/release/bin/x86/xaudio2_9redist.dll" "${W_SYSTEM32_DLLS}/xaudio2_9.dll"

if [ "${W_ARCH}" = "win64" ]; then
w_try_cp_dll "${W_TMP}/build/native/release/bin/x64/xaudio2_9redist.dll" "${W_SYSTEM64_DLLS}/xaudio2_9.dll"
fi

w_override_dlls native,builtin xaudio2_9
}

#----------------------------------------------------------------

w_metadata xinput dlls \
title="Microsoft XInput (Xbox controller support)" \
publisher="Microsoft" \
Expand Down

0 comments on commit 6e1aa1e

Please sign in to comment.