1.1 --- a/djm-fix.cpp Fri May 09 23:17:36 2025 +0200
1.2 +++ b/djm-fix.cpp Sun May 11 00:30:03 2025 +0200
1.3 @@ -56,7 +56,7 @@
1.4 * channels. And this is the purpose of the djm-fix utility and it is done by
1.5 * sending some magic packet to the mixer.
1.6 *
1.7 - * Implementation of this magic in the AlsaBridge.cpp file is based on publicly
1.8 + * Implementation of this magic in the DJMFix.cpp file is based on publicly
1.9 * available documentation that can be found at:
1.10 * - https://swiftb0y.github.io/CDJHidProtocol/hid-analysis/handshake.html
1.11 * - https://mixb.me/CDJHidProtocol/hid-analysis/handshake.html (formerly).
1.12 @@ -90,6 +90,7 @@
1.13 *
1.14 * Look for updates in the Mercurial repositories and at:
1.15 * - https://blog.frantovo.cz/c/387/
1.16 + * - https://blog.frantovo.cz/c/396/
1.17 */
1.18
1.19 int main(int argc, char**argv) {
1.20 @@ -98,7 +99,9 @@
1.21 logger(djmfix::logging::create(std::cerr, L::INFO));
1.22 try {
1.23 logger->log(L::INFO, "DJM-Fix started.");
1.24 - std::string cardNamePattern = argc == 2 ? argv[1] : "Pioneer DJ.*";
1.25 + std::string cardNamePattern = argc == 2
1.26 + ? argv[1]
1.27 + : "(Pioneer DJ|AlphaTheta).*";
1.28
1.29 signal(SIGINT, interrupt);
1.30 std::unique_ptr<djmfix::DJMFix> djmFix(djmfix::create(logger.get()));