blob: ec85b7a1f8d1546bdc574a1c4eac9a0dc400d1ea [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
David Howells6682bb82011-12-13 09:26:45 +00002#ifndef _LINUX_SOUND_H
3#define _LINUX_SOUND_H
Linus Torvalds1da177e2005-04-16 15:20:36 -07004
David Howells607ca462012-10-13 10:46:48 +01005#include <uapi/linux/sound.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -07006
Linus Torvalds1da177e2005-04-16 15:20:36 -07007/*
8 * Sound core interface functions
9 */
10
Takashi Iwaid5681212005-08-30 08:58:37 +020011struct device;
Arjan van de Ven99ac48f2006-03-28 01:56:41 -080012extern int register_sound_special(const struct file_operations *fops, int unit);
13extern int register_sound_special_device(const struct file_operations *fops, int unit, struct device *dev);
14extern int register_sound_mixer(const struct file_operations *fops, int dev);
Arjan van de Ven99ac48f2006-03-28 01:56:41 -080015extern 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);
Linus Torvalds1da177e2005-04-16 15:20:36 -070019extern void unregister_sound_dsp(int unit);
David Howells6682bb82011-12-13 09:26:45 +000020#endif /* _LINUX_SOUND_H */