sound.h 768 B

12345678910111213141516171819202122
  1. #ifndef _LINUX_SOUND_H
  2. #define _LINUX_SOUND_H
  3. #include <uapi/linux/sound.h>
  4. /*
  5. * Sound core interface functions
  6. */
  7. struct device;
  8. extern int register_sound_special(const struct file_operations *fops, int unit);
  9. extern int register_sound_special_device(const struct file_operations *fops, int unit, struct device *dev);
  10. extern int register_sound_mixer(const struct file_operations *fops, int dev);
  11. extern int register_sound_midi(const struct file_operations *fops, int dev);
  12. extern int register_sound_dsp(const struct file_operations *fops, int dev);
  13. extern void unregister_sound_special(int unit);
  14. extern void unregister_sound_mixer(int unit);
  15. extern void unregister_sound_midi(int unit);
  16. extern void unregister_sound_dsp(int unit);
  17. #endif /* _LINUX_SOUND_H */