]> git.sesse.net Git - nageru/commit - mixer.cpp
Rework handling of fake cards.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 27 Jul 2016 19:21:24 +0000 (21:21 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 27 Jul 2016 19:24:27 +0000 (21:24 +0200)
commit6f4f5d4a13df2e4562cb9c145fa5b60be2ae63d0
treec5c04745c8d24344b1544bb9b25834670cd902c0
parent6573d8bcb792b70aa74f745e996a299c0e5f08c9
Rework handling of fake cards.

Remove the --num-fake-cards (-C) parameter; instead, allocate PCI and
USB cards first, and then just fill up with the remaining fake cards.
This makes it possible to just run ./nageru and have things work well
by default, no matter how many or few actual cards you have.
bmusb
flags.cpp
flags.h
mixer.cpp