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