[channels,audin] use freerdp_getApplicationDetailsString

Use proper vendor/product name for pulse sinc.
This commit is contained in:
Armin Novak
2026-02-09 11:51:56 +01:00
parent baf31336a8
commit 4104567d7c

View File

@@ -37,6 +37,7 @@
#include <freerdp/freerdp.h>
#include <freerdp/codec/audio.h>
#include <freerdp/client/audin.h>
#include <freerdp/utils/helpers.h>
#include "audin_main.h"
@@ -493,9 +494,9 @@ static UINT audin_pulse_parse_addin_args(AudinPulseDevice* pulse, const ADDIN_AR
} while ((arg = CommandLineFindNextArgumentA(arg)) != NULL);
if (!client_name)
client_name = "freerdp";
client_name = freerdp_getApplicationDetailsString();
if (!stream_name)
stream_name = "freerdp_audin";
stream_name = freerdp_getApplicationDetailsString();
pulse->client_name = _strdup(client_name);
pulse->stream_name = _strdup(stream_name);