Opus stuff
This commit is contained in:
parent
ebb798f0ef
commit
e7bc79098b
|
@ -163,8 +163,6 @@ OpusLibEncoder :: open ( void )
|
||||||
internalBufferLength = 0;
|
internalBufferLength = 0;
|
||||||
memset( internalBuffer, 0, bufferSize);
|
memset( internalBuffer, 0, bufferSize);
|
||||||
|
|
||||||
reconnectError = false;
|
|
||||||
|
|
||||||
int err;
|
int err;
|
||||||
opusEncoder = opus_encoder_create( getOutSampleRate(),
|
opusEncoder = opus_encoder_create( getOutSampleRate(),
|
||||||
getInChannel(),
|
getInChannel(),
|
||||||
|
@ -313,6 +311,7 @@ OpusLibEncoder :: open ( void )
|
||||||
}
|
}
|
||||||
|
|
||||||
encoderOpen = true;
|
encoderOpen = true;
|
||||||
|
reconnectError = false;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue