Fix crash on close; Set getDefaultDeviceId; Cleanup

Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
falkTX 2021-10-20 12:02:47 +01:00
parent b5785743e8
commit 94f6412b4c
No known key found for this signature in database
GPG key ID: CDBAA37ABC74FBA0
2 changed files with 23 additions and 17 deletions

View file

@ -114,7 +114,12 @@ struct CardinalAudioDriver : rack::audio::Driver {
std::vector<int> getDeviceIds() override
{
return std::vector<int>({ 1 });
return std::vector<int>({ 0 });
}
int getDefaultDeviceId() override
{
return 0;
}
std::string getDeviceName(int) override