blob: 73ded040f1d7c894a1bdd8e56ce69af74b76918b [file] [log] [blame]
David Howells6682bb82011-12-13 09:26:45 +00001#ifndef _LINUX_SOUND_H
2#define _LINUX_SOUND_H
Linus Torvalds1da177e2005-04-16 15:20:36 -07003
David Howells607ca462012-10-13 10:46:48 +01004#include <uapi/linux/sound.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -07005
Linus Torvalds1da177e2005-04-16 15:20:36 -07006/*
7 * Sound core interface functions
8 */
9
Takashi Iwaid5681212005-08-30 08:58:37 +020010struct device;
Arjan van de Ven99ac48f2006-03-28 01:56:41 -080011extern int register_sound_special(const struct file_operations *fops, int unit);
12extern int register_sound_special_device(const struct file_operations *fops, int unit, struct device *dev);
13extern int register_sound_mixer(const struct file_operations *fops, int dev);
14extern int register_sound_midi(const struct file_operations *fops, int dev);
15extern int register_sound_dsp(const struct file_operations *fops, int dev);
Linus Torvalds1da177e2005-04-16 15:20:36 -070016
17extern void unregister_sound_special(int unit);
18extern void unregister_sound_mixer(int unit);
19extern void unregister_sound_midi(int unit);
20extern void unregister_sound_dsp(int unit);
David Howells6682bb82011-12-13 09:26:45 +000021#endif /* _LINUX_SOUND_H */