alsadeviceprovider: Remove redundant start function

The ALSA provider doesn't provider live monitoring, so don't
pretend otherwise.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/735>
This commit is contained in:
Olivier Crête 2020-07-06 14:46:33 -04:00 committed by GStreamer Merge Bot
parent e762f1b376
commit 2de70ed7c5

View file

@ -92,8 +92,6 @@ add_device (GstDeviceProvider * provider, snd_ctl_t * info,
snd_pcm_close (handle);
gst_device_provider_device_add (provider, gst_object_ref (device));
return device;
}
@ -169,23 +167,6 @@ beach:
}
static gboolean
gst_alsa_device_provider_start (GstDeviceProvider * provider)
{
g_list_free_full (gst_alsa_device_provider_probe (provider),
gst_object_unref);
/* TODO - Implement monitoring support */
return TRUE;
}
static void
gst_alsa_device_provider_stop (GstDeviceProvider * provider)
{
return;
}
enum
{
PROP_0,
@ -199,8 +180,6 @@ gst_alsa_device_provider_class_init (GstAlsaDeviceProviderClass * klass)
GstDeviceProviderClass *dm_class = GST_DEVICE_PROVIDER_CLASS (klass);
dm_class->probe = gst_alsa_device_provider_probe;
dm_class->start = gst_alsa_device_provider_start;
dm_class->stop = gst_alsa_device_provider_stop;
gst_device_provider_class_set_static_metadata (dm_class,
"ALSA Device Provider", "Sink/Source/Audio",