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!

MIDI_CAP_INOUT MIDI device capability

Do not use this in applications


This capability is an alias of (MIDI_CAP_INPUT|MIDI_CAP_OUTPUT). It must not be used in applications. Instead applications should check the MIDI_CAP_INPUT and MIDI_CAP_OUTPUT capabilities separately.

In earlier OSS versions all MIDI devices have been input/output ones. However the future direction will be splitting such "duplex" MIDI ports to separate input and output devices.

MIDI device capabilities like MIDI_CAP_INOUT can be checked using the SNDCTL_MIDIINFO ioctl call.

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