Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. <code> 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; </code> | field | TODO | | product | <del>copy string</del> | | version | <del>copy stirng</del> | | versionnum | See SOUND_VERSION macro. | | numaudios | <del>devclass_get_count(&pcm_devclass)</del> verify correctness | | openedaudio | | | numsynths | [[http://manuals.opensound.com/developer/SNDCTL_SYSINFO.html|Obsolete?]] | | nummidis | | | numtimers | | | nummixers | <del>add counter w/ hooks at mixer_{,un}init()</del> | | openedmidi | | | numcards | | ryanbeasley/ioctlref/sndctl_sysinfo.txt Last modified: 2008/06/17 21:37by 127.0.0.1