diff --git a/src/sound_lib/lib/x64/bass.dll b/src/sound_lib/lib/x64/bass.dll index 796a1cc1..e6448d91 100644 Binary files a/src/sound_lib/lib/x64/bass.dll and b/src/sound_lib/lib/x64/bass.dll differ diff --git a/src/sound_lib/lib/x64/bass_alac.dll b/src/sound_lib/lib/x64/bass_alac.dll index 36d8d303..b2919ff4 100644 Binary files a/src/sound_lib/lib/x64/bass_alac.dll and b/src/sound_lib/lib/x64/bass_alac.dll differ diff --git a/src/sound_lib/lib/x64/bassflac.dll b/src/sound_lib/lib/x64/bassflac.dll index 34399750..572b677b 100644 Binary files a/src/sound_lib/lib/x64/bassflac.dll and b/src/sound_lib/lib/x64/bassflac.dll differ diff --git a/src/sound_lib/lib/x64/bassmidi.dll b/src/sound_lib/lib/x64/bassmidi.dll index 5aa80cba..6205d524 100644 Binary files a/src/sound_lib/lib/x64/bassmidi.dll and b/src/sound_lib/lib/x64/bassmidi.dll differ diff --git a/src/sound_lib/lib/x64/bassmix.dll b/src/sound_lib/lib/x64/bassmix.dll index d15ac186..5857aa4f 100644 Binary files a/src/sound_lib/lib/x64/bassmix.dll and b/src/sound_lib/lib/x64/bassmix.dll differ diff --git a/src/sound_lib/lib/x64/bassopus.dll b/src/sound_lib/lib/x64/bassopus.dll index f7ede3f9..dba0423c 100644 Binary files a/src/sound_lib/lib/x64/bassopus.dll and b/src/sound_lib/lib/x64/bassopus.dll differ diff --git a/src/sound_lib/lib/x64/basswasapi.dll b/src/sound_lib/lib/x64/basswasapi.dll index 47868f86..cba098fe 100644 Binary files a/src/sound_lib/lib/x64/basswasapi.dll and b/src/sound_lib/lib/x64/basswasapi.dll differ diff --git a/src/sound_lib/lib/x64/basswma.dll b/src/sound_lib/lib/x64/basswma.dll index 77afd097..24a64400 100644 Binary files a/src/sound_lib/lib/x64/basswma.dll and b/src/sound_lib/lib/x64/basswma.dll differ diff --git a/src/sound_lib/lib/x86/bass.dll b/src/sound_lib/lib/x86/bass.dll index 502251e0..a1efc04f 100644 Binary files a/src/sound_lib/lib/x86/bass.dll and b/src/sound_lib/lib/x86/bass.dll differ diff --git a/src/sound_lib/lib/x86/bass_alac.dll b/src/sound_lib/lib/x86/bass_alac.dll index 5bc7b9cc..e879f20d 100644 Binary files a/src/sound_lib/lib/x86/bass_alac.dll and b/src/sound_lib/lib/x86/bass_alac.dll differ diff --git a/src/sound_lib/lib/x86/bassflac.dll b/src/sound_lib/lib/x86/bassflac.dll index 6497b6c7..1b84e1af 100644 Binary files a/src/sound_lib/lib/x86/bassflac.dll and b/src/sound_lib/lib/x86/bassflac.dll differ diff --git a/src/sound_lib/lib/x86/bassmidi.dll b/src/sound_lib/lib/x86/bassmidi.dll index 66330ffb..3a10d18f 100644 Binary files a/src/sound_lib/lib/x86/bassmidi.dll and b/src/sound_lib/lib/x86/bassmidi.dll differ diff --git a/src/sound_lib/lib/x86/bassmix.dll b/src/sound_lib/lib/x86/bassmix.dll index 873881f2..6c258e3e 100644 Binary files a/src/sound_lib/lib/x86/bassmix.dll and b/src/sound_lib/lib/x86/bassmix.dll differ diff --git a/src/sound_lib/lib/x86/bassopus.dll b/src/sound_lib/lib/x86/bassopus.dll index c41456a1..53b5ade8 100644 Binary files a/src/sound_lib/lib/x86/bassopus.dll and b/src/sound_lib/lib/x86/bassopus.dll differ diff --git a/src/sound_lib/lib/x86/basswasapi.dll b/src/sound_lib/lib/x86/basswasapi.dll index 4a3dc9e2..9877a2b4 100644 Binary files a/src/sound_lib/lib/x86/basswasapi.dll and b/src/sound_lib/lib/x86/basswasapi.dll differ diff --git a/src/sound_lib/lib/x86/basswma.dll b/src/sound_lib/lib/x86/basswma.dll index 7f419c21..80f2444d 100644 Binary files a/src/sound_lib/lib/x86/basswma.dll and b/src/sound_lib/lib/x86/basswma.dll differ diff --git a/tools/update_bass.py b/tools/update_bass.py deleted file mode 100644 index c50ea753..00000000 --- a/tools/update_bass.py +++ /dev/null @@ -1,42 +0,0 @@ -import urllib.request -import shutil -import zipfile -import os -def get_lib_url(lib): - "Returns the standard URL for a library." - finname="{}.zip".format(lib) - return "http://us.un4seen.com/files/{}".format(finname) - -def get_library(lib,url=None): - "Download and extract a Bass library archive into a temporary directory." - if not url: - url=get_lib_url(lib) - finname="{}.zip".format(lib) - with urllib.request.urlopen(url) as fin, open(finname, "wb") as cam: - shutil.copyfileobj(fin, cam) - with zipfile.ZipFile("{}".format(finname),"r") as zipfin: - zipfin.extractall("temp") - os.remove(finname) - -def prepare_libs(): - "Prepare library directory structure." - #Move x64 directory out of temp. - shutil.move(os.path.join("temp","x64"),os.path.join(os.getcwd(),"x64")) - #Remove mp3-free directory - shutil.rmtree("x64/mp3-free",ignore_errors=True) - #Create x86 directory. - if not os.path.exists("x86"): - os.makedirs("x86") - for file in os.listdir(os.fsencode("temp")): - if b".dll" in file: - shutil.move(os.path.join(b"temp",file),os.path.join(b"x86",file)) - # Cleanup - shutil.rmtree("temp") -if __name__ == '__main__': - libs=['bass', 'bassflac', 'bassmidi', 'bassmix', 'bassopus24', 'basswasapi', 'basswma', 'bassalac24'] - #Download the libraries - for lib in libs: - print("Fetching {}...".format(lib)) - get_library(lib) - print("Finalizing...") - prepare_libs() \ No newline at end of file