wasapi2: fix "device" property description

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4651>
This commit is contained in:
Seungha Yang 2023-05-17 03:54:43 +09:00 committed by GStreamer Marge Bot
parent c80b0a589a
commit 289bc9c91d
4 changed files with 9 additions and 4 deletions

View file

@ -437,7 +437,9 @@ gst_wasapi2_client_class_init (GstWasapi2ClientClass * klass)
g_object_class_install_property (gobject_class, PROP_DEVICE,
g_param_spec_string ("device", "Device",
"WASAPI playback device as a GUID string", nullptr, param_flags));
"Audio device ID as provided by "
"Windows.Devices.Enumeration.DeviceInformation.Id",
nullptr, param_flags));
g_object_class_install_property (gobject_class, PROP_DEVICE_NAME,
g_param_spec_string ("device-name", "Device Name",
"The human-readable device name", nullptr, param_flags));

View file

@ -69,7 +69,8 @@ gst_wasapi2_device_class_init (GstWasapi2DeviceClass * klass)
g_object_class_install_property (gobject_class, PROP_DEVICE,
g_param_spec_string ("device", "Device",
"WASAPI playback device as a GUID string", NULL,
"Audio device ID as provided by "
"Windows.Devices.Enumeration.DeviceInformation.Id", NULL,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS));
}

View file

@ -123,7 +123,8 @@ gst_wasapi2_sink_class_init (GstWasapi2SinkClass * klass)
g_object_class_install_property (gobject_class, PROP_DEVICE,
g_param_spec_string ("device", "Device",
"WASAPI playback device as a GUID string",
"Audio device ID as provided by "
"Windows.Devices.Enumeration.DeviceInformation.Id",
NULL, GST_PARAM_MUTABLE_READY | G_PARAM_READWRITE |
G_PARAM_STATIC_STRINGS));

View file

@ -193,7 +193,8 @@ gst_wasapi2_src_class_init (GstWasapi2SrcClass * klass)
g_object_class_install_property (gobject_class, PROP_DEVICE,
g_param_spec_string ("device", "Device",
"WASAPI playback device as a GUID string",
"Audio device ID as provided by "
"Windows.Devices.Enumeration.DeviceInformation.Id",
NULL, GST_PARAM_MUTABLE_READY | G_PARAM_READWRITE |
G_PARAM_STATIC_STRINGS));