[client] audio: make the requested audio device period size configurable
This adds a new `audio:periodSize` option which defaults to 2048 frames. For PipeWire, this controls the `PIPEWIRE_LATENCY` value. For PulseAudio, the controls the target buffer length (`tlength`) value.
This commit is contained in:
1 parent
0dad9b1e76
commit
9908b737b0
6 files changed
+61
-33
No files matched your search
@@ -199,6 +199,8 @@ struct AppParams
|
||||
bool autoCapture;
|
||||
bool captureInputOnly;
|
||||
bool showCursorDot;
|
||||
|
||||
int audioPeriodSize;
|
||||
};
|
||||
|
||||
struct CBRequest
|
||||
|
||||
Reference in new issue
Block a user