sound.h 685 B

1234567891011121314151617181920
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef _LINUX_SOUND_H
  3. #define _LINUX_SOUND_H
  4. #include <uapi/linux/sound.h>
  5. /*
  6. * Sound core interface functions
  7. */
  8. struct device;
  9. extern int register_sound_special(const struct file_operations *fops, int unit);
  10. extern int register_sound_special_device(const struct file_operations *fops, int unit, struct device *dev);
  11. extern int register_sound_mixer(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_dsp(int unit);
  16. #endif /* _LINUX_SOUND_H */