Skip to content

Commit 39892e9

Browse files
committed
PortAudio boolean operator
1 parent 63d72d6 commit 39892e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AudioTools/PortAudioStream.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ class PortAudioStream : public BufferedStream {
9292
}
9393

9494
operator boolean() {
95-
return err != paNoError;
95+
return err == paNoError;
9696
}
9797

9898
protected:

0 commit comments

Comments
 (0)