Step 1: Install WineASIO
If you use ubuntu, run this in a terminal:
sudo apt-get install software-properties-common wget sudo add-apt-repository ppa:kxstudio-debian/kxstudio sudo apt-get update sudo apt-get install kxstudio-repos sudo apt-get update sudo apt-get install wineasio
If you use arch linux (like real men do):
Add the Arch Audio repository, then run in a terminal:
sudo pacman -Sy wineasio
Step 2: Register WineASIO
If you have a 32-bit WINE prefix, or you have a 64-bit one, and you want to run a 32-bit ASIO application (e.g. a DAW), run this:
regsvr32 wineasio
If you have a 64-bit WINE prefix, and you want to run a 64-bit ASIO application:
wine64 regsvr32 wineasio
If everything went smoothly, you should see a message similar to:
Successfully registered DLL wineasio.dll
However, you may receive:
Failed to load DLL wineasio.dll
In my case, the reason why this message occurred, is that wineasio.dll was installed to the wrong location. I had 2 problems, actually. It was first installed to /usr/lib/wine, not /usr/local/lib/wine (I have a custom-built version of WINE), and second, even if it had been installed to /usr/local/lib/wine, it wouldn’t have worked, because, in my case, WINE loaded 64-bit libraries only from /usr/local/lib64/wine, and 32-bit libraries only from /usr/local/lib/wine. The package had installed the 32-bit version of wineasio to /usr/lib32/wine, and the 64-bit version to /usr/lib/wine.
Try moving the wineasio .so’s to these places:
- 64-bit wineasio .so: /usr/lib64/wine
- 32-bit wineasio .so: /usr/lib/wine
Then try again. If you still have problems, leave a comment below, and I’ll try my best to help =)
Step 3: Setup JACK
WineASIO uses JACK as the backend for the audio, so, not surprisingly, JACK has to be setup correctly for WineASIO to function correctly. I wrote an article a while back about how to do this.
Step 4: Profit!
It’s that simple! Now all you have to do is to load up the application you want, and set the ASIO driver to WineASIO =)
