Manifest.json, Channel Router Sync. Alsa device enumeration.

This commit is contained in:
Robin E.R. Davies
2026-02-13 16:06:10 -05:00
parent cf7f499994
commit 564ed914cc
33 changed files with 2001 additions and 1191 deletions
+5 -1
View File
@@ -71,12 +71,16 @@ namespace pipedal {
};
class PiPedalAlsaDevices {
private:
static std::unique_ptr<PiPedalAlsaDevices> instance_;
PiPedalAlsaDevices() { }
std::map<std::string,AlsaDeviceInfo> cachedDevices;
bool getCachedDevice(const std::string&name, AlsaDeviceInfo*pResult);
void cacheDevice(const std::string&name, const AlsaDeviceInfo&deviceInfo);
public:
static PiPedalAlsaDevices&instance();
std::vector<AlsaDeviceInfo> GetAlsaDevices();
};