#ifndef _UAPISOUNDCARD_H
#define _UAPISOUNDCARD_H
#define SOUND_VERSION …
#define OPEN_SOUND_SYSTEM
#include <linux/ioctl.h>
#ifndef __KERNEL__
# include <endian.h>
#endif
#define SNDCARD_ADLIB …
#define SNDCARD_SB …
#define SNDCARD_PAS …
#define SNDCARD_GUS …
#define SNDCARD_MPU401 …
#define SNDCARD_SB16 …
#define SNDCARD_SB16MIDI …
#define SNDCARD_UART6850 …
#define SNDCARD_GUS16 …
#define SNDCARD_MSS …
#define SNDCARD_PSS …
#define SNDCARD_SSCAPE …
#define SNDCARD_PSS_MPU …
#define SNDCARD_PSS_MSS …
#define SNDCARD_SSCAPE_MSS …
#define SNDCARD_TRXPRO …
#define SNDCARD_TRXPRO_SB …
#define SNDCARD_TRXPRO_MPU …
#define SNDCARD_MAD16 …
#define SNDCARD_MAD16_MPU …
#define SNDCARD_CS4232 …
#define SNDCARD_CS4232_MPU …
#define SNDCARD_MAUI …
#define SNDCARD_PSEUDO_MSS …
#define SNDCARD_GUSPNP …
#define SNDCARD_UART401 …
#ifndef _SIOWR
#if defined(_IOWR) && (defined(_AIX) || (!defined(sun) && !defined(sparc) && !defined(__sparc__) && !defined(__INCioctlh) && !defined(__Lynx__)))
#define SIOCPARM_MASK …
#define SIOC_VOID …
#define SIOC_OUT …
#define SIOC_IN …
#define SIOC_INOUT …
#define _SIOC_SIZE …
#define _SIOC_DIR …
#define _SIOC_NONE …
#define _SIOC_READ …
#define _SIOC_WRITE …
#define _SIO …
#define _SIOR …
#define _SIOW …
#define _SIOWR …
#else
#define SIOCPARM_MASK …
#define SIOC_VOID …
#define SIOC_OUT …
#define SIOC_IN …
#define SIOC_INOUT …
#define _SIO …
#define _SIOR …
#define _SIOW …
#define _SIOWR …
#define _SIOC_SIZE …
#define _SIOC_DIR …
#define _SIOC_NONE …
#define _SIOC_READ …
#define _SIOC_WRITE …
# endif
#endif
#define SNDCTL_SEQ_RESET …
#define SNDCTL_SEQ_SYNC …
#define SNDCTL_SYNTH_INFO …
#define SNDCTL_SEQ_CTRLRATE …
#define SNDCTL_SEQ_GETOUTCOUNT …
#define SNDCTL_SEQ_GETINCOUNT …
#define SNDCTL_SEQ_PERCMODE …
#define SNDCTL_FM_LOAD_INSTR …
#define SNDCTL_SEQ_TESTMIDI …
#define SNDCTL_SEQ_RESETSAMPLES …
#define SNDCTL_SEQ_NRSYNTHS …
#define SNDCTL_SEQ_NRMIDIS …
#define SNDCTL_MIDI_INFO …
#define SNDCTL_SEQ_THRESHOLD …
#define SNDCTL_SYNTH_MEMAVL …
#define SNDCTL_FM_4OP_ENABLE …
#define SNDCTL_SEQ_PANIC …
#define SNDCTL_SEQ_OUTOFBAND …
#define SNDCTL_SEQ_GETTIME …
#define SNDCTL_SYNTH_ID …
#define SNDCTL_SYNTH_CONTROL …
#define SNDCTL_SYNTH_REMOVESAMPLE …
synth_control;
remove_sample;
seq_event_rec;
#define SNDCTL_TMR_TIMEBASE …
#define SNDCTL_TMR_START …
#define SNDCTL_TMR_STOP …
#define SNDCTL_TMR_CONTINUE …
#define SNDCTL_TMR_TEMPO …
#define SNDCTL_TMR_SOURCE …
#define TMR_INTERNAL …
#define TMR_EXTERNAL …
#define TMR_MODE_MIDI …
#define TMR_MODE_FSK …
#define TMR_MODE_CLS …
#define TMR_MODE_SMPTE …
#define SNDCTL_TMR_METRONOME …
#define SNDCTL_TMR_SELECT …
#define _LINUX_PATCHKEY_H_INDIRECT
#include <linux/patchkey.h>
#undef _LINUX_PATCHKEY_H_INDIRECT
#if !defined(__KERNEL__)
# if defined(__BYTE_ORDER)
# if __BYTE_ORDER == __BIG_ENDIAN
#define AFMT_S16_NE …
# elif __BYTE_ORDER == __LITTLE_ENDIAN
#define AFMT_S16_NE …
# else
# error "could not determine byte order"
# endif
# endif
#endif
struct patch_info { … };
struct sysex_info { … };
#define SEQ_NOTEOFF …
#define SEQ_FMNOTEOFF …
#define SEQ_NOTEON …
#define SEQ_FMNOTEON …
#define SEQ_WAIT …
#define SEQ_PGMCHANGE …
#define SEQ_FMPGMCHANGE …
#define SEQ_SYNCTIMER …
#define SEQ_MIDIPUTC …
#define SEQ_DRUMON …
#define SEQ_DRUMOFF …
#define SEQ_ECHO …
#define SEQ_AFTERTOUCH …
#define SEQ_CONTROLLER …
#define CTL_BANK_SELECT …
#define CTL_MODWHEEL …
#define CTL_BREATH …
#define CTL_FOOT …
#define CTL_PORTAMENTO_TIME …
#define CTL_DATA_ENTRY …
#define CTL_MAIN_VOLUME …
#define CTL_BALANCE …
#define CTL_PAN …
#define CTL_EXPRESSION …
#define CTL_GENERAL_PURPOSE1 …
#define CTL_GENERAL_PURPOSE2 …
#define CTL_GENERAL_PURPOSE3 …
#define CTL_GENERAL_PURPOSE4 …
#define CTL_DAMPER_PEDAL …
#define CTL_SUSTAIN …
#define CTL_HOLD …
#define CTL_PORTAMENTO …
#define CTL_SOSTENUTO …
#define CTL_SOFT_PEDAL …
#define CTL_HOLD2 …
#define CTL_GENERAL_PURPOSE5 …
#define CTL_GENERAL_PURPOSE6 …
#define CTL_GENERAL_PURPOSE7 …
#define CTL_GENERAL_PURPOSE8 …
#define CTL_EXT_EFF_DEPTH …
#define CTL_TREMOLO_DEPTH …
#define CTL_CHORUS_DEPTH …
#define CTL_DETUNE_DEPTH …
#define CTL_CELESTE_DEPTH …
#define CTL_PHASER_DEPTH …
#define CTL_DATA_INCREMENT …
#define CTL_DATA_DECREMENT …
#define CTL_NONREG_PARM_NUM_LSB …
#define CTL_NONREG_PARM_NUM_MSB …
#define CTL_REGIST_PARM_NUM_LSB …
#define CTL_REGIST_PARM_NUM_MSB …
#define CTRL_PITCH_BENDER …
#define CTRL_PITCH_BENDER_RANGE …
#define CTRL_EXPRESSION …
#define CTRL_MAIN_VOLUME …
#define SEQ_BALANCE …
#define SEQ_VOLMODE …
#define VOL_METHOD_ADAGIO …
#define VOL_METHOD_LINEAR …
#define SEQ_FULLSIZE …
#define SEQ_PRIVATE …
#define SEQ_EXTENDED …
sbi_instr_data;
struct sbi_instrument { … };
struct synth_info { … };
struct sound_timer_info { … };
#define MIDI_CAP_MPU401 …
struct midi_info { … };
mpu_command_rec;
#define SNDCTL_MIDI_PRETIME …
#define SNDCTL_MIDI_MPUMODE …
#define SNDCTL_MIDI_MPUCMD …
#define SNDCTL_DSP_RESET …
#define SNDCTL_DSP_SYNC …
#define SNDCTL_DSP_SPEED …
#define SNDCTL_DSP_STEREO …
#define SNDCTL_DSP_GETBLKSIZE …
#define SNDCTL_DSP_SAMPLESIZE …
#define SNDCTL_DSP_CHANNELS …
#define SOUND_PCM_WRITE_CHANNELS …
#define SOUND_PCM_WRITE_FILTER …
#define SNDCTL_DSP_POST …
#define SNDCTL_DSP_SUBDIVIDE …
#define SNDCTL_DSP_SETFRAGMENT …
#define SNDCTL_DSP_GETFMTS …
#define SNDCTL_DSP_SETFMT …
#define AFMT_QUERY …
#define AFMT_MU_LAW …
#define AFMT_A_LAW …
#define AFMT_IMA_ADPCM …
#define AFMT_U8 …
#define AFMT_S16_LE …
#define AFMT_S16_BE …
#define AFMT_S8 …
#define AFMT_U16_LE …
#define AFMT_U16_BE …
#define AFMT_MPEG …
#define AFMT_AC3 …
audio_buf_info;
#define SNDCTL_DSP_GETOSPACE …
#define SNDCTL_DSP_GETISPACE …
#define SNDCTL_DSP_NONBLOCK …
#define SNDCTL_DSP_GETCAPS …
#define DSP_CAP_REVISION …
#define DSP_CAP_DUPLEX …
#define DSP_CAP_REALTIME …
#define DSP_CAP_BATCH …
#define DSP_CAP_COPROC …
#define DSP_CAP_TRIGGER …
#define DSP_CAP_MMAP …
#define DSP_CAP_MULTI …
#define DSP_CAP_BIND …
#define SNDCTL_DSP_GETTRIGGER …
#define SNDCTL_DSP_SETTRIGGER …
#define PCM_ENABLE_INPUT …
#define PCM_ENABLE_OUTPUT …
count_info;
#define SNDCTL_DSP_GETIPTR …
#define SNDCTL_DSP_GETOPTR …
buffmem_desc;
#define SNDCTL_DSP_MAPINBUF …
#define SNDCTL_DSP_MAPOUTBUF …
#define SNDCTL_DSP_SETSYNCRO …
#define SNDCTL_DSP_SETDUPLEX …
#define SNDCTL_DSP_GETODELAY …
#define SNDCTL_DSP_GETCHANNELMASK …
#define SNDCTL_DSP_BIND_CHANNEL …
#define DSP_BIND_QUERY …
#define DSP_BIND_FRONT …
#define DSP_BIND_SURR …
#define DSP_BIND_CENTER_LFE …
#define DSP_BIND_HANDSET …
#define DSP_BIND_MIC …
#define DSP_BIND_MODEM1 …
#define DSP_BIND_MODEM2 …
#define DSP_BIND_I2S …
#define DSP_BIND_SPDIF …
#define SNDCTL_DSP_SETSPDIF …
#define SNDCTL_DSP_GETSPDIF …
#define SPDIF_PRO …
#define SPDIF_N_AUD …
#define SPDIF_COPY …
#define SPDIF_PRE …
#define SPDIF_CC …
#define SPDIF_L …
#define SPDIF_DRS …
#define SPDIF_V …
#define SNDCTL_DSP_PROFILE …
#define APF_NORMAL …
#define APF_NETWORK …
#define APF_CPUINTENS …
#define SOUND_PCM_READ_RATE …
#define SOUND_PCM_READ_CHANNELS …
#define SOUND_PCM_READ_BITS …
#define SOUND_PCM_READ_FILTER …
#define SOUND_PCM_WRITE_BITS …
#define SOUND_PCM_WRITE_RATE …
#define SOUND_PCM_POST …
#define SOUND_PCM_RESET …
#define SOUND_PCM_SYNC …
#define SOUND_PCM_SUBDIVIDE …
#define SOUND_PCM_SETFRAGMENT …
#define SOUND_PCM_GETFMTS …
#define SOUND_PCM_SETFMT …
#define SOUND_PCM_GETOSPACE …
#define SOUND_PCM_GETISPACE …
#define SOUND_PCM_NONBLOCK …
#define SOUND_PCM_GETCAPS …
#define SOUND_PCM_GETTRIGGER …
#define SOUND_PCM_SETTRIGGER …
#define SOUND_PCM_SETSYNCRO …
#define SOUND_PCM_GETIPTR …
#define SOUND_PCM_GETOPTR …
#define SOUND_PCM_MAPINBUF …
#define SOUND_PCM_MAPOUTBUF …
copr_buffer;
copr_debug_buf;
copr_msg;
#define SNDCTL_COPR_RESET …
#define SNDCTL_COPR_LOAD …
#define SNDCTL_COPR_RDATA …
#define SNDCTL_COPR_RCODE …
#define SNDCTL_COPR_WDATA …
#define SNDCTL_COPR_WCODE …
#define SNDCTL_COPR_RUN …
#define SNDCTL_COPR_HALT …
#define SNDCTL_COPR_SENDMSG …
#define SNDCTL_COPR_RCVMSG …
#define SOUND_MIXER_NRDEVICES …
#define SOUND_MIXER_VOLUME …
#define SOUND_MIXER_BASS …
#define SOUND_MIXER_TREBLE …
#define SOUND_MIXER_SYNTH …
#define SOUND_MIXER_PCM …
#define SOUND_MIXER_SPEAKER …
#define SOUND_MIXER_LINE …
#define SOUND_MIXER_MIC …
#define SOUND_MIXER_CD …
#define SOUND_MIXER_IMIX …
#define SOUND_MIXER_ALTPCM …
#define SOUND_MIXER_RECLEV …
#define SOUND_MIXER_IGAIN …
#define SOUND_MIXER_OGAIN …
#define SOUND_MIXER_LINE1 …
#define SOUND_MIXER_LINE2 …
#define SOUND_MIXER_LINE3 …
#define SOUND_MIXER_DIGITAL1 …
#define SOUND_MIXER_DIGITAL2 …
#define SOUND_MIXER_DIGITAL3 …
#define SOUND_MIXER_PHONEIN …
#define SOUND_MIXER_PHONEOUT …
#define SOUND_MIXER_VIDEO …
#define SOUND_MIXER_RADIO …
#define SOUND_MIXER_MONITOR …
#define SOUND_ONOFF_MIN …
#define SOUND_ONOFF_MAX …
#define SOUND_MIXER_NONE …
#define SOUND_MIXER_ENHANCE …
#define SOUND_MIXER_MUTE …
#define SOUND_MIXER_LOUD …
#define SOUND_DEVICE_LABELS …
#define SOUND_DEVICE_NAMES …
#define SOUND_MIXER_RECSRC …
#define SOUND_MIXER_DEVMASK …
#define SOUND_MIXER_RECMASK …
#define SOUND_MIXER_CAPS …
#define SOUND_CAP_EXCL_INPUT …
#define SOUND_MIXER_STEREODEVS …
#define SOUND_MIXER_OUTSRC …
#define SOUND_MIXER_OUTMASK …
#define SOUND_MASK_VOLUME …
#define SOUND_MASK_BASS …
#define SOUND_MASK_TREBLE …
#define SOUND_MASK_SYNTH …
#define SOUND_MASK_PCM …
#define SOUND_MASK_SPEAKER …
#define SOUND_MASK_LINE …
#define SOUND_MASK_MIC …
#define SOUND_MASK_CD …
#define SOUND_MASK_IMIX …
#define SOUND_MASK_ALTPCM …
#define SOUND_MASK_RECLEV …
#define SOUND_MASK_IGAIN …
#define SOUND_MASK_OGAIN …
#define SOUND_MASK_LINE1 …
#define SOUND_MASK_LINE2 …
#define SOUND_MASK_LINE3 …
#define SOUND_MASK_DIGITAL1 …
#define SOUND_MASK_DIGITAL2 …
#define SOUND_MASK_DIGITAL3 …
#define SOUND_MASK_PHONEIN …
#define SOUND_MASK_PHONEOUT …
#define SOUND_MASK_RADIO …
#define SOUND_MASK_VIDEO …
#define SOUND_MASK_MONITOR …
#define SOUND_MASK_MUTE …
#define SOUND_MASK_ENHANCE …
#define SOUND_MASK_LOUD …
#define MIXER_READ(dev) …
#define SOUND_MIXER_READ_VOLUME …
#define SOUND_MIXER_READ_BASS …
#define SOUND_MIXER_READ_TREBLE …
#define SOUND_MIXER_READ_SYNTH …
#define SOUND_MIXER_READ_PCM …
#define SOUND_MIXER_READ_SPEAKER …
#define SOUND_MIXER_READ_LINE …
#define SOUND_MIXER_READ_MIC …
#define SOUND_MIXER_READ_CD …
#define SOUND_MIXER_READ_IMIX …
#define SOUND_MIXER_READ_ALTPCM …
#define SOUND_MIXER_READ_RECLEV …
#define SOUND_MIXER_READ_IGAIN …
#define SOUND_MIXER_READ_OGAIN …
#define SOUND_MIXER_READ_LINE1 …
#define SOUND_MIXER_READ_LINE2 …
#define SOUND_MIXER_READ_LINE3 …
#define SOUND_MIXER_READ_MUTE …
#define SOUND_MIXER_READ_ENHANCE …
#define SOUND_MIXER_READ_LOUD …
#define SOUND_MIXER_READ_RECSRC …
#define SOUND_MIXER_READ_DEVMASK …
#define SOUND_MIXER_READ_RECMASK …
#define SOUND_MIXER_READ_STEREODEVS …
#define SOUND_MIXER_READ_CAPS …
#define MIXER_WRITE(dev) …
#define SOUND_MIXER_WRITE_VOLUME …
#define SOUND_MIXER_WRITE_BASS …
#define SOUND_MIXER_WRITE_TREBLE …
#define SOUND_MIXER_WRITE_SYNTH …
#define SOUND_MIXER_WRITE_PCM …
#define SOUND_MIXER_WRITE_SPEAKER …
#define SOUND_MIXER_WRITE_LINE …
#define SOUND_MIXER_WRITE_MIC …
#define SOUND_MIXER_WRITE_CD …
#define SOUND_MIXER_WRITE_IMIX …
#define SOUND_MIXER_WRITE_ALTPCM …
#define SOUND_MIXER_WRITE_RECLEV …
#define SOUND_MIXER_WRITE_IGAIN …
#define SOUND_MIXER_WRITE_OGAIN …
#define SOUND_MIXER_WRITE_LINE1 …
#define SOUND_MIXER_WRITE_LINE2 …
#define SOUND_MIXER_WRITE_LINE3 …
#define SOUND_MIXER_WRITE_MUTE …
#define SOUND_MIXER_WRITE_ENHANCE …
#define SOUND_MIXER_WRITE_LOUD …
#define SOUND_MIXER_WRITE_RECSRC …
mixer_info;
_old_mixer_info;
#define SOUND_MIXER_INFO …
#define SOUND_OLD_MIXER_INFO …
mixer_record;
#define SOUND_MIXER_ACCESS …
#define SOUND_MIXER_AGC …
#define SOUND_MIXER_3DSE …
#define SOUND_MIXER_PRIVATE1 …
#define SOUND_MIXER_PRIVATE2 …
#define SOUND_MIXER_PRIVATE3 …
#define SOUND_MIXER_PRIVATE4 …
#define SOUND_MIXER_PRIVATE5 …
mixer_vol_table;
#define SOUND_MIXER_GETLEVELS …
#define SOUND_MIXER_SETLEVELS …
#define OSS_GETVERSION …
#define EV_SEQ_LOCAL …
#define EV_TIMING …
#define EV_CHN_COMMON …
#define EV_CHN_VOICE …
#define EV_SYSEX …
#define MIDI_NOTEOFF …
#define MIDI_NOTEON …
#define MIDI_KEY_PRESSURE …
#define MIDI_CTL_CHANGE …
#define MIDI_PGM_CHANGE …
#define MIDI_CHN_PRESSURE …
#define MIDI_PITCH_BEND …
#define MIDI_SYSTEM_PREFIX …
#define TMR_WAIT_REL …
#define TMR_WAIT_ABS …
#define TMR_STOP …
#define TMR_START …
#define TMR_CONTINUE …
#define TMR_TEMPO …
#define TMR_ECHO …
#define TMR_CLOCK …
#define TMR_SPP …
#define TMR_TIMESIG …
#define LOCL_STARTAUDIO …
#if !defined(__KERNEL__) || defined(USE_SEQ_MACROS)
#define SEQ_DECLAREBUF …
void seqbuf_dump(void);
#define SEQ_PM_DEFINES …
#define SEQ_LOAD_GMINSTR …
#define SEQ_LOAD_GMDRUM …
#define _SEQ_EXTERN …
#define SEQ_USE_EXTBUF …
#ifndef USE_SIMPLE_MACROS
#define SEQ_DEFINEBUF …
#define _SEQ_NEEDBUF …
#define _SEQ_ADVBUF …
#define SEQ_DUMPBUF …
#else
#define _SEQ_NEEDBUF …
#endif
#define SEQ_VOLUME_MODE …
#define _CHN_VOICE …
#define SEQ_START_NOTE …
#define SEQ_STOP_NOTE …
#define SEQ_KEY_PRESSURE …
#define _CHN_COMMON …
#define SEQ_SYSEX …
#define SEQ_CHN_PRESSURE …
#define SEQ_SET_PATCH …
#define SEQ_PGM_CHANGE …
#define SEQ_CONTROL …
#define SEQ_BENDER …
#define SEQ_V2_X_CONTROL …
#define SEQ_PITCHBEND …
#define SEQ_BENDER_RANGE …
#define SEQ_EXPRESSION …
#define SEQ_MAIN_VOLUME …
#define SEQ_PANNING …
#define _TIMER_EVENT …
#define SEQ_START_TIMER …
#define SEQ_STOP_TIMER …
#define SEQ_CONTINUE_TIMER …
#define SEQ_WAIT_TIME …
#define SEQ_DELTA_TIME …
#define SEQ_ECHO_BACK …
#define SEQ_SET_TEMPO …
#define SEQ_SONGPOS …
#define SEQ_TIME_SIGNATURE …
#define _LOCAL_EVENT …
#define SEQ_PLAYAUDIO …
#define SEQ_MIDIOUT …
#define SEQ_WRPATCH …
#define SEQ_WRPATCH2 …
#endif
#endif