Google
 

Open Sound System
OSS 4.x Programmer's Guide

Do you have problems with sound/audio application development? Don't panic! Click here for help!

PCM_CAP_MULTI audio device capability

The device can be opened by multiple applications.

Description

Some audio (playback) devices have multiple independet engines so it's possible that several applications use them at the same time. In practice OSS will handle this by redirecting the application to the next identical device/engine if the original one was busy. The PCM_CAP_SHADOW capability is related with this one.

The PCM_CAP_MULTI capability tells if the device can do this. However there may not be much use for it (it's mainly used internally by OSS).

Audio device capabilities like PCM_CAP_MULTI can be checked using the SNDCTL_AUDIOINFO or SNDCTL_DSP_GETCAPS ioctl calls.



Copyright (C) 4Front Technologies, 2007. All rights reserved.
Back to index OSS web site