]> git.alsa-project.org Git - alsa-gobject.git/commitdiff
seq: user_client: correct ioctl command to update queue
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sat, 13 Jun 2020 01:20:47 +0000 (10:20 +0900)
committer坂本 貴史 <o-takashi@sakamocchi.jp>
Sat, 13 Jun 2020 01:34:33 +0000 (10:34 +0900)
Fixes: 2ab3feab20d3 ("seq: user_client: add APIs to create/delete/update queue")
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
src/seq/user-client.c

index 21ece7b78aab10189e12d33569302661969a09e8..05d40a8f4a4f6b72b0c8550e183c6406c0b98abc 100644 (file)
@@ -607,7 +607,7 @@ void alsaseq_user_client_update_queue(ALSASeqUserClient *self,
 
     seq_queue_info_refer_private(queue_info, &info);
 
-    if (ioctl(priv->fd, SNDRV_SEQ_IOCTL_CREATE_QUEUE, info) < 0)
+    if (ioctl(priv->fd, SNDRV_SEQ_IOCTL_SET_QUEUE_INFO, info) < 0)
         generate_error(error, errno);
 }