Skip to content

Commit

Permalink
Use OBS definition for max audio planes
Browse files Browse the repository at this point in the history
  • Loading branch information
dimtpap committed Dec 27, 2022
1 parent b0399eb commit 32889fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pipewire-audio.c
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ static void on_process_cb(void *data)
.samples_per_sec = s->info.sample_rate,
};

for (size_t i = 0; i < buf->n_datas && i < 8; i++) {
for (size_t i = 0; i < buf->n_datas && i < MAX_AV_PLANES; i++) {
out.data[i] = buf->datas[i].data;
}

Expand Down

0 comments on commit 32889fc

Please sign in to comment.