2011-12-13 16:26:45 +07:00
|
|
|
#ifndef _LINUX_SOUND_H
|
|
|
|
#define _LINUX_SOUND_H
|
2005-04-17 05:20:36 +07:00
|
|
|
|
2012-10-13 16:46:48 +07:00
|
|
|
#include <uapi/linux/sound.h>
|
2005-04-17 05:20:36 +07:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Sound core interface functions
|
|
|
|
*/
|
|
|
|
|
2005-08-30 13:58:37 +07:00
|
|
|
struct device;
|
2006-03-28 16:56:41 +07: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 05:20:36 +07: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 16:26:45 +07:00
|
|
|
#endif /* _LINUX_SOUND_H */
|