mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
alsa: update for new task api
This commit is contained in:
parent
5bdfd6d899
commit
7cd83031a1
1 changed files with 1 additions and 1 deletions
|
@ -497,7 +497,7 @@ gst_alsa_mixer_new (const char *device, GstAlsaMixerDirection dir)
|
|||
ret->task_mutex = g_new (GStaticRecMutex, 1);
|
||||
g_static_rec_mutex_init (ret->task_mutex);
|
||||
|
||||
ret->task = gst_task_create (task_monitor_alsa, ret);
|
||||
ret->task = gst_task_new (task_monitor_alsa, ret);
|
||||
gst_task_set_lock (ret->task, ret->task_mutex);
|
||||
|
||||
ret->device = g_strdup (device);
|
||||
|
|
Loading…
Reference in a new issue