typedef struct oss_sysinfo { char product[32]; /* For example OSS/Free, OSS/Linux or OSS/Solaris */ char version[32]; /* For example 4.0a */ int versionnum; /* See OSS_GETVERSION */ char options[128]; /* Reserved */ int numaudios; /* # of audio/dsp devices */ int openedaudio[8]; /* Bit mask telling which audio devices are busy */ int numsynths; /* # of availavle synth devices */ int nummidis; /* # of available MIDI ports */ int numtimers; /* # of available timer devices */ int nummixers; /* # of mixer devices */ int openedmidi[8]; /* Bit mask telling which midi devices are busy */ int numcards; /* Number of sound cards in the system */ int filler[241]; /* For future expansion (set to -1) */ } oss_sysinfo; | field | TODO | | product | copy string | | version | copy stirng | | versionnum | See SOUND_VERSION macro. | | numaudios | devclass_get_count(&pcm_devclass) verify correctness | | openedaudio | | | numsynths | [[http://manuals.opensound.com/developer/SNDCTL_SYSINFO.html|Obsolete?]] | | nummidis | | | numtimers | | | nummixers | add counter w/ hooks at mixer_{,un}init() | | openedmidi | | | numcards | |