mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
This commit is contained in:
parent
1ab50e37e6
commit
9fc74e09a8
2 changed files with 21 additions and 25 deletions
|
|
@ -773,7 +773,9 @@ public:
|
|||
|
||||
bool isPlaying()
|
||||
{
|
||||
return isASIOOpen && (isThreadRunning() || !isUsingThread) && (currentCallback != 0);
|
||||
return isASIOOpen
|
||||
&& (isThreadRunning() || ! isUsingThread)
|
||||
&& (currentCallback != 0);
|
||||
}
|
||||
|
||||
const String getLastError()
|
||||
|
|
@ -849,12 +851,12 @@ public:
|
|||
}
|
||||
}
|
||||
|
||||
void resetRequest()
|
||||
void resetRequest() throw()
|
||||
{
|
||||
needToReset = true;
|
||||
}
|
||||
|
||||
void resyncRequest()
|
||||
void resyncRequest() throw()
|
||||
{
|
||||
needToReset = true;
|
||||
isReSync = true;
|
||||
|
|
@ -1241,7 +1243,7 @@ private:
|
|||
}
|
||||
|
||||
//==============================================================================
|
||||
void callback (long index)
|
||||
void callback (const long index) throw()
|
||||
{
|
||||
if (isStarted)
|
||||
{
|
||||
|
|
@ -1268,7 +1270,7 @@ private:
|
|||
calledback = true;
|
||||
}
|
||||
|
||||
void processBuffer()
|
||||
void processBuffer() throw()
|
||||
{
|
||||
const ASIOBufferInfo* const infos = bufferInfos;
|
||||
const int bi = bufferIndex;
|
||||
|
|
@ -1416,7 +1418,7 @@ private:
|
|||
}
|
||||
|
||||
//==============================================================================
|
||||
static ASIOTime* bufferSwitchTimeInfoCallback (ASIOTime*, long index, long)
|
||||
static ASIOTime* bufferSwitchTimeInfoCallback (ASIOTime*, long index, long) throw()
|
||||
{
|
||||
if (currentASIODev != 0)
|
||||
currentASIODev->callback (index);
|
||||
|
|
@ -1424,13 +1426,13 @@ private:
|
|||
return 0;
|
||||
}
|
||||
|
||||
static void bufferSwitchCallback (long index, long)
|
||||
static void bufferSwitchCallback (long index, long) throw()
|
||||
{
|
||||
if (currentASIODev != 0)
|
||||
currentASIODev->callback (index);
|
||||
}
|
||||
|
||||
static long asioMessagesCallback (long selector, long value, void*, double*)
|
||||
static long asioMessagesCallback (long selector, long value, void*, double*) throw()
|
||||
{
|
||||
switch (selector)
|
||||
{
|
||||
|
|
@ -1472,7 +1474,7 @@ private:
|
|||
return 0;
|
||||
}
|
||||
|
||||
static void sampleRateChangedCallback (ASIOSampleRate)
|
||||
static void sampleRateChangedCallback (ASIOSampleRate) throw()
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue