Skip to content

Commit 2c0248c

Browse files
committed
Fix linux ?
1 parent 77cdb24 commit 2c0248c

File tree

1 file changed

+2
-2
lines changed
  • thirdparty/bungee_library/upstream/bungee

1 file changed

+2
-2
lines changed

thirdparty/bungee_library/upstream/bungee/Stream.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ class Stream
155155
{
156156
if (processGrain)
157157
{
158-
if (!isnan(request.position))
158+
if (!std::isnan(request.position))
159159
{
160160
inputBuffer.analyseGrain();
161161
inputBuffer.stretcher.synthesiseGrain(outputChunk);
@@ -172,7 +172,7 @@ class Stream
172172
inputBuffer.inputChunk = inputBuffer.stretcher.specifyGrain(request);
173173
}
174174

175-
if (outputChunk.request[0] && !isnan(outputChunk.request[0]->position))
175+
if (outputChunk.request[0] && !std::isnan(outputChunk.request[0]->position))
176176
{
177177
const int need = round(framesNeeded) - frameCounter;
178178
const int available = outputChunk.frameCount - outputChunkConsumed;

0 commit comments

Comments
 (0)