diff -r aa7dc7faf1bb -r 358a601bfe81 djm-fix.cpp --- a/djm-fix.cpp Fri May 09 23:17:36 2025 +0200 +++ b/djm-fix.cpp Sun May 11 00:30:03 2025 +0200 @@ -56,7 +56,7 @@ * channels. And this is the purpose of the djm-fix utility and it is done by * sending some magic packet to the mixer. * - * Implementation of this magic in the AlsaBridge.cpp file is based on publicly + * Implementation of this magic in the DJMFix.cpp file is based on publicly * available documentation that can be found at: * - https://swiftb0y.github.io/CDJHidProtocol/hid-analysis/handshake.html * - https://mixb.me/CDJHidProtocol/hid-analysis/handshake.html (formerly). @@ -90,6 +90,7 @@ * * Look for updates in the Mercurial repositories and at: * - https://blog.frantovo.cz/c/387/ + * - https://blog.frantovo.cz/c/396/ */ int main(int argc, char**argv) { @@ -98,7 +99,9 @@ logger(djmfix::logging::create(std::cerr, L::INFO)); try { logger->log(L::INFO, "DJM-Fix started."); - std::string cardNamePattern = argc == 2 ? argv[1] : "Pioneer DJ.*"; + std::string cardNamePattern = argc == 2 + ? argv[1] + : "(Pioneer DJ|AlphaTheta).*"; signal(SIGINT, interrupt); std::unique_ptr djmFix(djmfix::create(logger.get()));