driver.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. #ifndef __SOUND_DRIVER_H
  2. #define __SOUND_DRIVER_H
  3. /*
  4. * Main header file for the ALSA driver
  5. * Copyright (c) 1994-2000 by Jaroslav Kysela <perex@suse.cz>
  6. *
  7. *
  8. * This program is free software; you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License as published by
  10. * the Free Software Foundation; either version 2 of the License, or
  11. * (at your option) any later version.
  12. *
  13. * This program is distributed in the hope that it will be useful,
  14. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. * GNU General Public License for more details.
  17. *
  18. * You should have received a copy of the GNU General Public License
  19. * along with this program; if not, write to the Free Software
  20. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  21. *
  22. */
  23. #ifdef ALSA_BUILD
  24. #include "config.h"
  25. #endif
  26. /* number of supported soundcards */
  27. #ifdef CONFIG_SND_DYNAMIC_MINORS
  28. #define SNDRV_CARDS 32
  29. #else
  30. #define SNDRV_CARDS 8 /* don't change - minor numbers */
  31. #endif
  32. #ifndef CONFIG_SND_MAJOR /* standard configuration */
  33. #define CONFIG_SND_MAJOR 116
  34. #endif
  35. #ifndef CONFIG_SND_DEBUG
  36. #undef CONFIG_SND_DEBUG_MEMORY
  37. #endif
  38. #ifdef ALSA_BUILD
  39. #include "adriver.h"
  40. #endif
  41. #include <linux/module.h>
  42. #endif /* __SOUND_DRIVER_H */