Skip to content

Commit

Permalink
Actually _do_ change the latency to 200000 in the PipeWire backend as…
Browse files Browse the repository at this point in the history
… previously promied, duh.
  • Loading branch information
mikebrady committed Sep 27, 2023
1 parent 7fe4861 commit a1dd3ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion audio_pw.c
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ static void start(int sample_rate, int sample_format) {
data.rate = sample_rate;
data.channels = 2;
data.stride = spa_format_samplesize(data.format) * data.channels;
data.latency = 20000; // looks like microseconds
data.latency = 200000; // looks like microseconds

nom = nearbyint((data.latency * data.rate) / 1000000.0);

Expand Down

0 comments on commit a1dd3ad

Please sign in to comment.