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