mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
CoreAudio: Report error if combined devices don't share a common sample rate
This commit is contained in:
parent
3323c68f96
commit
988d65e24f
1 changed files with 3 additions and 0 deletions
|
|
@ -1290,6 +1290,9 @@ public:
|
|||
|
||||
if (currentBufferSize == 0)
|
||||
currentBufferSize = devicePtr->getCurrentBufferSizeSamples();
|
||||
|
||||
if (getAvailableSampleRates().isEmpty())
|
||||
lastError = TRANS("The input and output devices don't share a common sample rate!");
|
||||
}
|
||||
|
||||
Array<AudioIODevice*> getDevices() const
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue