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_OUTPUT audio device capability

The device can be used for playback


This capability tells that the device can do playback. However the application should also have opened the device file for output.

The PCM_CAP_INPUT capability gives the same information about the recording direction. In addition thePCM_CAP_DUPLEX capability is related with this one.

This capability is not present in older OSS versions which will not report PCM_CAP_OUTPUT or PCM_CAP_INPUT. Applications that check these capabilities must detect this situation and handle it properly.

Audio device capabilities like PCM_CAP_OUTPUT 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