ASIO backend, part 6
add support for handling device resets this will be extended to the SDL and PortAudio backends soon
This commit is contained in:
parent
3edf62fc5c
commit
db2f368813
7 changed files with 85 additions and 1 deletions
|
|
@ -3798,6 +3798,16 @@ TAAudioDesc& DivEngine::getAudioDescGot() {
|
|||
return got;
|
||||
}
|
||||
|
||||
TAAudioDeviceStatus DivEngine::getAudioDeviceStatus() {
|
||||
if (output==NULL) return TA_AUDIO_DEVICE_OK;
|
||||
return output->getDeviceStatus();
|
||||
}
|
||||
|
||||
void DivEngine::acceptAudioDeviceStatus() {
|
||||
if (output==NULL) return;
|
||||
output->acceptDeviceStatus();
|
||||
}
|
||||
|
||||
std::vector<String>& DivEngine::getAudioDevices() {
|
||||
return audioDevs;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue