Deal with legacay alsa drivers misreporting available channels.
This commit is contained in:
+17
-2
@@ -27,9 +27,11 @@
|
||||
#include "PiPedalAlsa.hpp"
|
||||
|
||||
using namespace pipedal;
|
||||
using namespace std;
|
||||
|
||||
TEST_CASE( "ALSA Test", "[pipedal_alsa_test][Build][Dev]" ) {
|
||||
|
||||
static void DiscoveryTest()
|
||||
{
|
||||
cout << "--- Discovery" << endl;
|
||||
PiPedalAlsaDevices devices;
|
||||
auto result = devices.GetAlsaDevices();
|
||||
std::cout << result.size() << " ALSA devices found." << std::endl;
|
||||
@@ -42,5 +44,18 @@ TEST_CASE( "ALSA Test", "[pipedal_alsa_test][Build][Dev]" ) {
|
||||
|
||||
}
|
||||
|
||||
void ChannelConfigtest()
|
||||
{
|
||||
cout << "--- Channel Config Test" << endl;
|
||||
|
||||
}
|
||||
|
||||
TEST_CASE( "ALSA Test", "[pipedal_alsa_test][Build][Dev]" ) {
|
||||
DiscoveryTest();
|
||||
|
||||
ChannelConfigTest();
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user