seq_info.h 748 B

12345678910111213141516171819202122232425
  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. #include <sound/info.h>
  9. #include <sound/seq_kernel.h>
  10. void snd_seq_info_clients_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer);
  11. void snd_seq_info_timer_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer);
  12. void snd_seq_info_queues_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer);
  13. #ifdef CONFIG_SND_PROC_FS
  14. int snd_seq_info_init(void);
  15. void snd_seq_info_done(void);
  16. #else
  17. static inline int snd_seq_info_init(void) { return 0; }
  18. static inline void snd_seq_info_done(void) {}
  19. #endif
  20. #endif