hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/include/sound/seq_kernel.h
....@@ -1,25 +1,10 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 #ifndef __SOUND_SEQ_KERNEL_H
23 #define __SOUND_SEQ_KERNEL_H
34
45 /*
56 * Main kernel header file for the ALSA sequencer
67 * Copyright (c) 1998 by Frank van de Pol <fvdpol@coil.demon.nl>
7
- *
8
- *
9
- * This program is free software; you can redistribute it and/or modify
10
- * it under the terms of the GNU General Public License as published by
11
- * the Free Software Foundation; either version 2 of the License, or
12
- * (at your option) any later version.
13
- *
14
- * This program is distributed in the hope that it will be useful,
15
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
- * GNU General Public License for more details.
18
- *
19
- * You should have received a copy of the GNU General Public License
20
- * along with this program; if not, write to the Free Software
21
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22
- *
238 */
249 #include <linux/time.h>
2510 #include <sound/asequencer.h>
....@@ -73,7 +58,8 @@
7358 int snd_seq_create_kernel_client(struct snd_card *card, int client_index,
7459 const char *name_fmt, ...);
7560 int snd_seq_delete_kernel_client(int client);
76
-int snd_seq_kernel_client_enqueue(int client, struct snd_seq_event *ev, int atomic, int hop);
61
+int snd_seq_kernel_client_enqueue(int client, struct snd_seq_event *ev,
62
+ struct file *file, bool blocking);
7763 int snd_seq_kernel_client_dispatch(int client, struct snd_seq_event *ev, int atomic, int hop);
7864 int snd_seq_kernel_client_ctl(int client, unsigned int cmd, void *arg);
7965