ASIO backend, part 1

DOES NOT FUCKING PLAY SOUND, so don't complain if you can't hear a thing

OK?!?!!
This commit is contained in:
tildearrow 2025-10-25 00:16:15 -05:00
parent 63685ed0a5
commit 57f3b9cd4d
6 changed files with 392 additions and 1 deletions

View file

@ -274,8 +274,13 @@ TAParamResult pLogLevel(String val) {
TAParamResult pVersion(String) {
printf("Furnace version " DIV_VERSION ".\n\n");
printf("copyright (C) 2021-2025 tildearrow and contributors.\n");
#ifdef FURNACE_GPL3
printf("licensed under the GNU General Public License version 3\n");
printf("<https://www.gnu.org/licenses/gpl-3.0.en.html>.\n\n");
#else
printf("licensed under the GNU General Public License version 2 or later\n");
printf("<https://www.gnu.org/licenses/old-licenses/gpl-2.0.html>.\n\n");
#endif
printf("this is free software with ABSOLUTELY NO WARRANTY.\n");
printf("pass the -warranty parameter for more information.\n\n");
printf("DISCLAIMER: this program is not affiliated with Delek in any form.\n");
@ -296,6 +301,9 @@ TAParamResult pVersion(String) {
printf("- zlib by Jean-loup Gailly and Mark Adler (zlib license)\n");
printf("- PortAudio (PortAudio license)\n");
printf("- Weak-JACK by x42 (GPLv2)\n");
#ifdef HAVE_ASIO
printf("- ASIO® by Steinberg (GPLv3)\n");
#endif
printf("- RtMidi by Gary P. Scavone (RtMidi license)\n");
printf("- backward-cpp by Google (MIT)\n");
printf("- Dear ImGui by Omar Cornut (MIT)\n");
@ -360,10 +368,26 @@ TAParamResult pVersion(String) {
printf("- SID2 emulator by LTVA (GPLv2, modification of reSID emulator)\n");
printf("- SID3 emulator by LTVA (MIT)\n");
printf("- openMSX YMF278 emulator (modified version) by the openMSX developers (GPLv2)\n");
#ifdef HAVE_ASIO
printf("\nASIO is a registered trademark of Steinberg Media Technologies GmbH.\n");
#endif
return TA_PARAM_QUIT;
}
TAParamResult pWarranty(String) {
#ifdef FURNACE_GPL3
printf("This program is free software: you can redistribute it and/or modify\n"
"it under the terms of the GNU General Public License as published by\n"
"the Free Software Foundation, version 3.\n\n"
"This program is distributed in the hope that it will be useful,\n"
"but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n"
"GNU General Public License for more details.\n\n"
"You should have received a copy of the GNU General Public License\n"
"along with this program. If not, see <https://www.gnu.org/licenses/>.\n");
#else
printf("This program is free software; you can redistribute it and/or\n"
"modify it under the terms of the GNU General Public License\n"
"as published by the Free Software Foundation; either version 2\n"
@ -377,6 +401,7 @@ TAParamResult pWarranty(String) {
"You should have received a copy of the GNU General Public License\n"
"along with this program; if not, write to the Free Software\n"
"Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n");
#endif
return TA_PARAM_QUIT;
}