nfsd4: typo logical vs bitwise negate for want_mask
[linux-btrfs-devel.git] / sound / core / seq / seq_system.h
blobcf2cfa23430ed866ffa19b71021aa4e72e1d2870
1 /*
2 * ALSA sequencer System Client
3 * Copyright (c) 1998 by Frank van de Pol <fvdpol@coil.demon.nl>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 #ifndef __SND_SEQ_SYSTEM_H
22 #define __SND_SEQ_SYSTEM_H
24 #include <sound/seq_kernel.h>
27 /* entry points for broadcasting system events */
28 void snd_seq_system_broadcast(int client, int port, int type);
30 #define snd_seq_system_client_ev_client_start(client) snd_seq_system_broadcast(client, 0, SNDRV_SEQ_EVENT_CLIENT_START)
31 #define snd_seq_system_client_ev_client_exit(client) snd_seq_system_broadcast(client, 0, SNDRV_SEQ_EVENT_CLIENT_EXIT)
32 #define snd_seq_system_client_ev_client_change(client) snd_seq_system_broadcast(client, 0, SNDRV_SEQ_EVENT_CLIENT_CHANGE)
33 #define snd_seq_system_client_ev_port_start(client, port) snd_seq_system_broadcast(client, port, SNDRV_SEQ_EVENT_PORT_START)
34 #define snd_seq_system_client_ev_port_exit(client, port) snd_seq_system_broadcast(client, port, SNDRV_SEQ_EVENT_PORT_EXIT)
35 #define snd_seq_system_client_ev_port_change(client, port) snd_seq_system_broadcast(client, port, SNDRV_SEQ_EVENT_PORT_CHANGE)
37 int snd_seq_system_notify(int client, int port, struct snd_seq_event *ev);
39 /* register our internal client */
40 int snd_seq_system_client_init(void);
42 /* unregister our internal client */
43 void snd_seq_system_client_done(void);
46 #endif