David Howells | 6682bb8 | 2011-12-13 09:26:45 +0000 | [diff] [blame] | 1 | #ifndef _LINUX_SOUND_H |
| 2 | #define _LINUX_SOUND_H |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3 | |
David Howells | 607ca46 | 2012-10-13 10:46:48 +0100 | [diff] [blame] | 4 | #include <uapi/linux/sound.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 5 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 6 | /* |
| 7 | * Sound core interface functions |
| 8 | */ |
| 9 | |
Takashi Iwai | d568121 | 2005-08-30 08:58:37 +0200 | [diff] [blame] | 10 | struct device; |
Arjan van de Ven | 99ac48f | 2006-03-28 01:56:41 -0800 | [diff] [blame] | 11 | extern int register_sound_special(const struct file_operations *fops, int unit); |
| 12 | extern int register_sound_special_device(const struct file_operations *fops, int unit, struct device *dev); |
| 13 | extern int register_sound_mixer(const struct file_operations *fops, int dev); |
| 14 | extern int register_sound_midi(const struct file_operations *fops, int dev); |
| 15 | extern int register_sound_dsp(const struct file_operations *fops, int dev); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 16 | |
| 17 | extern void unregister_sound_special(int unit); |
| 18 | extern void unregister_sound_mixer(int unit); |
| 19 | extern void unregister_sound_midi(int unit); |
| 20 | extern void unregister_sound_dsp(int unit); |
David Howells | 6682bb8 | 2011-12-13 09:26:45 +0000 | [diff] [blame] | 21 | #endif /* _LINUX_SOUND_H */ |