xref: /linux/sound/core/seq/seq_info.h (revision 44f57d78)
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3  *   ALSA sequencer /proc info
4  *   Copyright (c) 1998 by Frank van de Pol <fvdpol@coil.demon.nl>
5  */
6 #ifndef __SND_SEQ_INFO_H
7 #define __SND_SEQ_INFO_H
8 
9 #include <sound/info.h>
10 #include <sound/seq_kernel.h>
11 
12 void snd_seq_info_clients_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer);
13 void snd_seq_info_timer_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer);
14 void snd_seq_info_queues_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer);
15 
16 
17 #ifdef CONFIG_SND_PROC_FS
18 int snd_seq_info_init(void);
19 void snd_seq_info_done(void);
20 #else
21 static inline int snd_seq_info_init(void) { return 0; }
22 static inline void snd_seq_info_done(void) {}
23 #endif
24 
25 #endif
26