Skip to content

Commit 9da2f23

Browse files
committed
Portaudio error corrections
1 parent 3ab2062 commit 9da2f23

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/AudioTools/PortAudioStream.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class PortAudioInfo : public AudioBaseInfo {
2424
*/
2525
class PortAudioStream : BufferedStream {
2626
public:
27-
PortAudioStream() {
27+
PortAudioStream():BufferedStream(DEFAULT_BUFFER_SIZE) {
2828
}
2929

3030
~PortAudioStream(){
@@ -115,7 +115,7 @@ class PortAudioStream : BufferedStream {
115115
LOGE( "PortAudio error: %s\n", Pa_GetErrorText( err ) );
116116
}
117117
}
118-
return len
118+
return len;
119119
}
120120

121121
PaSampleFormat getFormat(int bitLength){

0 commit comments

Comments
 (0)