window get title: cleanup data

This commit is contained in:
dec05eba
2025-02-10 19:40:22 +01:00
parent fc2f6f4c50
commit 1734d48af6
3 changed files with 20 additions and 24 deletions

View File

@@ -33,11 +33,10 @@ namespace gsr {
return false;
thread = std::thread([this]() {
const pa_sample_spec ss = {
.format = PA_SAMPLE_S16LE,
.rate = 48000,
.channels = 2
};
pa_sample_spec ss;
ss.format = PA_SAMPLE_S16LE;
ss.rate = 48000;
ss.channels = 2;
pa_simple *s = NULL;
int error;