Fix crash on close; Set getDefaultDeviceId; Cleanup
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
b5785743e8
commit
94f6412b4c
2 changed files with 23 additions and 17 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue