mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Updated some Oboe calls that had changed name
This commit is contained in:
parent
61e2e80581
commit
9054620d67
1 changed files with 5 additions and 2 deletions
|
|
@ -488,7 +488,10 @@ private:
|
|||
|
||||
int getXRunCount() const
|
||||
{
|
||||
return stream != nullptr ? stream->getXRunCount() : 0;
|
||||
if (auto xruns = stream->getXRunCount())
|
||||
return xruns.value();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
private:
|
||||
|
|
@ -511,7 +514,7 @@ private:
|
|||
builder.setChannelCount (channelCount);
|
||||
builder.setFormat (format);
|
||||
builder.setSampleRate (sampleRate);
|
||||
builder.setDefaultFramesPerBurst ((int32) defaultFramesPerBurst);
|
||||
builder.setFramesPerCallback ((int32) defaultFramesPerBurst);
|
||||
builder.setPerformanceMode (oboe::PerformanceMode::LowLatency);
|
||||
builder.setCallback (callback);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue