forked from Green-Sky/tomato
further small reframer fixes, workaround distortion bug by wrapping sdl
input with reframer (magic fix, someone pls tell my why)
This commit is contained in:
@@ -58,7 +58,8 @@ struct ToxAVCallAudioSink : public FrameStream2SinkI<AudioFrame2> {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
_writer = std::make_shared<AudioStreamPopReFramer<LockedFrameStream2<AudioFrame2>>>();
|
||||
// 20ms for now, 10ms would work too, further investigate stutters at 5ms (probably too slow interval rate)
|
||||
_writer = std::make_shared<AudioStreamPopReFramer<LockedFrameStream2<AudioFrame2>>>(20);
|
||||
|
||||
return _writer;
|
||||
}
|
||||
|
Reference in New Issue
Block a user