Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
sound.h
Go to the documentation of this file.
1 #ifndef _LINUX_SOUND_H
2 #define _LINUX_SOUND_H
3 
4 #include <uapi/linux/sound.h>
5 
6 /*
7  * Sound core interface functions
8  */
9 
10 struct device;
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);
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);
21 #endif /* _LINUX_SOUND_H */