mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-16 19:25:18 +00:00
wasapi2: fix "device" property description
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4651>
This commit is contained in:
parent
c80b0a589a
commit
289bc9c91d
4 changed files with 9 additions and 4 deletions
|
@ -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));
|
||||
|
|
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
|
@ -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));
|
||||
|
||||
|
|
|
@ -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));
|
||||
|
||||
|
|
Loading…
Reference in a new issue