Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef _LINUX_SOUND_H
0003 #define _LINUX_SOUND_H
0004 
0005 #include <uapi/linux/sound.h>
0006 
0007 /*
0008  *  Sound core interface functions
0009  */
0010  
0011 struct device;
0012 extern int register_sound_special(const struct file_operations *fops, int unit);
0013 extern int register_sound_special_device(const struct file_operations *fops, int unit, struct device *dev);
0014 extern int register_sound_mixer(const struct file_operations *fops, int dev);
0015 extern int register_sound_dsp(const struct file_operations *fops, int dev);
0016 
0017 extern void unregister_sound_special(int unit);
0018 extern void unregister_sound_mixer(int unit);
0019 extern void unregister_sound_dsp(int unit);
0020 #endif /* _LINUX_SOUND_H */