| || || |
Open Sound System
The Hitchhiker's Guide to OSS 4.1 Internals
Open an audio device file
struct fileinfo *file,
This function is used to open an audio device file (in /dev/oss/). It is usually called directly by the OS dependent device file interface code. Certain virtual/pseudo drivers can also use this function (this possibility is not documented and reserved for use by 4Front Technologies.
|Audio engine number to be opened.|
|OSS device class number (don't care).|
|Pointer to OSS file information structure.|
|See the description of the open_flags field of adev_t |
|Minor device number of the opened audio engine will be returned in the variable pointed by this parameter.|
Negative value means error. Otherwise the audio engine index of the opened device will be returned.
Copyright (C) 4Front Technologies, 2007. All rights reserved. Back to index OSS web site