2011-12-13 17:26:45 +08:00
|
|
|
#ifndef _LINUX_SOUND_H
|
|
|
|
#define _LINUX_SOUND_H
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2012-10-13 17:46:48 +08:00
|
|
|
#include <uapi/linux/sound.h>
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Sound core interface functions
|
|
|
|
*/
|
|
|
|
|
2005-08-30 14:58:37 +08:00
|
|
|
struct device;
|
2006-03-28 17:56:41 +08:00
|
|
|
extern int register_sound_special(const struct file_operations *fops, int unit);
|
|
|
|
extern int register_sound_special_device(const struct file_operations *fops, int unit, struct device *dev);
|
|
|
|
extern int register_sound_mixer(const struct file_operations *fops, int dev);
|
|
|
|
extern int register_sound_midi(const struct file_operations *fops, int dev);
|
|
|
|
extern int register_sound_dsp(const struct file_operations *fops, int dev);
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
extern void unregister_sound_special(int unit);
|
|
|
|
extern void unregister_sound_mixer(int unit);
|
|
|
|
extern void unregister_sound_midi(int unit);
|
|
|
|
extern void unregister_sound_dsp(int unit);
|
2011-12-13 17:26:45 +08:00
|
|
|
#endif /* _LINUX_SOUND_H */
|