2
* Purpose: OSS core pseudo driver (for Solaris)
4
* The osscore driver is used under Solaris to load the configuration settings
5
* (osscore.conf) and to install the /dev/sndstat device.
9
* This file is part of Open Sound System.
11
* Copyright (C) 4Front Technologies 1996-2008.
13
* This this source file is released under GPL v2 license (no other versions).
14
* See the COPYING file included in the main directory of this source
15
* distribution for the license terms and conditions.
19
#include "osscore_cfg.h"
22
osscore_attach (oss_device_t * osdev)
24
oss_register_device (osdev, "OSS common devices");
25
install_sndstat (osdev);
26
install_dev_mixer (osdev);
31
osscore_detach (oss_device_t * osdev)
33
if (oss_disable_device (osdev) < 0)
36
oss_unregister_device (osdev);