ASIO support in Audacity 2.4.2
Forum rules
If you require help using Audacity, please post on the forum board relevant to your operating system:
Windows
Mac OS X
GNU/Linux and Unix-like
If you require help using Audacity, please post on the forum board relevant to your operating system:
Windows
Mac OS X
GNU/Linux and Unix-like
ASIO support in Audacity 2.4.2
This post is only relevant to people that are building Audacity from source on Windows 10 for the purpose of adding support for ASIO.
At time of release, ASIO support was not available in the Audacity 2.4.2 code, but will be available again in Audacity 3.0.0.
At time of posting, Audacity 3.0.0 is in early alpha development and is not yet ready for production work, so one of the Audacity developers has kindly provided a patch for Audacity 2.4.2. This attached patch adds the ability to build Audacity 2.4.2 (on Windows 10) with ASIO support.
At time of release, ASIO support was not available in the Audacity 2.4.2 code, but will be available again in Audacity 3.0.0.
At time of posting, Audacity 3.0.0 is in early alpha development and is not yet ready for production work, so one of the Audacity developers has kindly provided a patch for Audacity 2.4.2. This attached patch adds the ability to build Audacity 2.4.2 (on Windows 10) with ASIO support.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
-
- Posts: 18
- Joined: Fri Dec 21, 2018 1:41 am
- Operating System: Windows 10
Re: ASIO support in Audacity 2.4.2
I was going to try to just cherry pick 1ec7fd56c166f2d2a7c343d8f023fc2485d463dd on top of 2.4.2 Looks like this patch does exactly that. Will post again if it builds successfully
-
- Posts: 18
- Joined: Fri Dec 21, 2018 1:41 am
- Operating System: Windows 10
Re: ASIO support in Audacity 2.4.2
Audacity.exe compiles fine, and the two failing projects still fail, however there is still no ASIO support on the compiled exe
Re: ASIO support in Audacity 2.4.2
Good news! Please go back to the old ASIO build methodology via "audacity.sln"; that worked well. Meantime, 2.4.1 does what I need. Thanks.
-
- Posts: 18
- Joined: Fri Dec 21, 2018 1:41 am
- Operating System: Windows 10
Re: ASIO support in Audacity 2.4.2
I've submitted a PR, which the sole commit fixes the previous patch, so that ASIO does actually compile. Here is an updated patch.
If you already applied the first patch then the following patch can be applied on top of that patch.
I was able to compile it in x32 Release with VSCE 2017.
Last edited by micsthepick on Fri Jul 17, 2020 10:50 pm, edited 1 time in total.
Re: ASIO support in Audacity 2.4.2
How/where is this patch called into the build process? Is it referenced in CMake? Thanks.
-
- Posts: 18
- Joined: Fri Dec 21, 2018 1:41 am
- Operating System: Windows 10
Re: ASIO support in Audacity 2.4.2
Yes, if you install the patch, all you need to do is run CMAKE again, then build the solution that CMAKE generates - If you've already compiled WX.
Re: ASIO support in Audacity 2.4.2
Hello everyone,
I have only very little programming skills, but I have always managed to compile the current Audacity version with ASIO support.
Unfortunately, in the current version 2.4.2 it does not work for me anymore. I get 38 errors when compiling and I think this is due to the missing ASIO patch that was provided here.
Maybe someone can tell me how exactly I can insert this patch into the source code.
I would be grateful for any help.
Best regards
Christian
I have only very little programming skills, but I have always managed to compile the current Audacity version with ASIO support.
Unfortunately, in the current version 2.4.2 it does not work for me anymore. I get 38 errors when compiling and I think this is due to the missing ASIO patch that was provided here.
Maybe someone can tell me how exactly I can insert this patch into the source code.
I would be grateful for any help.
Best regards
Christian
-
- Posts: 18
- Joined: Fri Dec 21, 2018 1:41 am
- Operating System: Windows 10
Re: ASIO support in Audacity 2.4.2
sure, use this tool: https://git-scm.com/docs/git-apply
it comes with git, so assuming that you managed to clone audacity/wxwidgets with the correct 3.1.3-audacity-fixes branch, then all you need to do is open a terminal in the audacity repo and run
Code: Select all
git apply asio.patch
Re: ASIO support in Audacity 2.4.2
Hello micsthepick,
Audacity works, also the ASIO implementation but I still get these 38 errors during the compile process. Strangely enough, those errors do not occur when compiling Audacity 3.0.0 alpha. I will now see if everything I need is working and if necessary open a separate threat for it.
Thanks again!
Best Regards
Christian
thanks so lot. That worked...sort of.micsthepick wrote: ↑Fri Jul 24, 2020 4:12 amsure, use this tool: https://git-scm.com/docs/git-apply
it comes with git, so assuming that you managed to clone audacity/wxwidgets with the correct 3.1.3-audacity-fixes branch, then all you need to do is open a terminal in the audacity repo and runCode: Select all
git apply asio.patch
Audacity works, also the ASIO implementation but I still get these 38 errors during the compile process. Strangely enough, those errors do not occur when compiling Audacity 3.0.0 alpha. I will now see if everything I need is working and if necessary open a separate threat for it.
Thanks again!
Best Regards
Christian