#include <sys/ioctl.h>Go to the source code of this file.
Classes | |
| struct | synth_control |
| struct | remove_sample |
| struct | seq_event_rec |
| struct | patch_info |
| struct | sysex_info |
| struct | sbi_instrument |
| struct | synth_info |
| struct | sound_timer_info |
| struct | midi_info |
| struct | oss_mtc_data_t |
| struct | midi_packet_header_t |
| struct | midi_packet_t |
| struct | audio_buf_info |
| struct | count_info |
| struct | buffmem_desc |
| struct | audio_errinfo |
| struct | oss_digital_control |
| struct | oss_syncgroup |
| struct | oss_count_t |
| struct | mixer_info |
| struct | mixer_vol_table |
| struct | oss_sysinfo |
| struct | oss_mixext |
| struct | oss_mixext_root |
| struct | oss_mixer_value |
| struct | oss_mixer_enuminfo |
| struct | oss_audioinfo |
| struct | oss_mixerinfo |
| struct | oss_midi_info |
| struct | oss_card_info |
| struct | oss_mixermatrix_t |
Defines | |
| #define | EXTERNC extern |
| #define | OSS_VERSION 0x040100 |
| #define | SOUND_VERSION OSS_VERSION |
| #define | OPEN_SOUND_SYSTEM |
| #define | SIOCPARM_MASK 0x1fff |
| #define | SIOC_VOID 0x00000000 |
| #define | SIOC_OUT 0x20000000 |
| #define | SIOC_IN 0x40000000 |
| #define | SIOC_INOUT (SIOC_IN|SIOC_OUT) |
| #define | __SIO(x, y) ((int)(SIOC_VOID|(x<<8)|y)) |
| #define | __SIOR(x, y, t) ((int)(SIOC_OUT|((sizeof(t)&SIOCPARM_MASK)<<16)|(x<<8)|y)) |
| #define | __SIOW(x, y, t) ((int)(SIOC_IN|((sizeof(t)&SIOCPARM_MASK)<<16)|(x<<8)|y)) |
| #define | __SIOWR(x, y, t) ((int)(SIOC_INOUT|((sizeof(t)&SIOCPARM_MASK)<<16)|(x<<8)|y)) |
| #define | __SIOC_SIZE(x) ((x>>16)&SIOCPARM_MASK) |
| #define | __SIOC_DIR(x) (x & 0xf0000000) |
| #define | __SIOC_NONE SIOC_VOID |
| #define | __SIOC_READ SIOC_OUT |
| #define | __SIOC_WRITE SIOC_IN |
| #define | OSS_LONGNAME_SIZE 64 |
| #define | OSS_LABEL_SIZE 16 |
| #define | OSS_DEVNODE_SIZE 32 |
| #define | OSS_DEVNAME_SIZE 64 |
| #define | OSS_CMD_SIZE 64 |
| #define | OSS_ID_SIZE 16 |
| #define | OSS_HANDLE_SIZE 32 |
| #define | SNDCTL_SEQ_RESET __SIO ('Q', 0) |
| #define | SNDCTL_SEQ_SYNC __SIO ('Q', 1) |
| #define | SNDCTL_SYNTH_INFO __SIOWR('Q', 2, struct synth_info) |
| #define | SNDCTL_SEQ_CTRLRATE __SIOWR('Q', 3, int) |
| #define | SNDCTL_SEQ_GETOUTCOUNT __SIOR ('Q', 4, int) |
| #define | SNDCTL_SEQ_GETINCOUNT __SIOR ('Q', 5, int) |
| #define | SNDCTL_SEQ_PERCMODE __SIOW ('Q', 6, int) |
| #define | SNDCTL_FM_LOAD_INSTR __SIOW ('Q', 7, struct sbi_instrument) |
| #define | SNDCTL_SEQ_TESTMIDI __SIOW ('Q', 8, int) |
| #define | SNDCTL_SEQ_RESETSAMPLES __SIOW ('Q', 9, int) |
| #define | SNDCTL_SEQ_NRSYNTHS __SIOR ('Q',10, int) |
| #define | SNDCTL_SEQ_NRMIDIS __SIOR ('Q',11, int) |
| #define | SNDCTL_MIDI_INFO __SIOWR('Q',12, struct midi_info) |
| #define | SNDCTL_SEQ_THRESHOLD __SIOW ('Q',13, int) |
| #define | SNDCTL_SYNTH_MEMAVL __SIOWR('Q',14, int) |
| #define | SNDCTL_FM_4OP_ENABLE __SIOW ('Q',15, int) |
| #define | SNDCTL_SEQ_PANIC __SIO ('Q',17) |
| #define | SNDCTL_SEQ_OUTOFBAND __SIOW ('Q',18, struct seq_event_rec) |
| #define | SNDCTL_SEQ_GETTIME __SIOR ('Q',19, int) |
| #define | SNDCTL_SYNTH_ID __SIOWR('Q',20, struct synth_info) |
| #define | SNDCTL_SYNTH_CONTROL __SIOWR('Q',21, struct synth_control) |
| #define | SNDCTL_SYNTH_REMOVESAMPLE __SIOWR('Q',22, struct remove_sample) |
| #define | SNDCTL_SEQ_TIMING_ENABLE __SIO ('Q', 23) |
| #define | SNDCTL_SEQ_ACTSENSE_ENABLE __SIO ('Q', 24) |
| #define | SNDCTL_SEQ_RT_ENABLE __SIO ('Q', 25) |
| #define | SNDCTL_TMR_TIMEBASE __SIOWR('T', 1, int) |
| #define | SNDCTL_TMR_START __SIO ('T', 2) |
| #define | SNDCTL_TMR_STOP __SIO ('T', 3) |
| #define | SNDCTL_TMR_CONTINUE __SIO ('T', 4) |
| #define | SNDCTL_TMR_TEMPO __SIOWR('T', 5, int) |
| #define | SNDCTL_TMR_SOURCE __SIOWR('T', 6, int) |
| #define | TMR_INTERNAL 0x00000001 |
| #define | TMR_EXTERNAL 0x00000002 |
| #define | TMR_MODE_MIDI 0x00000010 |
| #define | TMR_MODE_FSK 0x00000020 |
| #define | TMR_MODE_CLS 0x00000040 |
| #define | TMR_MODE_SMPTE 0x00000080 |
| #define | SNDCTL_TMR_METRONOME __SIOW ('T', 7, int) |
| #define | SNDCTL_TMR_SELECT __SIOW ('T', 8, int) |
| #define | WAVE_PATCH _PATCHKEY(0x04) |
| #define | GUS_PATCH WAVE_PATCH |
| #define | WAVEFRONT_PATCH _PATCHKEY(0x06) |
| #define | WAVE_16_BITS 0x01 |
| #define | WAVE_UNSIGNED 0x02 |
| #define | WAVE_LOOPING 0x04 |
| #define | WAVE_BIDIR_LOOP 0x08 |
| #define | WAVE_LOOP_BACK 0x10 |
| #define | WAVE_SUSTAIN_ON 0x20 |
| #define | WAVE_ENVELOPES 0x40 |
| #define | WAVE_FAST_RELEASE 0x80 |
| #define | WAVE_VIBRATO 0x00010000 |
| #define | WAVE_TREMOLO 0x00020000 |
| #define | WAVE_SCALE 0x00040000 |
| #define | WAVE_FRACTIONS 0x00080000 |
| #define | WAVE_ROM 0x40000000 |
| #define | WAVE_MULAW 0x20000000 |
| #define | SYSEX_PATCH _PATCHKEY(0x05) |
| #define | MAUI_PATCH _PATCHKEY(0x06) |
| #define | SEQ_NOTEOFF 0 |
| #define | SEQ_FMNOTEOFF SEQ_NOTEOFF |
| #define | SEQ_NOTEON 1 |
| #define | SEQ_FMNOTEON SEQ_NOTEON |
| #define | SEQ_WAIT TMR_WAIT_ABS |
| #define | SEQ_PGMCHANGE 3 |
| #define | SEQ_FMPGMCHANGE SEQ_PGMCHANGE |
| #define | SEQ_SYNCTIMER TMR_START |
| #define | SEQ_MIDIPUTC 5 |
| #define | SEQ_DRUMON 6 |
| #define | SEQ_DRUMOFF 7 |
| #define | SEQ_ECHO TMR_ECHO |
| #define | SEQ_AFTERTOUCH 9 |
| #define | SEQ_CONTROLLER 10 |
| #define | SEQ_BALANCE 11 |
| #define | SEQ_VOLMODE 12 |
| #define | CTL_BANK_SELECT 0x00 |
| #define | CTL_MODWHEEL 0x01 |
| #define | CTL_BREATH 0x02 |
| #define | CTL_FOOT 0x04 |
| #define | CTL_PORTAMENTO_TIME 0x05 |
| #define | CTL_DATA_ENTRY 0x06 |
| #define | CTL_MAIN_VOLUME 0x07 |
| #define | CTL_BALANCE 0x08 |
| #define | CTL_PAN 0x0a |
| #define | CTL_EXPRESSION 0x0b |
| #define | CTL_GENERAL_PURPOSE1 0x10 |
| #define | CTL_GENERAL_PURPOSE2 0x11 |
| #define | CTL_GENERAL_PURPOSE3 0x12 |
| #define | CTL_GENERAL_PURPOSE4 0x13 |
| #define | CTL_DAMPER_PEDAL 0x40 |
| #define | CTL_SUSTAIN 0x40 |
| #define | CTL_HOLD 0x40 |
| #define | CTL_PORTAMENTO 0x41 |
| #define | CTL_SOSTENUTO 0x42 |
| #define | CTL_SOFT_PEDAL 0x43 |
| #define | CTL_HOLD2 0x45 |
| #define | CTL_GENERAL_PURPOSE5 0x50 |
| #define | CTL_GENERAL_PURPOSE6 0x51 |
| #define | CTL_GENERAL_PURPOSE7 0x52 |
| #define | CTL_GENERAL_PURPOSE8 0x53 |
| #define | CTL_EXT_EFF_DEPTH 0x5b |
| #define | CTL_TREMOLO_DEPTH 0x5c |
| #define | CTL_CHORUS_DEPTH 0x5d |
| #define | CTL_DETUNE_DEPTH 0x5e |
| #define | CTL_CELESTE_DEPTH 0x5e |
| #define | CTL_PHASER_DEPTH 0x5f |
| #define | CTL_DATA_INCREMENT 0x60 |
| #define | CTL_DATA_DECREMENT 0x61 |
| #define | CTL_NONREG_PARM_NUM_LSB 0x62 |
| #define | CTL_NONREG_PARM_NUM_MSB 0x63 |
| #define | CTL_REGIST_PARM_NUM_LSB 0x64 |
| #define | CTL_REGIST_PARM_NUM_MSB 0x65 |
| #define | CTRL_PITCH_BENDER 255 |
| #define | CTRL_PITCH_BENDER_RANGE 254 |
| #define | CTRL_EXPRESSION 253 |
| #define | CTRL_MAIN_VOLUME 252 |
| #define | VOL_METHOD_ADAGIO 1 |
| #define | VOL_METHOD_LINEAR 2 |
| #define | SEQ_FULLSIZE 0xfd |
| #define | SEQ_PRIVATE 0xfe |
| #define | SEQ_EXTENDED 0xff |
| #define | FM_PATCH _PATCHKEY(0x01) |
| #define | OPL3_PATCH _PATCHKEY(0x03) |
| #define | SYNTH_TYPE_FM 0 |
| #define | SYNTH_TYPE_SAMPLE 1 |
| #define | SYNTH_TYPE_MIDI 2 |
| #define | FM_TYPE_ADLIB 0x00 |
| #define | FM_TYPE_OPL3 0x01 |
| #define | MIDI_TYPE_MPU401 0x401 |
| #define | SAMPLE_TYPE_BASIC 0x10 |
| #define | SAMPLE_TYPE_GUS SAMPLE_TYPE_BASIC |
| #define | SAMPLE_TYPE_WAVEFRONT 0x11 |
| #define | SYNTH_CAP_PERCMODE 0x00000001 |
| #define | SYNTH_CAP_OPL3 0x00000002 |
| #define | SYNTH_CAP_INPUT 0x00000004 |
| #define | EV_SEQ_LOCAL 0x80 |
| #define | EV_TIMING 0x81 |
| #define | EV_CHN_COMMON 0x92 |
| #define | EV_CHN_VOICE 0x93 |
| #define | EV_SYSEX 0x94 |
| #define | EV_SYSTEM 0x95 |
| #define | MIDI_NOTEOFF 0x80 |
| #define | MIDI_NOTEON 0x90 |
| #define | MIDI_KEY_PRESSURE 0xA0 |
| #define | MIDI_CTL_CHANGE 0xB0 |
| #define | MIDI_PGM_CHANGE 0xC0 |
| #define | MIDI_CHN_PRESSURE 0xD0 |
| #define | MIDI_PITCH_BEND 0xE0 |
| #define | MIDI_SYSTEM_PREFIX 0xF0 |
| #define | TMR_WAIT_REL 1 |
| #define | TMR_WAIT_ABS 2 |
| #define | TMR_STOP 3 |
| #define | TMR_START 4 |
| #define | TMR_CONTINUE 5 |
| #define | TMR_TEMPO 6 |
| #define | TMR_ECHO 8 |
| #define | TMR_CLOCK 9 |
| #define | TMR_SPP 10 |
| #define | TMR_TIMESIG 11 |
| #define | LOCL_STARTAUDIO 1 |
| #define | LOCL_STARTAUDIO2 2 |
| #define | LOCL_STARTAUDIO3 3 |
| #define | LOCL_STARTAUDIO4 4 |
| #define | SEQ_DECLAREBUF() SEQ_USE_EXTBUF() |
| #define | SEQ_PM_DEFINES int __foo_bar___ |
| #define | SEQ_LOAD_GMINSTR(dev, instr) |
| #define | SEQ_LOAD_GMDRUM(dev, drum) |
| #define | SEQ_USE_EXTBUF() |
| #define | SEQ_DEFINEBUF(len) unsigned char _seqbuf[len]; int _seqbuflen = len;int _seqbufptr = 0 |
| #define | _SEQ_NEEDBUF(len) if ((_seqbufptr+(len)) > _seqbuflen) seqbuf_dump() |
| #define | _SEQ_ADVBUF(len) _seqbufptr += len |
| #define | SEQ_DUMPBUF seqbuf_dump |
| #define | SEQ_VOLUME_MODE(dev, mode) |
| #define | _CHN_VOICE(dev, event, chn, note, parm) |
| #define | SEQ_START_NOTE(dev, chn, note, vol) _CHN_VOICE(dev, MIDI_NOTEON, chn, note, vol) |
| #define | SEQ_STOP_NOTE(dev, chn, note, vol) _CHN_VOICE(dev, MIDI_NOTEOFF, chn, note, vol) |
| #define | SEQ_KEY_PRESSURE(dev, chn, note, pressure) _CHN_VOICE(dev, MIDI_KEY_PRESSURE, chn, note, pressure) |
| #define | _CHN_COMMON(dev, event, chn, p1, p2, w14) |
| #define | SEQ_SYSEX(dev, buf, len) |
| #define | SEQ_CHN_PRESSURE(dev, chn, pressure) _CHN_COMMON(dev, MIDI_CHN_PRESSURE, chn, pressure, 0, 0) |
| #define | SEQ_SET_PATCH SEQ_PGM_CHANGE |
| #define | SEQ_PGM_CHANGE(dev, chn, patch) _CHN_COMMON(dev, MIDI_PGM_CHANGE, chn, patch, 0, 0) |
| #define | SEQ_CONTROL(dev, chn, controller, value) _CHN_COMMON(dev, MIDI_CTL_CHANGE, chn, controller, 0, value) |
| #define | SEQ_BENDER(dev, chn, value) _CHN_COMMON(dev, MIDI_PITCH_BEND, chn, 0, 0, value) |
| #define | SEQ_V2_X_CONTROL(dev, voice, controller, value) |
| #define | SEQ_PITCHBEND(dev, voice, value) SEQ_V2_X_CONTROL(dev, voice, CTRL_PITCH_BENDER, value) |
| #define | SEQ_BENDER_RANGE(dev, voice, value) SEQ_V2_X_CONTROL(dev, voice, CTRL_PITCH_BENDER_RANGE, value) |
| #define | SEQ_EXPRESSION(dev, voice, value) SEQ_CONTROL(dev, voice, CTL_EXPRESSION, value*128) |
| #define | SEQ_MAIN_VOLUME(dev, voice, value) SEQ_CONTROL(dev, voice, CTL_MAIN_VOLUME, (value*16383)/100) |
| #define | SEQ_PANNING(dev, voice, pos) SEQ_CONTROL(dev, voice, CTL_PAN, (pos+128) / 2) |
| #define | _TIMER_EVENT(ev, parm) |
| #define | SEQ_START_TIMER() _TIMER_EVENT(TMR_START, 0) |
| #define | SEQ_STOP_TIMER() _TIMER_EVENT(TMR_STOP, 0) |
| #define | SEQ_CONTINUE_TIMER() _TIMER_EVENT(TMR_CONTINUE, 0) |
| #define | SEQ_WAIT_TIME(ticks) _TIMER_EVENT(TMR_WAIT_ABS, ticks) |
| #define | SEQ_DELTA_TIME(ticks) _TIMER_EVENT(TMR_WAIT_REL, ticks) |
| #define | SEQ_ECHO_BACK(key) _TIMER_EVENT(TMR_ECHO, key) |
| #define | SEQ_SET_TEMPO(value) _TIMER_EVENT(TMR_TEMPO, value) |
| #define | SEQ_SONGPOS(pos) _TIMER_EVENT(TMR_SPP, pos) |
| #define | SEQ_TIME_SIGNATURE(sig) _TIMER_EVENT(TMR_TIMESIG, sig) |
| #define | _LOCAL_EVENT(ev, parm) |
| #define | SEQ_PLAYAUDIO(devmask) _LOCAL_EVENT(LOCL_STARTAUDIO, devmask) |
| #define | SEQ_PLAYAUDIO2(devmask) _LOCAL_EVENT(LOCL_STARTAUDIO2, devmask) |
| #define | SEQ_PLAYAUDIO3(devmask) _LOCAL_EVENT(LOCL_STARTAUDIO3, devmask) |
| #define | SEQ_PLAYAUDIO4(devmask) _LOCAL_EVENT(LOCL_STARTAUDIO4, devmask) |
| #define | SEQ_MIDIOUT(device, byte) |
| #define | SEQ_WRPATCH(patchx, len) |
| #define | SEQ_WRPATCH2(patchx, len) (SEQ_DUMPBUF(), write(seqfd, (char*)(patchx), len)) |
| #define | SNDCTL_MIDI_PRETIME __SIOWR('m', 0, int) |
| #define | SNDCTL_MIDI_MTCINPUT __SIOWR('m', 3, int) |
| #define | MTC_DIR_STOPPED 0 |
| #define | MTC_DIR_FORWARD 1 |
| #define | MTC_DIR_BACKWARD -1 |
| #define | SNDCTL_MIDI_SETMODE __SIOWR('m', 6, int) |
| #define | MIDI_MODE_TRADITIONAL 0 |
| #define | MIDI_MODE_TIMED 1 |
| #define | MIDI_MODE_TIMED_ABS 2 |
| #define | MIDI_HDR_MAGIC -1 |
| #define | MIDI_EV_WRITE 0 |
| #define | MIDI_EV_TEMPO 1 |
| #define | MIDI_EV_ECHO 2 |
| #define | MIDI_EV_START 3 |
| #define | MIDI_EV_STOP 4 |
| #define | MIDI_EV_CONTINUE 5 |
| #define | MIDI_EV_XPRESSWRITE 6 |
| #define | MIDI_EV_TIMEBASE 7 |
| #define | MIDI_EV_DEVCTL 8 |
| #define | MIDI_OPT_NONE 0x0000 |
| #define | MIDI_OPT_TIMED 0x0001 |
| #define | MIDI_OPT_CONTINUATION 0x0002 |
| #define | MIDI_OPT_USECTIME 0x0004 |
| #define | MIDI_OPT_BUSY 0x0008 |
| #define | MIDI_PAYLOAD_SIZE 1000 |
| #define | SNDCTL_MIDI_TIMEBASE __SIOWR('m', 7, int) |
| #define | SNDCTL_MIDI_TEMPO __SIOWR('m', 8, int) |
| #define | SNDCTL_MIDI_SET_LATENCY __SIOW ('m', 9, int) |
| #define | SNDCTL_DSP_HALT __SIO ('P', 0) |
| #define | SNDCTL_DSP_RESET SNDCTL_DSP_HALT |
| #define | SNDCTL_DSP_SYNC __SIO ('P', 1) |
| #define | SNDCTL_DSP_SPEED __SIOWR('P', 2, int) |
| #define | SNDCTL_DSP_STEREO __SIOWR('P', 3, int) |
| #define | SNDCTL_DSP_GETBLKSIZE __SIOWR('P', 4, int) |
| #define | SNDCTL_DSP_SAMPLESIZE SNDCTL_DSP_SETFMT |
| #define | SNDCTL_DSP_CHANNELS __SIOWR('P', 6, int) |
| #define | SNDCTL_DSP_POST __SIO ('P', 8) |
| #define | SNDCTL_DSP_SUBDIVIDE __SIOWR('P', 9, int) |
| #define | SNDCTL_DSP_SETFRAGMENT __SIOWR('P',10, int) |
| #define | SNDCTL_DSP_GETFMTS __SIOR ('P',11, int) |
| #define | SNDCTL_DSP_SETFMT __SIOWR('P',5, int) |
| #define | AFMT_QUERY 0x00000000 |
| #define | AFMT_MU_LAW 0x00000001 |
| #define | AFMT_A_LAW 0x00000002 |
| #define | AFMT_IMA_ADPCM 0x00000004 |
| #define | AFMT_U8 0x00000008 |
| #define | AFMT_S16_LE 0x00000010 |
| #define | AFMT_S16_BE 0x00000020 |
| #define | AFMT_S8 0x00000040 |
| #define | AFMT_U16_LE 0x00000080 |
| #define | AFMT_U16_BE 0x00000100 |
| #define | AFMT_MPEG 0x00000200 |
| #define | AFMT_AC3 0x00000400 |
| #define | AFMT_VORBIS 0x00000800 |
| #define | AFMT_S32_LE 0x00001000 |
| #define | AFMT_S32_BE 0x00002000 |
| #define | AFMT_FLOAT 0x00004000 |
| #define | AFMT_S24_LE 0x00008000 |
| #define | AFMT_S24_BE 0x00010000 |
| #define | AFMT_SPDIF_RAW 0x00020000 |
| #define | AFMT_S24_PACKED 0x00040000 |
| #define | _PATCHKEY(id) ((id<<8)|0xfd) |
| #define | AFMT_S16_NE AFMT_S16_LE |
| #define | AFMT_U16_NE AFMT_U16_LE |
| #define | AFMT_S32_NE AFMT_S32_LE |
| #define | AFMT_S24_NE AFMT_S24_LE |
| #define | AFMT_S16_OE AFMT_S16_BE |
| #define | AFMT_S32_OE AFMT_S32_BE |
| #define | AFMT_S24_OE AFMT_S24_BE |
| #define | SNDCTL_DSP_GETOSPACE __SIOR ('P',12, audio_buf_info) |
| #define | SNDCTL_DSP_GETISPACE __SIOR ('P',13, audio_buf_info) |
| #define | SNDCTL_DSP_GETCAPS __SIOR ('P',15, int) |
| #define | PCM_CAP_REVISION 0x000000ff |
| #define | PCM_CAP_DUPLEX 0x00000100 |
| #define | PCM_CAP_REALTIME 0x00000200 |
| #define | PCM_CAP_BATCH 0x00000400 |
| #define | PCM_CAP_COPROC 0x00000800 |
| #define | PCM_CAP_TRIGGER 0x00001000 |
| #define | PCM_CAP_MMAP 0x00002000 |
| #define | PCM_CAP_MULTI 0x00004000 |
| #define | PCM_CAP_BIND 0x00008000 |
| #define | PCM_CAP_INPUT 0x00010000 |
| #define | PCM_CAP_OUTPUT 0x00020000 |
| #define | PCM_CAP_VIRTUAL 0x00040000 |
| #define | PCM_CAP_ANALOGOUT 0x00100000 |
| #define | PCM_CAP_ANALOGIN 0x00200000 |
| #define | PCM_CAP_DIGITALOUT 0x00400000 |
| #define | PCM_CAP_DIGITALIN 0x00800000 |
| #define | PCM_CAP_ADMASK 0x00f00000 |
| #define | PCM_CAP_SPECIAL 0x01000000 |
| #define | PCM_CAP_SHADOW 0x00000000 |
| #define | DSP_CH_MASK 0x06000000 |
| #define | DSP_CH_ANY 0x00000000 |
| #define | DSP_CH_MONO 0x02000000 |
| #define | DSP_CH_STEREO 0x04000000 |
| #define | DSP_CH_MULTI 0x06000000 |
| #define | PCM_CAP_HIDDEN 0x08000000 |
| #define | PCM_CAP_FREERATE 0x10000000 |
| #define | PCM_CAP_MODEM 0x20000000 |
| #define | PCM_CAP_DEFAULT 0x40000000 |
| #define | DSP_CAP_ADMASK PCM_CAP_ADMASK |
| #define | DSP_CAP_ANALOGIN PCM_CAP_ANALOGIN |
| #define | DSP_CAP_ANALOGOUT PCM_CAP_ANALOGOUT |
| #define | DSP_CAP_BATCH PCM_CAP_BATCH |
| #define | DSP_CAP_BIND PCM_CAP_BIND |
| #define | DSP_CAP_COPROC PCM_CAP_COPROC |
| #define | DSP_CAP_DEFAULT PCM_CAP_DEFAULT |
| #define | DSP_CAP_DIGITALIN PCM_CAP_DIGITALIN |
| #define | DSP_CAP_DIGITALOUT PCM_CAP_DIGITALOUT |
| #define | DSP_CAP_DUPLEX PCM_CAP_DUPLEX |
| #define | DSP_CAP_FREERATE PCM_CAP_FREERATE |
| #define | DSP_CAP_HIDDEN PCM_CAP_HIDDEN |
| #define | DSP_CAP_INPUT PCM_CAP_INPUT |
| #define | DSP_CAP_MMAP PCM_CAP_MMAP |
| #define | DSP_CAP_MODEM PCM_CAP_MODEM |
| #define | DSP_CAP_MULTI PCM_CAP_MULTI |
| #define | DSP_CAP_OUTPUT PCM_CAP_OUTPUT |
| #define | DSP_CAP_REALTIME PCM_CAP_REALTIME |
| #define | DSP_CAP_REVISION PCM_CAP_REVISION |
| #define | DSP_CAP_SHADOW PCM_CAP_SHADOW |
| #define | DSP_CAP_TRIGGER PCM_CAP_TRIGGER |
| #define | DSP_CAP_VIRTUAL PCM_CAP_VIRTUAL |
| #define | SNDCTL_DSP_GETTRIGGER __SIOR ('P',16, int) |
| #define | SNDCTL_DSP_SETTRIGGER __SIOW ('P',16, int) |
| #define | PCM_ENABLE_INPUT 0x00000001 |
| #define | PCM_ENABLE_OUTPUT 0x00000002 |
| #define | SNDCTL_DSP_GETIPTR __SIOR ('P',17, count_info) |
| #define | SNDCTL_DSP_GETOPTR __SIOR ('P',18, count_info) |
| #define | SNDCTL_DSP_SETSYNCRO __SIO ('P', 21) |
| #define | SNDCTL_DSP_SETDUPLEX __SIO ('P', 22) |
| #define | SNDCTL_DSP_PROFILE __SIOW ('P', 23, int) |
| #define | APF_NORMAL 0 |
| #define | APF_NETWORK 1 |
| #define | APF_CPUINTENS 2 |
| #define | SNDCTL_DSP_GETODELAY __SIOR ('P', 23, int) |
| #define | SNDCTL_DSP_GETPLAYVOL __SIOR ('P', 24, int) |
| #define | SNDCTL_DSP_SETPLAYVOL __SIOWR('P', 24, int) |
| #define | SNDCTL_DSP_GETERROR __SIOR ('P', 25, audio_errinfo) |
| #define | DIG_CBITIN_NONE 0x00000000 |
| #define | DIG_CBITIN_LIMITED 0x00000001 |
| #define | DIG_CBITIN_DATA 0x00000002 |
| #define | DIG_CBITIN_BYTE0 0x00000004 |
| #define | DIG_CBITIN_FULL 0x00000008 |
| #define | DIG_CBITIN_MASK 0x0000000f |
| #define | DIG_CBITOUT_NONE 0x00000000 |
| #define | DIG_CBITOUT_LIMITED 0x00000010 |
| #define | DIG_CBITOUT_BYTE0 0x00000020 |
| #define | DIG_CBITOUT_FULL 0x00000040 |
| #define | DIG_CBITOUT_DATA 0x00000080 |
| #define | DIG_CBITOUT_MASK 0x000000f0 |
| #define | DIG_UBITIN 0x00000100 |
| #define | DIG_UBITOUT 0x00000200 |
| #define | DIG_VBITOUT 0x00000400 |
| #define | DIG_OUTRATE 0x00000800 |
| #define | DIG_INRATE 0x00001000 |
| #define | DIG_INBITS 0x00002000 |
| #define | DIG_OUTBITS 0x00004000 |
| #define | DIG_EXACT 0x00010000 |
| #define | DIG_PRO 0x00020000 |
| #define | DIG_CONSUMER 0x00040000 |
| #define | DIG_PASSTHROUGH 0x00080000 |
| #define | DIG_OUTSEL 0x00100000 |
| #define | VAL_CBITIN 0x00000001 |
| #define | VAL_UBITIN 0x00000002 |
| #define | VAL_CBITOUT 0x00000004 |
| #define | VAL_UBITOUT 0x00000008 |
| #define | VAL_ISTATUS 0x00000010 |
| #define | VAL_IRATE 0x00000020 |
| #define | VAL_ORATE 0x00000040 |
| #define | VAL_INBITS 0x00000080 |
| #define | VAL_OUTBITS 0x00000100 |
| #define | VAL_REQUEST 0x00000200 |
| #define | VAL_OUTSEL 0x00000400 |
| #define | VAL_OUTMASK (VAL_CBITOUT|VAL_UBITOUT|VAL_ORATE|VAL_OUTBITS|VAL_OUTSEL) |
| #define | SPD_RQ_PASSTHROUGH 1 |
| #define | OUTSEL_DIGITAL 1 |
| #define | OUTSEL_ANALOG 2 |
| #define | OUTSEL_BOTH (OUTSEL_DIGITAL|OUTSEL_ANALOG) |
| #define | IND_UNKNOWN 0 |
| #define | IND_AUDIO 1 |
| #define | IND_DATA 2 |
| #define | LOCK_NOT_INDICATED 0 |
| #define | LOCK_UNLOCKED 1 |
| #define | LOCK_LOCKED 2 |
| #define | IN_QUAL_NOT_INDICATED 0 |
| #define | IN_QUAL_POOR 1 |
| #define | IN_QUAL_GOOD 2 |
| #define | VBIT_NOT_INDICATED 0 |
| #define | VBIT_OFF 1 |
| #define | VBIT_ON 2 |
| #define | INERR_CRC 0x0001 |
| #define | INERR_QCODE_CRC 0x0002 |
| #define | INERR_PARITY 0x0004 |
| #define | INERR_BIPHASE 0x0008 |
| #define | SNDCTL_DSP_READCTL __SIOWR('P', 26, oss_digital_control) |
| #define | SNDCTL_DSP_WRITECTL __SIOWR('P', 27, oss_digital_control) |
| #define | SNDCTL_DSP_SYNCGROUP __SIOWR('P', 28, oss_syncgroup) |
| #define | SNDCTL_DSP_SYNCSTART __SIOW ('P', 29, int) |
| #define | SNDCTL_DSP_COOKEDMODE __SIOW ('P', 30, int) |
| #define | SNDCTL_DSP_SILENCE __SIO ('P', 31) |
| #define | SNDCTL_DSP_SKIP __SIO ('P', 32) |
| #define | SNDCTL_DSP_HALT_INPUT __SIO ('P', 33) |
| #define | SNDCTL_DSP_RESET_INPUT SNDCTL_DSP_HALT_INPUT |
| #define | SNDCTL_DSP_HALT_OUTPUT __SIO ('P', 34) |
| #define | SNDCTL_DSP_RESET_OUTPUT SNDCTL_DSP_HALT_OUTPUT |
| #define | SNDCTL_DSP_LOW_WATER __SIOW ('P', 34, int) |
| #define | SNDCTL_DSP_CURRENT_IPTR __SIOR ('P', 35, oss_count_t) |
| #define | SNDCTL_DSP_CURRENT_OPTR __SIOR ('P', 36, oss_count_t) |
| #define | SNDCTL_DSP_GET_RECSRC_NAMES __SIOR ('P', 37, oss_mixer_enuminfo) |
| #define | SNDCTL_DSP_GET_RECSRC __SIOR ('P', 38, int) |
| #define | SNDCTL_DSP_SET_RECSRC __SIOWR('P', 38, int) |
| #define | SNDCTL_DSP_GET_PLAYTGT_NAMES __SIOR ('P', 39, oss_mixer_enuminfo) |
| #define | SNDCTL_DSP_GET_PLAYTGT __SIOR ('P', 40, int) |
| #define | SNDCTL_DSP_SET_PLAYTGT __SIOWR('P', 40, int) |
| #define | SNDCTL_DSP_GETRECVOL __SIOR ('P', 41, int) |
| #define | SNDCTL_DSP_SETRECVOL __SIOWR('P', 41, int) |
| #define | SNDCTL_DSP_GET_CHNORDER __SIOR ('P', 42, unsigned long long) |
| #define | SNDCTL_DSP_SET_CHNORDER __SIOWR('P', 42, unsigned long long) |
| #define | CHID_UNDEF 0 |
| #define | CHID_L 1 |
| #define | CHID_R 2 |
| #define | CHID_C 3 |
| #define | CHID_LFE 4 |
| #define | CHID_LS 5 |
| #define | CHID_RS 6 |
| #define | CHID_LR 7 |
| #define | CHID_RR 8 |
| #define | CHNORDER_UNDEF 0x0000000000000000ULL |
| #define | CHNORDER_NORMAL 0x0000000087654321ULL |
| #define | MAX_PEAK_CHANNELS 128 |
| #define | SNDCTL_DSP_GETIPEAKS __SIOR('P', 43, oss_peaks_t) |
| #define | SNDCTL_DSP_GETOPEAKS __SIOR('P', 44, oss_peaks_t) |
| #define | SNDCTL_DSP_POLICY __SIOW('P', 45, int) |
| #define | SNDCTL_DSP_GETCHANNELMASK __SIOWR('P', 64, int) |
| #define | SNDCTL_DSP_BIND_CHANNEL __SIOWR('P', 65, int) |
| #define | DSP_BIND_QUERY 0x00000000 |
| #define | DSP_BIND_FRONT 0x00000001 |
| #define | DSP_BIND_SURR 0x00000002 |
| #define | DSP_BIND_CENTER_LFE 0x00000004 |
| #define | DSP_BIND_HANDSET 0x00000008 |
| #define | DSP_BIND_MIC 0x00000010 |
| #define | DSP_BIND_MODEM1 0x00000020 |
| #define | DSP_BIND_MODEM2 0x00000040 |
| #define | DSP_BIND_I2S 0x00000080 |
| #define | DSP_BIND_SPDIF 0x00000100 |
| #define | DSP_BIND_REAR 0x00000200 |
| #define | SOUND_MIXER_NRDEVICES 28 |
| #define | SOUND_MIXER_VOLUME 0 |
| #define | SOUND_MIXER_BASS 1 |
| #define | SOUND_MIXER_TREBLE 2 |
| #define | SOUND_MIXER_SYNTH 3 |
| #define | SOUND_MIXER_PCM 4 |
| #define | SOUND_MIXER_SPEAKER 5 |
| #define | SOUND_MIXER_LINE 6 |
| #define | SOUND_MIXER_MIC 7 |
| #define | SOUND_MIXER_CD 8 |
| #define | SOUND_MIXER_IMIX 9 |
| #define | SOUND_MIXER_ALTPCM 10 |
| #define | SOUND_MIXER_RECLEV 11 |
| #define | SOUND_MIXER_IGAIN 12 |
| #define | SOUND_MIXER_OGAIN 13 |
| #define | SOUND_MIXER_LINE1 14 |
| #define | SOUND_MIXER_LINE2 15 |
| #define | SOUND_MIXER_LINE3 16 |
| #define | SOUND_MIXER_DIGITAL1 17 |
| #define | SOUND_MIXER_DIGITAL2 18 |
| #define | SOUND_MIXER_DIGITAL3 19 |
| #define | SOUND_MIXER_PHONE 20 |
| #define | SOUND_MIXER_MONO 21 |
| #define | SOUND_MIXER_VIDEO 22 |
| #define | SOUND_MIXER_RADIO 23 |
| #define | SOUND_MIXER_DEPTH 24 |
| #define | SOUND_MIXER_REARVOL 25 |
| #define | SOUND_MIXER_CENTERVOL 26 |
| #define | SOUND_MIXER_SIDEVOL 27 |
| #define | SOUND_MIXER_SURRVOL SOUND_MIXER_SIDEVOL |
| #define | SOUND_ONOFF_MIN 28 |
| #define | SOUND_ONOFF_MAX 30 |
| #define | SOUND_MIXER_NONE 31 |
| #define | SOUND_MIXER_ENHANCE SOUND_MIXER_NONE |
| #define | SOUND_MIXER_MUTE SOUND_MIXER_NONE |
| #define | SOUND_MIXER_LOUD SOUND_MIXER_NONE |
| #define | SOUND_DEVICE_LABELS |
| #define | SOUND_DEVICE_NAMES |
| #define | SOUND_MIXER_RECSRC 0xff |
| #define | SOUND_MIXER_DEVMASK 0xfe |
| #define | SOUND_MIXER_RECMASK 0xfd |
| #define | SOUND_MIXER_CAPS 0xfc |
| #define | SOUND_CAP_EXCL_INPUT 0x00000001 |
| #define | SOUND_CAP_NOLEGACY 0x00000004 |
| #define | SOUND_CAP_NORECSRC 0x00000008 |
| #define | SOUND_MIXER_STEREODEVS 0xfb |
| #define | SOUND_MIXER_OUTSRC 0xfa |
| #define | SOUND_MIXER_OUTMASK 0xf9 |
| #define | SOUND_MASK_VOLUME (1 << SOUND_MIXER_VOLUME) |
| #define | SOUND_MASK_BASS (1 << SOUND_MIXER_BASS) |
| #define | SOUND_MASK_TREBLE (1 << SOUND_MIXER_TREBLE) |
| #define | SOUND_MASK_SYNTH (1 << SOUND_MIXER_SYNTH) |
| #define | SOUND_MASK_PCM (1 << SOUND_MIXER_PCM) |
| #define | SOUND_MASK_SPEAKER (1 << SOUND_MIXER_SPEAKER) |
| #define | SOUND_MASK_LINE (1 << SOUND_MIXER_LINE) |
| #define | SOUND_MASK_MIC (1 << SOUND_MIXER_MIC) |
| #define | SOUND_MASK_CD (1 << SOUND_MIXER_CD) |
| #define | SOUND_MASK_IMIX (1 << SOUND_MIXER_IMIX) |
| #define | SOUND_MASK_ALTPCM (1 << SOUND_MIXER_ALTPCM) |
| #define | SOUND_MASK_RECLEV (1 << SOUND_MIXER_RECLEV) |
| #define | SOUND_MASK_IGAIN (1 << SOUND_MIXER_IGAIN) |
| #define | SOUND_MASK_OGAIN (1 << SOUND_MIXER_OGAIN) |
| #define | SOUND_MASK_LINE1 (1 << SOUND_MIXER_LINE1) |
| #define | SOUND_MASK_LINE2 (1 << SOUND_MIXER_LINE2) |
| #define | SOUND_MASK_LINE3 (1 << SOUND_MIXER_LINE3) |
| #define | SOUND_MASK_DIGITAL1 (1 << SOUND_MIXER_DIGITAL1) |
| #define | SOUND_MASK_DIGITAL2 (1 << SOUND_MIXER_DIGITAL2) |
| #define | SOUND_MASK_DIGITAL3 (1 << SOUND_MIXER_DIGITAL3) |
| #define | SOUND_MASK_MONO (1 << SOUND_MIXER_MONO) |
| #define | SOUND_MASK_PHONE (1 << SOUND_MIXER_PHONE) |
| #define | SOUND_MASK_RADIO (1 << SOUND_MIXER_RADIO) |
| #define | SOUND_MASK_VIDEO (1 << SOUND_MIXER_VIDEO) |
| #define | SOUND_MASK_DEPTH (1 << SOUND_MIXER_DEPTH) |
| #define | SOUND_MASK_REARVOL (1 << SOUND_MIXER_REARVOL) |
| #define | SOUND_MASK_CENTERVOL (1 << SOUND_MIXER_CENTERVOL) |
| #define | SOUND_MASK_SIDEVOL (1 << SOUND_MIXER_SIDEVOL) |
| #define | SOUND_MASK_SURRVOL (1 << SOUND_MIXER_SIDEVOL) |
| #define | SOUND_MASK_MUTE (1 << SOUND_MIXER_MUTE) |
| #define | SOUND_MASK_ENHANCE (1 << SOUND_MIXER_ENHANCE) |
| #define | SOUND_MASK_LOUD (1 << SOUND_MIXER_LOUD) |
| #define | MIXER_READ(dev) __SIOR('M', dev, int) |
| #define | SOUND_MIXER_READ_VOLUME MIXER_READ(SOUND_MIXER_VOLUME) |
| #define | SOUND_MIXER_READ_BASS MIXER_READ(SOUND_MIXER_BASS) |
| #define | SOUND_MIXER_READ_TREBLE MIXER_READ(SOUND_MIXER_TREBLE) |
| #define | SOUND_MIXER_READ_SYNTH MIXER_READ(SOUND_MIXER_SYNTH) |
| #define | SOUND_MIXER_READ_PCM MIXER_READ(SOUND_MIXER_PCM) |
| #define | SOUND_MIXER_READ_SPEAKER MIXER_READ(SOUND_MIXER_SPEAKER) |
| #define | SOUND_MIXER_READ_LINE MIXER_READ(SOUND_MIXER_LINE) |
| #define | SOUND_MIXER_READ_MIC MIXER_READ(SOUND_MIXER_MIC) |
| #define | SOUND_MIXER_READ_CD MIXER_READ(SOUND_MIXER_CD) |
| #define | SOUND_MIXER_READ_IMIX MIXER_READ(SOUND_MIXER_IMIX) |
| #define | SOUND_MIXER_READ_ALTPCM MIXER_READ(SOUND_MIXER_ALTPCM) |
| #define | SOUND_MIXER_READ_RECLEV MIXER_READ(SOUND_MIXER_RECLEV) |
| #define | SOUND_MIXER_READ_IGAIN MIXER_READ(SOUND_MIXER_IGAIN) |
| #define | SOUND_MIXER_READ_OGAIN MIXER_READ(SOUND_MIXER_OGAIN) |
| #define | SOUND_MIXER_READ_LINE1 MIXER_READ(SOUND_MIXER_LINE1) |
| #define | SOUND_MIXER_READ_LINE2 MIXER_READ(SOUND_MIXER_LINE2) |
| #define | SOUND_MIXER_READ_LINE3 MIXER_READ(SOUND_MIXER_LINE3) |
| #define | SOUND_MIXER_READ_MUTE MIXER_READ(SOUND_MIXER_MUTE) |
| #define | SOUND_MIXER_READ_ENHANCE MIXER_READ(SOUND_MIXER_ENHANCE) |
| #define | SOUND_MIXER_READ_LOUD MIXER_READ(SOUND_MIXER_LOUD) |
| #define | SOUND_MIXER_READ_RECSRC MIXER_READ(SOUND_MIXER_RECSRC) |
| #define | SOUND_MIXER_READ_DEVMASK MIXER_READ(SOUND_MIXER_DEVMASK) |
| #define | SOUND_MIXER_READ_RECMASK MIXER_READ(SOUND_MIXER_RECMASK) |
| #define | SOUND_MIXER_READ_STEREODEVS MIXER_READ(SOUND_MIXER_STEREODEVS) |
| #define | SOUND_MIXER_READ_CAPS MIXER_READ(SOUND_MIXER_CAPS) |
| #define | MIXER_WRITE(dev) __SIOWR('M', dev, int) |
| #define | SOUND_MIXER_WRITE_VOLUME MIXER_WRITE(SOUND_MIXER_VOLUME) |
| #define | SOUND_MIXER_WRITE_BASS MIXER_WRITE(SOUND_MIXER_BASS) |
| #define | SOUND_MIXER_WRITE_TREBLE MIXER_WRITE(SOUND_MIXER_TREBLE) |
| #define | SOUND_MIXER_WRITE_SYNTH MIXER_WRITE(SOUND_MIXER_SYNTH) |
| #define | SOUND_MIXER_WRITE_PCM MIXER_WRITE(SOUND_MIXER_PCM) |
| #define | SOUND_MIXER_WRITE_SPEAKER MIXER_WRITE(SOUND_MIXER_SPEAKER) |
| #define | SOUND_MIXER_WRITE_LINE MIXER_WRITE(SOUND_MIXER_LINE) |
| #define | SOUND_MIXER_WRITE_MIC MIXER_WRITE(SOUND_MIXER_MIC) |
| #define | SOUND_MIXER_WRITE_CD MIXER_WRITE(SOUND_MIXER_CD) |
| #define | SOUND_MIXER_WRITE_IMIX MIXER_WRITE(SOUND_MIXER_IMIX) |
| #define | SOUND_MIXER_WRITE_ALTPCM MIXER_WRITE(SOUND_MIXER_ALTPCM) |
| #define | SOUND_MIXER_WRITE_RECLEV MIXER_WRITE(SOUND_MIXER_RECLEV) |
| #define | SOUND_MIXER_WRITE_IGAIN MIXER_WRITE(SOUND_MIXER_IGAIN) |
| #define | SOUND_MIXER_WRITE_OGAIN MIXER_WRITE(SOUND_MIXER_OGAIN) |
| #define | SOUND_MIXER_WRITE_LINE1 MIXER_WRITE(SOUND_MIXER_LINE1) |
| #define | SOUND_MIXER_WRITE_LINE2 MIXER_WRITE(SOUND_MIXER_LINE2) |
| #define | SOUND_MIXER_WRITE_LINE3 MIXER_WRITE(SOUND_MIXER_LINE3) |
| #define | SOUND_MIXER_WRITE_MUTE MIXER_WRITE(SOUND_MIXER_MUTE) |
| #define | SOUND_MIXER_WRITE_ENHANCE MIXER_WRITE(SOUND_MIXER_ENHANCE) |
| #define | SOUND_MIXER_WRITE_LOUD MIXER_WRITE(SOUND_MIXER_LOUD) |
| #define | SOUND_MIXER_WRITE_RECSRC MIXER_WRITE(SOUND_MIXER_RECSRC) |
| #define | SOUND_MIXER_INFO __SIOR ('M', 101, mixer_info) |
| #define | SOUND_MIXER_AGC _SIOWR('M', 103, int) |
| #define | SOUND_MIXER_3DSE _SIOWR('M', 104, int) |
| #define | SOUND_MIXER_PRIVATE1 __SIOWR('M', 111, int) |
| #define | SOUND_MIXER_PRIVATE2 __SIOWR('M', 112, int) |
| #define | SOUND_MIXER_PRIVATE3 __SIOWR('M', 113, int) |
| #define | SOUND_MIXER_PRIVATE4 __SIOWR('M', 114, int) |
| #define | SOUND_MIXER_PRIVATE5 __SIOWR('M', 115, int) |
| #define | SOUND_MIXER_READ_MAINVOL __SIOR ('M', 116, int) |
| #define | SOUND_MIXER_WRITE_MAINVOL __SIOWR('M', 116, int) |
| #define | SOUND_MIXER_GETLEVELS __SIOWR('M', 116, mixer_vol_table) |
| #define | SOUND_MIXER_SETLEVELS __SIOWR('M', 117, mixer_vol_table) |
| #define | OSS_GETVERSION __SIOR ('M', 118, int) |
| #define | SOUND_MIXER_READ_RECGAIN __SIOR ('M', 119, int) |
| #define | SOUND_MIXER_WRITE_RECGAIN __SIOWR('M', 119, int) |
| #define | SOUND_MIXER_READ_MONGAIN __SIOR ('M', 120, int) |
| #define | SOUND_MIXER_WRITE_MONGAIN __SIOWR('M', 120, int) |
| #define | SOUND_MIXER_RESERVED __SIOWR('M', 121, oss_reserved_t) |
| #define | MIXT_DEVROOT 0 |
| #define | MIXT_GROUP 1 |
| #define | MIXT_ONOFF 2 |
| #define | MIXT_ENUM 3 |
| #define | MIXT_MONOSLIDER 4 |
| #define | MIXT_STEREOSLIDER 5 |
| #define | MIXT_MESSAGE 6 |
| #define | MIXT_MONOVU 7 |
| #define | MIXT_STEREOVU 8 |
| #define | MIXT_MONOPEAK 9 |
| #define | MIXT_STEREOPEAK 10 |
| #define | MIXT_RADIOGROUP 11 |
| #define | MIXT_MARKER 12 |
| #define | MIXT_VALUE 13 |
| #define | MIXT_HEXVALUE 14 |
| #define | MIXT_MONODB 15 |
| #define | MIXT_STEREODB 16 |
| #define | MIXT_SLIDER 17 |
| #define | MIXT_3D 18 |
| #define | MIXT_MONOSLIDER16 19 |
| #define | MIXT_STEREOSLIDER16 20 |
| #define | MIXT_MUTE 21 |
| #define | MIXF_READABLE 0x00000001 |
| #define | MIXF_WRITEABLE 0x00000002 |
| #define | MIXF_POLL 0x00000004 |
| #define | MIXF_HZ 0x00000008 |
| #define | MIXF_STRING 0x00000010 |
| #define | MIXF_DYNAMIC 0x00000010 |
| #define | MIXF_OKFAIL 0x00000020 |
| #define | MIXF_FLAT 0x00000040 |
| #define | MIXF_LEGACY 0x00000080 |
| #define | MIXF_CENTIBEL 0x00000100 |
| #define | MIXF_DECIBEL 0x00000200 |
| #define | MIXF_MAINVOL 0x00000400 |
| #define | MIXF_PCMVOL 0x00000800 |
| #define | MIXF_RECVOL 0x00001000 |
| #define | MIXF_MONVOL 0x00002000 |
| #define | MIXF_WIDE 0x00004000 |
| #define | MIXF_DESCR 0x00008000 |
| #define | MIXEXT_SCOPE_MASK 0x0000003f |
| #define | MIXEXT_SCOPE_OTHER 0x00000000 |
| #define | MIXEXT_SCOPE_INPUT 0x00000001 |
| #define | MIXEXT_SCOPE_OUTPUT 0x00000002 |
| #define | MIXEXT_SCOPE_MONITOR 0x00000003 |
| #define | MIXEXT_SCOPE_RECSWITCH 0x00000004 |
| #define | OSS_RGB_BLUE 0x7aabde |
| #define | OSS_RGB_GREEN 0xb3c98c |
| #define | OSS_RGB_PINK 0xe88c99 |
| #define | OSS_RGB_GRAY 0xd1ccc4 |
| #define | OSS_RGB_BLACK 0x2b2926 |
| #define | OSS_RGB_ORANGE 0xe89e47 |
| #define | OSS_RGB_RED 0xff0000 |
| #define | OSS_RGB_YELLOW 0xffff00 |
| #define | OSS_RGB_PURPLE 0x800080 |
| #define | OSS_RGB_WHITE 0xf8f8ff |
| #define | OSS_ENUM_MAXVALUE 255 |
| #define | OSS_ENUM_STRINGSIZE 3000 |
| #define | OPEN_READ PCM_ENABLE_INPUT |
| #define | OPEN_WRITE PCM_ENABLE_OUTPUT |
| #define | OPEN_READWRITE (OPEN_READ|OPEN_WRITE) |
| #define | OSS_MAX_SAMPLE_RATES 20 |
| #define | MIXER_CAP_VIRTUAL 0x00000001 |
| #define | MIXER_CAP_LAYOUT_B 0x00000002 |
| #define | MIXER_CAP_NARROW 0x00000004 |
| #define | MIDI_CAP_MPU401 0x00000001 |
| #define | MIDI_CAP_INPUT 0x00000002 |
| #define | MIDI_CAP_OUTPUT 0x00000004 |
| #define | MIDI_CAP_INOUT (MIDI_CAP_INPUT|MIDI_CAP_OUTPUT) |
| #define | MIDI_CAP_VIRTUAL 0x00000008 |
| #define | MIDI_CAP_MTCINPUT 0x00000010 |
| #define | MIDI_CAP_CLIENT 0x00000020 |
| #define | MIDI_CAP_SERVER 0x00000040 |
| #define | MIDI_CAP_INTERNAL 0x00000080 |
| #define | MIDI_CAP_EXTERNAL 0x00000100 |
| #define | MIDI_CAP_PTOP 0x00000200 |
| #define | MIDI_CAP_MTC 0x00000400 |
| #define | SNDCTL_SYSINFO __SIOR ('X', 1, oss_sysinfo) |
| #define | OSS_SYSINFO SNDCTL_SYSINFO |
| #define | SNDCTL_MIX_NRMIX __SIOR ('X', 2, int) |
| #define | SNDCTL_MIX_NREXT __SIOWR('X', 3, int) |
| #define | SNDCTL_MIX_EXTINFO __SIOWR('X', 4, oss_mixext) |
| #define | SNDCTL_MIX_READ __SIOWR('X', 5, oss_mixer_value) |
| #define | SNDCTL_MIX_WRITE __SIOWR('X', 6, oss_mixer_value) |
| #define | SNDCTL_AUDIOINFO __SIOWR('X', 7, oss_audioinfo) |
| #define | SNDCTL_MIX_ENUMINFO __SIOWR('X', 8, oss_mixer_enuminfo) |
| #define | SNDCTL_MIDIINFO __SIOWR('X', 9, oss_midi_info) |
| #define | SNDCTL_MIXERINFO __SIOWR('X',10, oss_mixerinfo) |
| #define | SNDCTL_CARDINFO __SIOWR('X',11, oss_card_info) |
| #define | SNDCTL_ENGINEINFO __SIOWR('X',12, oss_audioinfo) |
| #define | SNDCTL_AUDIOINFO_EX __SIOWR('X',13, oss_audioinfo) |
| #define | SNDCTL_MIX_DESCRIPTION __SIOWR('X',14, oss_mixer_enuminfo) |
| #define | SNDCTL_MIX_MATRIX_WRITE __SIOWR('X',15, oss_mixermatrix_t) |
| #define | SNDCTL_MIX_MATRIX_READ __SIOWR('X',16, oss_mixermatrix_t) |
| #define | SNDCTL_SETSONG __SIOW ('Y', 2, oss_longname_t) |
| #define | SNDCTL_GETSONG __SIOR ('Y', 2, oss_longname_t) |
| #define | SNDCTL_SETNAME __SIOW ('Y', 3, oss_longname_t) |
| #define | SNDCTL_SETLABEL __SIOW ('Y', 4, oss_label_t) |
| #define | SNDCTL_GETLABEL __SIOR ('Y', 4, oss_label_t) |
| #define | osslib_open open |
| #define | osslib_close close |
| #define | osslib_write write |
| #define | osslib_read read |
| #define | osslib_ioctl ioctl |
| #define | SNDCTL_DSP_NONBLOCK __SIO ('P',14) |
| #define | SOUND_PCM_READ_RATE SOUND_PCM_READ_RATE_is_obsolete |
| #define | SOUND_PCM_READ_BITS SOUND_PCM_READ_BITS_is_obsolete |
| #define | SOUND_PCM_READ_CHANNELS SOUND_PCM_READ_CHANNELS_is_obsolete |
| #define | SOUND_PCM_WRITE_RATE SOUND_PCM_WRITE_RATE_is_obsolet_use_SNDCTL_DSP_SPEED_instead |
| #define | SOUND_PCM_WRITE_CHANNELS SOUND_PCM_WRITE_CHANNELS_is_obsolete_use_SNDCTL_DSP_CHANNELS_instead |
| #define | SOUND_PCM_WRITE_BITS SOUND_PCM_WRITE_BITS_is_obsolete_use_SNDCTL_DSP_SETFMT_instead |
| #define | SOUND_PCM_POST SOUND_PCM_POST_is_obsolete_use_SNDCTL_DSP_POST_instead |
| #define | SOUND_PCM_RESET SOUND_PCM_RESET_is_obsolete_use_SNDCTL_DSP_HALT_instead |
| #define | SOUND_PCM_SYNC SOUND_PCM_SYNC_is_obsolete_use_SNDCTL_DSP_SYNC_instead |
| #define | SOUND_PCM_SUBDIVIDE SOUND_PCM_SUBDIVIDE_is_obsolete_use_SNDCTL_DSP_SUBDIVIDE_instead |
| #define | SOUND_PCM_SETFRAGMENT SOUND_PCM_SETFRAGMENT_is_obsolete_use_SNDCTL_DSP_SETFRAGMENT_instead |
| #define | SOUND_PCM_GETFMTS SOUND_PCM_GETFMTS_is_obsolete_use_SNDCTL_DSP_GETFMTS_instead |
| #define | SOUND_PCM_SETFMT SOUND_PCM_SETFMT_is_obsolete_use_SNDCTL_DSP_SETFMT_instead |
| #define | SOUND_PCM_GETOSPACE SOUND_PCM_GETOSPACE_is_obsolete_use_SNDCTL_DSP_GETOSPACE_instead |
| #define | SOUND_PCM_GETISPACE SOUND_PCM_GETISPACE_is_obsolete_use_SNDCTL_DSP_GETISPACE_instead |
| #define | SOUND_PCM_NONBLOCK SOUND_PCM_NONBLOCK_is_obsolete_use_SNDCTL_DSP_NONBLOCK_instead |
| #define | SOUND_PCM_GETCAPS SOUND_PCM_GETCAPS_is_obsolete_use_SNDCTL_DSP_GETCAPS_instead |
| #define | SOUND_PCM_GETTRIGGER SOUND_PCM_GETTRIGGER_is_obsolete_use_SNDCTL_DSP_GETTRIGGER_instead |
| #define | SOUND_PCM_SETTRIGGER SOUND_PCM_SETTRIGGER_is_obsolete_use_SNDCTL_DSP_SETTRIGGER_instead |
| #define | SOUND_PCM_SETSYNCRO SOUND_PCM_SETSYNCRO_is_obsolete_use_SNDCTL_DSP_SETSYNCRO_instead |
| #define | SOUND_PCM_GETIPTR SOUND_PCM_GETIPTR_is_obsolete_use_SNDCTL_DSP_GETIPTR_instead |
| #define | SOUND_PCM_GETOPTR SOUND_PCM_GETOPTR_is_obsolete_use_SNDCTL_DSP_GETOPTR_instead |
| #define | SOUND_PCM_MAPINBUF SOUND_PCM_MAPINBUF_is_obsolete_use_SNDCTL_DSP_MAPINBUF_instead |
| #define | SOUND_PCM_MAPOUTBUF SOUND_PCM_MAPOUTBUF_is_obsolete_use_SNDCTL_DSP_MAPOUTBUF_instead |
Typedefs | |
| typedef char | oss_longname_t [OSS_LONGNAME_SIZE] |
| typedef char | oss_label_t [OSS_LABEL_SIZE] |
| typedef char | oss_devnode_t [OSS_DEVNODE_SIZE] |
| typedef char | oss_devname_t [OSS_DEVNAME_SIZE] |
| typedef char | oss_cmd_t [OSS_CMD_SIZE] |
| typedef char | oss_id_t [OSS_ID_SIZE] |
| typedef char | oss_handle_t [OSS_HANDLE_SIZE] |
| typedef unsigned char | sbi_instr_data [32] |
| typedef unsigned long long | oss_midi_time_t |
| typedef unsigned short | oss_peaks_t [MAX_PEAK_CHANNELS] |
| typedef unsigned char | oss_reserved_t [512] |
Functions | |
| void | seqbuf_dump (void) |
| EXTERNC int | OSS_init (int seqfd, int buflen) |
| EXTERNC void | OSS_seqbuf_dump (int fd, unsigned char *buf, int buflen) |
| EXTERNC void | OSS_seq_advbuf (int len, int fd, unsigned char *buf, int buflen) |
| EXTERNC void | OSS_seq_needbuf (int len, int fd, unsigned char *buf, int buflen) |
| EXTERNC void | OSS_patch_caching (int dev, int chn, int patch, int fd, unsigned char *buf, int buflen) |
| EXTERNC void | OSS_drum_caching (int dev, int chn, int patch, int fd, unsigned char *buf, int buflen) |
| EXTERNC void | OSS_write_patch (int fd, unsigned char *buf, int len) |
| EXTERNC int | OSS_write_patch2 (int fd, unsigned char *buf, int len) |
Definition at line 114 of file soundcard.h.
| #define __SIOC_NONE SIOC_VOID |
Definition at line 115 of file soundcard.h.
| #define __SIOC_READ SIOC_OUT |
Definition at line 116 of file soundcard.h.
Definition at line 113 of file soundcard.h.
| #define __SIOC_WRITE SIOC_IN |
Definition at line 117 of file soundcard.h.
Definition at line 110 of file soundcard.h.
Definition at line 111 of file soundcard.h.
Definition at line 112 of file soundcard.h.
Value:
{_SEQ_NEEDBUF(8);\
_seqbuf[_seqbufptr] = EV_CHN_COMMON;\
_seqbuf[_seqbufptr+1] = (dev);\
_seqbuf[_seqbufptr+2] = (event);\
_seqbuf[_seqbufptr+3] = (chn);\
_seqbuf[_seqbufptr+4] = (p1);\
_seqbuf[_seqbufptr+5] = (p2);\
*(short *)&_seqbuf[_seqbufptr+6] = (w14);\
_SEQ_ADVBUF(8);}
Definition at line 727 of file soundcard.h.
Value:
{_SEQ_NEEDBUF(8);\
_seqbuf[_seqbufptr] = EV_CHN_VOICE;\
_seqbuf[_seqbufptr+1] = (dev);\
_seqbuf[_seqbufptr+2] = (event);\
_seqbuf[_seqbufptr+3] = (chn);\
_seqbuf[_seqbufptr+4] = (note);\
_seqbuf[_seqbufptr+5] = (parm);\
_seqbuf[_seqbufptr+6] = (0);\
_seqbuf[_seqbufptr+7] = 0;\
_SEQ_ADVBUF(8);}
Definition at line 702 of file soundcard.h.
| #define _LOCAL_EVENT | ( | ev, | |||
| parm | ) |
Value:
{_SEQ_NEEDBUF(8);\
_seqbuf[_seqbufptr+0] = EV_SEQ_LOCAL; \
_seqbuf[_seqbufptr+1] = (ev); \
_seqbuf[_seqbufptr+2] = 0;\
_seqbuf[_seqbufptr+3] = 0;\
*(unsigned int *)&_seqbuf[_seqbufptr+4] = (parm); \
_SEQ_ADVBUF(8);}
Definition at line 836 of file soundcard.h.
| #define _PATCHKEY | ( | id | ) | ((id<<8)|0xfd) |
Definition at line 1088 of file soundcard.h.
Definition at line 665 of file soundcard.h.
Definition at line 663 of file soundcard.h.
| #define _TIMER_EVENT | ( | ev, | |||
| parm | ) |
Value:
{_SEQ_NEEDBUF(8);\
_seqbuf[_seqbufptr+0] = EV_TIMING; \
_seqbuf[_seqbufptr+1] = (ev); \
_seqbuf[_seqbufptr+2] = 0;\
_seqbuf[_seqbufptr+3] = 0;\
*(unsigned int *)&_seqbuf[_seqbufptr+4] = (parm); \
_SEQ_ADVBUF(8);}
Definition at line 814 of file soundcard.h.
| #define AFMT_A_LAW 0x00000002 |
Definition at line 1031 of file soundcard.h.
| #define AFMT_AC3 0x00000400 |
Definition at line 1042 of file soundcard.h.
| #define AFMT_FLOAT 0x00004000 |
Definition at line 1051 of file soundcard.h.
| #define AFMT_IMA_ADPCM 0x00000004 |
Definition at line 1032 of file soundcard.h.
| #define AFMT_MPEG 0x00000200 |
Definition at line 1039 of file soundcard.h.
| #define AFMT_MU_LAW 0x00000001 |
Definition at line 1030 of file soundcard.h.
| #define AFMT_QUERY 0x00000000 |
Definition at line 1029 of file soundcard.h.
| #define AFMT_S16_BE 0x00000020 |
Definition at line 1035 of file soundcard.h.
| #define AFMT_S16_LE 0x00000010 |
Definition at line 1034 of file soundcard.h.
| #define AFMT_S16_NE AFMT_S16_LE |
Definition at line 1089 of file soundcard.h.
| #define AFMT_S16_OE AFMT_S16_BE |
Definition at line 1093 of file soundcard.h.
| #define AFMT_S24_BE 0x00010000 |
Definition at line 1055 of file soundcard.h.
| #define AFMT_S24_LE 0x00008000 |
Definition at line 1054 of file soundcard.h.
| #define AFMT_S24_NE AFMT_S24_LE |
Definition at line 1092 of file soundcard.h.
| #define AFMT_S24_OE AFMT_S24_BE |
Definition at line 1095 of file soundcard.h.
| #define AFMT_S24_PACKED 0x00040000 |
Definition at line 1067 of file soundcard.h.
| #define AFMT_S32_BE 0x00002000 |
Definition at line 1048 of file soundcard.h.
| #define AFMT_S32_LE 0x00001000 |
Definition at line 1047 of file soundcard.h.
| #define AFMT_S32_NE AFMT_S32_LE |
Definition at line 1091 of file soundcard.h.
| #define AFMT_S32_OE AFMT_S32_BE |
Definition at line 1094 of file soundcard.h.
| #define AFMT_S8 0x00000040 |
Definition at line 1036 of file soundcard.h.
| #define AFMT_SPDIF_RAW 0x00020000 |
Definition at line 1064 of file soundcard.h.
| #define AFMT_U16_BE 0x00000100 |
Definition at line 1038 of file soundcard.h.
| #define AFMT_U16_LE 0x00000080 |
Definition at line 1037 of file soundcard.h.
| #define AFMT_U16_NE AFMT_U16_LE |
Definition at line 1090 of file soundcard.h.
| #define AFMT_U8 0x00000008 |
Definition at line 1033 of file soundcard.h.
| #define AFMT_VORBIS 0x00000800 |
Definition at line 1044 of file soundcard.h.
| #define APF_CPUINTENS 2 |
Definition at line 1224 of file soundcard.h.
| #define APF_NETWORK 1 |
Definition at line 1223 of file soundcard.h.
| #define APF_NORMAL 0 |
Definition at line 1222 of file soundcard.h.
| #define CHID_C 3 |
Definition at line 1436 of file soundcard.h.
| #define CHID_L 1 |
Definition at line 1434 of file soundcard.h.
| #define CHID_LFE 4 |
Definition at line 1437 of file soundcard.h.
| #define CHID_LR 7 |
Definition at line 1440 of file soundcard.h.
| #define CHID_LS 5 |
Definition at line 1438 of file soundcard.h.
| #define CHID_R 2 |
Definition at line 1435 of file soundcard.h.
| #define CHID_RR 8 |
Definition at line 1441 of file soundcard.h.
| #define CHID_RS 6 |
Definition at line 1439 of file soundcard.h.
| #define CHID_UNDEF 0 |
Definition at line 1433 of file soundcard.h.
| #define CHNORDER_NORMAL 0x0000000087654321ULL |
Definition at line 1443 of file soundcard.h.
| #define CHNORDER_UNDEF 0x0000000000000000ULL |
Definition at line 1442 of file soundcard.h.
| #define CTL_BALANCE 0x08 |
Definition at line 368 of file soundcard.h.
| #define CTL_BANK_SELECT 0x00 |
Definition at line 360 of file soundcard.h.
| #define CTL_BREATH 0x02 |
Definition at line 362 of file soundcard.h.
| #define CTL_CELESTE_DEPTH 0x5e |
Definition at line 408 of file soundcard.h.
| #define CTL_CHORUS_DEPTH 0x5d |
Definition at line 406 of file soundcard.h.
| #define CTL_DAMPER_PEDAL 0x40 |
Definition at line 389 of file soundcard.h.
| #define CTL_DATA_DECREMENT 0x61 |
Definition at line 411 of file soundcard.h.
| #define CTL_DATA_ENTRY 0x06 |
Definition at line 366 of file soundcard.h.
| #define CTL_DATA_INCREMENT 0x60 |
Definition at line 410 of file soundcard.h.
| #define CTL_DETUNE_DEPTH 0x5e |
Definition at line 407 of file soundcard.h.
| #define CTL_EXPRESSION 0x0b |
Definition at line 371 of file soundcard.h.
| #define CTL_EXT_EFF_DEPTH 0x5b |
Definition at line 404 of file soundcard.h.
| #define CTL_FOOT 0x04 |
Definition at line 364 of file soundcard.h.
| #define CTL_GENERAL_PURPOSE1 0x10 |
Definition at line 376 of file soundcard.h.
| #define CTL_GENERAL_PURPOSE2 0x11 |
Definition at line 377 of file soundcard.h.
| #define CTL_GENERAL_PURPOSE3 0x12 |
Definition at line 378 of file soundcard.h.
| #define CTL_GENERAL_PURPOSE4 0x13 |
Definition at line 379 of file soundcard.h.
| #define CTL_GENERAL_PURPOSE5 0x50 |
Definition at line 399 of file soundcard.h.
| #define CTL_GENERAL_PURPOSE6 0x51 |
Definition at line 400 of file soundcard.h.
| #define CTL_GENERAL_PURPOSE7 0x52 |
Definition at line 401 of file soundcard.h.
| #define CTL_GENERAL_PURPOSE8 0x53 |
Definition at line 402 of file soundcard.h.
| #define CTL_HOLD 0x40 |
Definition at line 391 of file soundcard.h.
| #define CTL_HOLD2 0x45 |
Definition at line 396 of file soundcard.h.
| #define CTL_MAIN_VOLUME 0x07 |
Definition at line 367 of file soundcard.h.
| #define CTL_MODWHEEL 0x01 |
Definition at line 361 of file soundcard.h.
| #define CTL_NONREG_PARM_NUM_LSB 0x62 |
Definition at line 412 of file soundcard.h.
| #define CTL_NONREG_PARM_NUM_MSB 0x63 |
Definition at line 413 of file soundcard.h.
| #define CTL_PAN 0x0a |
Definition at line 370 of file soundcard.h.
| #define CTL_PHASER_DEPTH 0x5f |
Definition at line 409 of file soundcard.h.
| #define CTL_PORTAMENTO 0x41 |
Definition at line 392 of file soundcard.h.
| #define CTL_PORTAMENTO_TIME 0x05 |
Definition at line 365 of file soundcard.h.
| #define CTL_REGIST_PARM_NUM_LSB 0x64 |
Definition at line 414 of file soundcard.h.
| #define CTL_REGIST_PARM_NUM_MSB 0x65 |
Definition at line 415 of file soundcard.h.
| #define CTL_SOFT_PEDAL 0x43 |
Definition at line 394 of file soundcard.h.
| #define CTL_SOSTENUTO 0x42 |
Definition at line 393 of file soundcard.h.
| #define CTL_SUSTAIN 0x40 |
Definition at line 390 of file soundcard.h.
| #define CTL_TREMOLO_DEPTH 0x5c |
Definition at line 405 of file soundcard.h.
| #define CTRL_EXPRESSION 253 |
Definition at line 422 of file soundcard.h.
| #define CTRL_MAIN_VOLUME 252 |
Definition at line 423 of file soundcard.h.
| #define CTRL_PITCH_BENDER 255 |
Definition at line 420 of file soundcard.h.
| #define CTRL_PITCH_BENDER_RANGE 254 |
Definition at line 421 of file soundcard.h.
| #define DIG_CBITIN_BYTE0 0x00000004 |
Definition at line 1257 of file soundcard.h.
| #define DIG_CBITIN_DATA 0x00000002 |
Definition at line 1256 of file soundcard.h.
| #define DIG_CBITIN_FULL 0x00000008 |
Definition at line 1258 of file soundcard.h.
| #define DIG_CBITIN_LIMITED 0x00000001 |
Definition at line 1255 of file soundcard.h.
| #define DIG_CBITIN_MASK 0x0000000f |
Definition at line 1259 of file soundcard.h.
| #define DIG_CBITIN_NONE 0x00000000 |
Definition at line 1254 of file soundcard.h.
| #define DIG_CBITOUT_BYTE0 0x00000020 |
Definition at line 1262 of file soundcard.h.
| #define DIG_CBITOUT_DATA 0x00000080 |
Definition at line 1264 of file soundcard.h.
| #define DIG_CBITOUT_FULL 0x00000040 |
Definition at line 1263 of file soundcard.h.
| #define DIG_CBITOUT_LIMITED 0x00000010 |
Definition at line 1261 of file soundcard.h.
| #define DIG_CBITOUT_MASK 0x000000f0 |
Definition at line 1265 of file soundcard.h.
| #define DIG_CBITOUT_NONE 0x00000000 |
Definition at line 1260 of file soundcard.h.
| #define DIG_CONSUMER 0x00040000 |
Definition at line 1275 of file soundcard.h.
| #define DIG_EXACT 0x00010000 |
Definition at line 1273 of file soundcard.h.
| #define DIG_INBITS 0x00002000 |
Definition at line 1271 of file soundcard.h.
| #define DIG_INRATE 0x00001000 |
Definition at line 1270 of file soundcard.h.
| #define DIG_OUTBITS 0x00004000 |
Definition at line 1272 of file soundcard.h.
| #define DIG_OUTRATE 0x00000800 |
Definition at line 1269 of file soundcard.h.
| #define DIG_OUTSEL 0x00100000 |
Definition at line 1277 of file soundcard.h.
| #define DIG_PASSTHROUGH 0x00080000 |
Definition at line 1276 of file soundcard.h.
| #define DIG_PRO 0x00020000 |
Definition at line 1274 of file soundcard.h.
| #define DIG_UBITIN 0x00000100 |
Definition at line 1266 of file soundcard.h.
| #define DIG_UBITOUT 0x00000200 |
Definition at line 1267 of file soundcard.h.
| #define DIG_VBITOUT 0x00000400 |
Definition at line 1268 of file soundcard.h.
| #define DSP_BIND_CENTER_LFE 0x00000004 |
Definition at line 1463 of file soundcard.h.
| #define DSP_BIND_FRONT 0x00000001 |
Definition at line 1461 of file soundcard.h.
| #define DSP_BIND_HANDSET 0x00000008 |
Definition at line 1464 of file soundcard.h.
| #define DSP_BIND_I2S 0x00000080 |
Definition at line 1468 of file soundcard.h.
| #define DSP_BIND_MIC 0x00000010 |
Definition at line 1465 of file soundcard.h.
| #define DSP_BIND_MODEM1 0x00000020 |
Definition at line 1466 of file soundcard.h.
| #define DSP_BIND_MODEM2 0x00000040 |
Definition at line 1467 of file soundcard.h.
| #define DSP_BIND_QUERY 0x00000000 |
Definition at line 1460 of file soundcard.h.
| #define DSP_BIND_REAR 0x00000200 |
Definition at line 1470 of file soundcard.h.
| #define DSP_BIND_SPDIF 0x00000100 |
Definition at line 1469 of file soundcard.h.
| #define DSP_BIND_SURR 0x00000002 |
Definition at line 1462 of file soundcard.h.
| #define DSP_CAP_ADMASK PCM_CAP_ADMASK |
Definition at line 1175 of file soundcard.h.
| #define DSP_CAP_ANALOGIN PCM_CAP_ANALOGIN |
Definition at line 1176 of file soundcard.h.
| #define DSP_CAP_ANALOGOUT PCM_CAP_ANALOGOUT |
Definition at line 1177 of file soundcard.h.
| #define DSP_CAP_BATCH PCM_CAP_BATCH |
Definition at line 1178 of file soundcard.h.
| #define DSP_CAP_BIND PCM_CAP_BIND |
Definition at line 1179 of file soundcard.h.
| #define DSP_CAP_COPROC PCM_CAP_COPROC |
Definition at line 1180 of file soundcard.h.
| #define DSP_CAP_DEFAULT PCM_CAP_DEFAULT |
Definition at line 1181 of file soundcard.h.
| #define DSP_CAP_DIGITALIN PCM_CAP_DIGITALIN |
Definition at line 1182 of file soundcard.h.
| #define DSP_CAP_DIGITALOUT PCM_CAP_DIGITALOUT |
Definition at line 1183 of file soundcard.h.
| #define DSP_CAP_DUPLEX PCM_CAP_DUPLEX |
Definition at line 1184 of file soundcard.h.
| #define DSP_CAP_FREERATE PCM_CAP_FREERATE |
Definition at line 1185 of file soundcard.h.
| #define DSP_CAP_HIDDEN PCM_CAP_HIDDEN |
Definition at line 1186 of file soundcard.h.
| #define DSP_CAP_INPUT PCM_CAP_INPUT |
Definition at line 1187 of file soundcard.h.
| #define DSP_CAP_MMAP PCM_CAP_MMAP |
Definition at line 1188 of file soundcard.h.
| #define DSP_CAP_MODEM PCM_CAP_MODEM |
Definition at line 1189 of file soundcard.h.
| #define DSP_CAP_MULTI PCM_CAP_MULTI |
Definition at line 1190 of file soundcard.h.
| #define DSP_CAP_OUTPUT PCM_CAP_OUTPUT |
Definition at line 1191 of file soundcard.h.
| #define DSP_CAP_REALTIME PCM_CAP_REALTIME |
Definition at line 1192 of file soundcard.h.
| #define DSP_CAP_REVISION PCM_CAP_REVISION |
Definition at line 1193 of file soundcard.h.
| #define DSP_CAP_SHADOW PCM_CAP_SHADOW |
Definition at line 1194 of file soundcard.h.
| #define DSP_CAP_TRIGGER PCM_CAP_TRIGGER |
Definition at line 1195 of file soundcard.h.
| #define DSP_CAP_VIRTUAL PCM_CAP_VIRTUAL |
Definition at line 1196 of file soundcard.h.
| #define DSP_CH_ANY 0x00000000 |
Definition at line 1161 of file soundcard.h.
| #define DSP_CH_MASK 0x06000000 |
Definition at line 1160 of file soundcard.h.
| #define DSP_CH_MONO 0x02000000 |
Definition at line 1162 of file soundcard.h.
| #define DSP_CH_MULTI 0x06000000 |
Definition at line 1164 of file soundcard.h.
| #define DSP_CH_STEREO 0x04000000 |
Definition at line 1163 of file soundcard.h.
| #define EV_CHN_COMMON 0x92 |
Definition at line 545 of file soundcard.h.
| #define EV_CHN_VOICE 0x93 |
Definition at line 546 of file soundcard.h.
| #define EV_SEQ_LOCAL 0x80 |
Definition at line 543 of file soundcard.h.
| #define EV_SYSEX 0x94 |
Definition at line 547 of file soundcard.h.
| #define EV_SYSTEM 0x95 |
Definition at line 548 of file soundcard.h.
| #define EV_TIMING 0x81 |
Definition at line 544 of file soundcard.h.
| #define EXTERNC extern |
Definition at line 32 of file soundcard.h.
| #define FM_PATCH _PATCHKEY(0x01) |
Definition at line 474 of file soundcard.h.
| #define FM_TYPE_ADLIB 0x00 |
Definition at line 491 of file soundcard.h.
| #define FM_TYPE_OPL3 0x01 |
Definition at line 492 of file soundcard.h.
| #define GUS_PATCH WAVE_PATCH |
Definition at line 212 of file soundcard.h.
| #define IN_QUAL_GOOD 2 |
Definition at line 1320 of file soundcard.h.
| #define IN_QUAL_NOT_INDICATED 0 |
Definition at line 1318 of file soundcard.h.
| #define IN_QUAL_POOR 1 |
Definition at line 1319 of file soundcard.h.
| #define IND_AUDIO 1 |
Definition at line 1309 of file soundcard.h.
| #define IND_DATA 2 |
Definition at line 1310 of file soundcard.h.
| #define IND_UNKNOWN 0 |
Definition at line 1308 of file soundcard.h.
| #define INERR_BIPHASE 0x0008 |
Definition at line 1331 of file soundcard.h.
| #define INERR_CRC 0x0001 |
Definition at line 1328 of file soundcard.h.
| #define INERR_PARITY 0x0004 |
Definition at line 1330 of file soundcard.h.
| #define INERR_QCODE_CRC 0x0002 |
Definition at line 1329 of file soundcard.h.
| #define LOCK_LOCKED 2 |
Definition at line 1315 of file soundcard.h.
| #define LOCK_NOT_INDICATED 0 |
Definition at line 1313 of file soundcard.h.
| #define LOCK_UNLOCKED 1 |
Definition at line 1314 of file soundcard.h.
| #define LOCL_STARTAUDIO 1 |
Definition at line 590 of file soundcard.h.
| #define LOCL_STARTAUDIO2 2 |
Definition at line 591 of file soundcard.h.
| #define LOCL_STARTAUDIO3 3 |
Definition at line 592 of file soundcard.h.
| #define LOCL_STARTAUDIO4 4 |
Definition at line 593 of file soundcard.h.
| #define MAUI_PATCH _PATCHKEY(0x06) |
Definition at line 300 of file soundcard.h.
| #define MAX_PEAK_CHANNELS 128 |
Definition at line 1446 of file soundcard.h.
| #define MIDI_CAP_CLIENT 0x00000020 |
Definition at line 1992 of file soundcard.h.
| #define MIDI_CAP_EXTERNAL 0x00000100 |
Definition at line 1995 of file soundcard.h.
| #define MIDI_CAP_INOUT (MIDI_CAP_INPUT|MIDI_CAP_OUTPUT) |
Definition at line 1989 of file soundcard.h.
| #define MIDI_CAP_INPUT 0x00000002 |
Definition at line 1987 of file soundcard.h.
| #define MIDI_CAP_INTERNAL 0x00000080 |
Definition at line 1994 of file soundcard.h.
| #define MIDI_CAP_MPU401 0x00000001 |
Definition at line 1986 of file soundcard.h.
| #define MIDI_CAP_MTC 0x00000400 |
Definition at line 1997 of file soundcard.h.
| #define MIDI_CAP_MTCINPUT 0x00000010 |
Definition at line 1991 of file soundcard.h.
| #define MIDI_CAP_OUTPUT 0x00000004 |
Definition at line 1988 of file soundcard.h.
| #define MIDI_CAP_PTOP 0x00000200 |
Definition at line 1996 of file soundcard.h.
| #define MIDI_CAP_SERVER 0x00000040 |
Definition at line 1993 of file soundcard.h.
| #define MIDI_CAP_VIRTUAL 0x00000008 |
Definition at line 1990 of file soundcard.h.
| #define MIDI_CHN_PRESSURE 0xD0 |
Definition at line 568 of file soundcard.h.
| #define MIDI_CTL_CHANGE 0xB0 |
Definition at line 566 of file soundcard.h.
| #define MIDI_EV_CONTINUE 5 |
Definition at line 963 of file soundcard.h.
| #define MIDI_EV_DEVCTL 8 |
Definition at line 966 of file soundcard.h.
| #define MIDI_EV_ECHO 2 |
Definition at line 960 of file soundcard.h.
| #define MIDI_EV_START 3 |
Definition at line 961 of file soundcard.h.
| #define MIDI_EV_STOP 4 |
Definition at line 962 of file soundcard.h.
| #define MIDI_EV_TEMPO 1 |
Definition at line 959 of file soundcard.h.
| #define MIDI_EV_TIMEBASE 7 |
Definition at line 965 of file soundcard.h.
| #define MIDI_EV_WRITE 0 |
Definition at line 958 of file soundcard.h.
| #define MIDI_EV_XPRESSWRITE 6 |
Definition at line 964 of file soundcard.h.
| #define MIDI_HDR_MAGIC -1 |
Definition at line 956 of file soundcard.h.
| #define MIDI_KEY_PRESSURE 0xA0 |
Definition at line 560 of file soundcard.h.
| #define MIDI_MODE_TIMED 1 |
Definition at line 941 of file soundcard.h.
| #define MIDI_MODE_TIMED_ABS 2 |
Definition at line 942 of file soundcard.h.
| #define MIDI_MODE_TRADITIONAL 0 |
Definition at line 940 of file soundcard.h.
| #define MIDI_NOTEOFF 0x80 |
Definition at line 558 of file soundcard.h.
| #define MIDI_NOTEON 0x90 |
Definition at line 559 of file soundcard.h.
| #define MIDI_OPT_BUSY 0x0008 |
Definition at line 972 of file soundcard.h.
| #define MIDI_OPT_CONTINUATION 0x0002 |
Definition at line 970 of file soundcard.h.
| #define MIDI_OPT_NONE 0x0000 |
Definition at line 968 of file soundcard.h.
| #define MIDI_OPT_TIMED 0x0001 |
Definition at line 969 of file soundcard.h.
| #define MIDI_OPT_USECTIME 0x0004 |
Definition at line 971 of file soundcard.h.
| #define MIDI_PAYLOAD_SIZE 1000 |
Definition at line 986 of file soundcard.h.
| #define MIDI_PGM_CHANGE 0xC0 |
Definition at line 567 of file soundcard.h.
| #define MIDI_PITCH_BEND 0xE0 |
Definition at line 569 of file soundcard.h.
| #define MIDI_SYSTEM_PREFIX 0xF0 |
Definition at line 571 of file soundcard.h.
| #define MIDI_TYPE_MPU401 0x401 |
Definition at line 493 of file soundcard.h.
| #define MIXER_CAP_LAYOUT_B 0x00000002 |
Definition at line 1962 of file soundcard.h.
| #define MIXER_CAP_NARROW 0x00000004 |
Definition at line 1963 of file soundcard.h.
| #define MIXER_CAP_VIRTUAL 0x00000001 |
Definition at line 1961 of file soundcard.h.
Definition at line 1623 of file soundcard.h.
Definition at line 1653 of file soundcard.h.
| #define MIXEXT_SCOPE_INPUT 0x00000001 |
Definition at line 1859 of file soundcard.h.
| #define MIXEXT_SCOPE_MASK 0x0000003f |
Definition at line 1857 of file soundcard.h.
| #define MIXEXT_SCOPE_MONITOR 0x00000003 |
Definition at line 1861 of file soundcard.h.
| #define MIXEXT_SCOPE_OTHER 0x00000000 |
Definition at line 1858 of file soundcard.h.
| #define MIXEXT_SCOPE_OUTPUT 0x00000002 |
Definition at line 1860 of file soundcard.h.
| #define MIXEXT_SCOPE_RECSWITCH 0x00000004 |
Definition at line 1862 of file soundcard.h.
| #define MIXF_CENTIBEL 0x00000100 |
Definition at line 1832 of file soundcard.h.
| #define MIXF_DECIBEL 0x00000200 |
Definition at line 1833 of file soundcard.h.
| #define MIXF_DESCR 0x00008000 |
Definition at line 1839 of file soundcard.h.
| #define MIXF_DYNAMIC 0x00000010 |
Definition at line 1828 of file soundcard.h.
| #define MIXF_FLAT 0x00000040 |
Definition at line 1830 of file soundcard.h.
| #define MIXF_HZ 0x00000008 |
Definition at line 1826 of file soundcard.h.
| #define MIXF_LEGACY 0x00000080 |
Definition at line 1831 of file soundcard.h.
| #define MIXF_MAINVOL 0x00000400 |
Definition at line 1834 of file soundcard.h.
| #define MIXF_MONVOL 0x00002000 |
Definition at line 1837 of file soundcard.h.
| #define MIXF_OKFAIL 0x00000020 |
Definition at line 1829 of file soundcard.h.
| #define MIXF_PCMVOL 0x00000800 |
Definition at line 1835 of file soundcard.h.
| #define MIXF_POLL 0x00000004 |
Definition at line 1825 of file soundcard.h.
| #define MIXF_READABLE 0x00000001 |
Definition at line 1823 of file soundcard.h.
| #define MIXF_RECVOL 0x00001000 |
Definition at line 1836 of file soundcard.h.
| #define MIXF_STRING 0x00000010 |
Definition at line 1827 of file soundcard.h.
| #define MIXF_WIDE 0x00004000 |
Definition at line 1838 of file soundcard.h.
| #define MIXF_WRITEABLE 0x00000002 |
Definition at line 1824 of file soundcard.h.
| #define MIXT_3D 18 |
Definition at line 1806 of file soundcard.h.
| #define MIXT_DEVROOT 0 |
Definition at line 1788 of file soundcard.h.
| #define MIXT_ENUM 3 |
Definition at line 1791 of file soundcard.h.
| #define MIXT_GROUP 1 |
Definition at line 1789 of file soundcard.h.
| #define MIXT_HEXVALUE 14 |
Definition at line 1802 of file soundcard.h.
| #define MIXT_MARKER 12 |
Definition at line 1800 of file soundcard.h.
| #define MIXT_MESSAGE 6 |
Definition at line 1794 of file soundcard.h.
| #define MIXT_MONODB 15 |
Definition at line 1803 of file soundcard.h.
| #define MIXT_MONOPEAK 9 |
Definition at line 1797 of file soundcard.h.
| #define MIXT_MONOSLIDER 4 |
Definition at line 1792 of file soundcard.h.
| #define MIXT_MONOSLIDER16 19 |
Definition at line 1811 of file soundcard.h.
| #define MIXT_MONOVU 7 |
Definition at line 1795 of file soundcard.h.
| #define MIXT_MUTE 21 |
Definition at line 1813 of file soundcard.h.
| #define MIXT_ONOFF 2 |
Definition at line 1790 of file soundcard.h.
| #define MIXT_RADIOGROUP 11 |
Definition at line 1799 of file soundcard.h.
| #define MIXT_SLIDER 17 |
Definition at line 1805 of file soundcard.h.
| #define MIXT_STEREODB 16 |
Definition at line 1804 of file soundcard.h.
| #define MIXT_STEREOPEAK 10 |
Definition at line 1798 of file soundcard.h.
| #define MIXT_STEREOSLIDER 5 |
Definition at line 1793 of file soundcard.h.
| #define MIXT_STEREOSLIDER16 20 |
Definition at line 1812 of file soundcard.h.
| #define MIXT_STEREOVU 8 |
Definition at line 1796 of file soundcard.h.
| #define MIXT_VALUE 13 |
Definition at line 1801 of file soundcard.h.
| #define MTC_DIR_BACKWARD -1 |
Definition at line 934 of file soundcard.h.
| #define MTC_DIR_FORWARD 1 |
Definition at line 933 of file soundcard.h.
| #define MTC_DIR_STOPPED 0 |
Definition at line 932 of file soundcard.h.
| #define OPEN_READ PCM_ENABLE_INPUT |
Definition at line 1913 of file soundcard.h.
| #define OPEN_READWRITE (OPEN_READ|OPEN_WRITE) |
Definition at line 1915 of file soundcard.h.
| #define OPEN_SOUND_SYSTEM |
Definition at line 38 of file soundcard.h.
| #define OPEN_WRITE PCM_ENABLE_OUTPUT |
Definition at line 1914 of file soundcard.h.
| #define OPL3_PATCH _PATCHKEY(0x03) |
Definition at line 475 of file soundcard.h.
| #define OSS_CMD_SIZE 64 |
Definition at line 125 of file soundcard.h.
| #define OSS_DEVNAME_SIZE 64 |
Definition at line 124 of file soundcard.h.
| #define OSS_DEVNODE_SIZE 32 |
Definition at line 123 of file soundcard.h.
| #define OSS_ENUM_MAXVALUE 255 |
Definition at line 1901 of file soundcard.h.
| #define OSS_ENUM_STRINGSIZE 3000 |
Definition at line 1902 of file soundcard.h.
| #define OSS_GETVERSION __SIOR ('M', 118, int) |
Definition at line 1727 of file soundcard.h.
| #define OSS_HANDLE_SIZE 32 |
Definition at line 127 of file soundcard.h.
| #define OSS_ID_SIZE 16 |
Definition at line 126 of file soundcard.h.
| #define OSS_LABEL_SIZE 16 |
Definition at line 122 of file soundcard.h.
| #define OSS_LONGNAME_SIZE 64 |
Definition at line 121 of file soundcard.h.
| #define OSS_MAX_SAMPLE_RATES 20 |
Definition at line 1938 of file soundcard.h.
| #define OSS_RGB_BLACK 0x2b2926 |
Definition at line 1878 of file soundcard.h.
| #define OSS_RGB_BLUE 0x7aabde |
Definition at line 1874 of file soundcard.h.
| #define OSS_RGB_GRAY 0xd1ccc4 |
Definition at line 1877 of file soundcard.h.
| #define OSS_RGB_GREEN 0xb3c98c |
Definition at line 1875 of file soundcard.h.
| #define OSS_RGB_ORANGE 0xe89e47 |
Definition at line 1879 of file soundcard.h.
| #define OSS_RGB_PINK 0xe88c99 |
Definition at line 1876 of file soundcard.h.
| #define OSS_RGB_PURPLE 0x800080 |
Definition at line 1882 of file soundcard.h.
| #define OSS_RGB_RED 0xff0000 |
Definition at line 1880 of file soundcard.h.
| #define OSS_RGB_WHITE 0xf8f8ff |
Definition at line 1883 of file soundcard.h.
| #define OSS_RGB_YELLOW 0xffff00 |
Definition at line 1881 of file soundcard.h.
| #define OSS_SYSINFO SNDCTL_SYSINFO |
Definition at line 2024 of file soundcard.h.
| #define OSS_VERSION 0x040100 |
Definition at line 35 of file soundcard.h.
| #define osslib_close close |
Definition at line 2100 of file soundcard.h.
| #define osslib_ioctl ioctl |
Definition at line 2103 of file soundcard.h.
| #define osslib_open open |
Definition at line 2099 of file soundcard.h.
| #define osslib_read read |
Definition at line 2102 of file soundcard.h.
| #define osslib_write write |
Definition at line 2101 of file soundcard.h.
| #define OUTSEL_ANALOG 2 |
Definition at line 1304 of file soundcard.h.
| #define OUTSEL_BOTH (OUTSEL_DIGITAL|OUTSEL_ANALOG) |
Definition at line 1305 of file soundcard.h.
| #define OUTSEL_DIGITAL 1 |
Definition at line 1303 of file soundcard.h.
| #define PCM_CAP_ADMASK 0x00f00000 |
Definition at line 1136 of file soundcard.h.
| #define PCM_CAP_ANALOGIN 0x00200000 |
Definition at line 1133 of file soundcard.h.
| #define PCM_CAP_ANALOGOUT 0x00100000 |
Definition at line 1132 of file soundcard.h.
| #define PCM_CAP_BATCH 0x00000400 |
Definition at line 1115 of file soundcard.h.
| #define PCM_CAP_BIND 0x00008000 |
Definition at line 1125 of file soundcard.h.
| #define PCM_CAP_COPROC 0x00000800 |
Definition at line 1119 of file soundcard.h.
| #define PCM_CAP_DEFAULT 0x40000000 |
Definition at line 1169 of file soundcard.h.
| #define PCM_CAP_DIGITALIN 0x00800000 |
Definition at line 1135 of file soundcard.h.
| #define PCM_CAP_DIGITALOUT 0x00400000 |
Definition at line 1134 of file soundcard.h.
| #define PCM_CAP_DUPLEX 0x00000100 |
Definition at line 1113 of file soundcard.h.
| #define PCM_CAP_FREERATE 0x10000000 |
Definition at line 1167 of file soundcard.h.
| #define PCM_CAP_HIDDEN 0x08000000 |
Definition at line 1166 of file soundcard.h.
| #define PCM_CAP_INPUT 0x00010000 |
Definition at line 1126 of file soundcard.h.
| #define PCM_CAP_MMAP 0x00002000 |
Definition at line 1123 of file soundcard.h.
| #define PCM_CAP_MODEM 0x20000000 |
Definition at line 1168 of file soundcard.h.
| #define PCM_CAP_MULTI 0x00004000 |
Definition at line 1124 of file soundcard.h.
| #define PCM_CAP_OUTPUT 0x00020000 |
Definition at line 1127 of file soundcard.h.
| #define PCM_CAP_REALTIME 0x00000200 |
Definition at line 1114 of file soundcard.h.
| #define PCM_CAP_REVISION 0x000000ff |
Definition at line 1112 of file soundcard.h.
| #define PCM_CAP_SHADOW 0x00000000 |
Definition at line 1145 of file soundcard.h.
| #define PCM_CAP_SPECIAL 0x01000000 |
Definition at line 1144 of file soundcard.h.
| #define PCM_CAP_TRIGGER 0x00001000 |
Definition at line 1122 of file soundcard.h.
| #define PCM_CAP_VIRTUAL 0x00040000 |
Definition at line 1128 of file soundcard.h.
| #define PCM_ENABLE_INPUT 0x00000001 |
Definition at line 1200 of file soundcard.h.
| #define PCM_ENABLE_OUTPUT 0x00000002 |
Definition at line 1201 of file soundcard.h.
| #define SAMPLE_TYPE_BASIC 0x10 |
Definition at line 495 of file soundcard.h.
| #define SAMPLE_TYPE_GUS SAMPLE_TYPE_BASIC |
Definition at line 496 of file soundcard.h.
| #define SAMPLE_TYPE_WAVEFRONT 0x11 |
Definition at line 497 of file soundcard.h.
| #define SEQ_AFTERTOUCH 9 |
Definition at line 342 of file soundcard.h.
| #define SEQ_BALANCE 11 |
Definition at line 344 of file soundcard.h.
Definition at line 781 of file soundcard.h.
| #define SEQ_BENDER_RANGE | ( | dev, | |||
| voice, | |||||
| value | ) | SEQ_V2_X_CONTROL(dev, voice, CTRL_PITCH_BENDER_RANGE, value) |
Definition at line 801 of file soundcard.h.
| #define SEQ_CHN_PRESSURE | ( | dev, | |||
| chn, | |||||
| pressure | ) | _CHN_COMMON(dev, MIDI_CHN_PRESSURE, chn, pressure, 0, 0) |
Definition at line 765 of file soundcard.h.
| #define SEQ_CONTINUE_TIMER | ( | ) | _TIMER_EVENT(TMR_CONTINUE, 0) |
Definition at line 824 of file soundcard.h.
| #define SEQ_CONTROL | ( | dev, | |||
| chn, | |||||
| controller, | |||||
| value | ) | _CHN_COMMON(dev, MIDI_CTL_CHANGE, chn, controller, 0, value) |
Definition at line 778 of file soundcard.h.
| #define SEQ_CONTROLLER 10 |
Definition at line 343 of file soundcard.h.
| #define SEQ_DECLAREBUF | ( | ) | SEQ_USE_EXTBUF() |
Definition at line 602 of file soundcard.h.
Definition at line 661 of file soundcard.h.
| #define SEQ_DELTA_TIME | ( | ticks | ) | _TIMER_EVENT(TMR_WAIT_REL, ticks) |
Definition at line 826 of file soundcard.h.
| #define SEQ_DRUMOFF 7 |
Definition at line 340 of file soundcard.h.
| #define SEQ_DRUMON 6 |
Definition at line 339 of file soundcard.h.
| #define SEQ_DUMPBUF seqbuf_dump |
Definition at line 666 of file soundcard.h.
| #define SEQ_ECHO TMR_ECHO |
Definition at line 341 of file soundcard.h.
Definition at line 827 of file soundcard.h.
Definition at line 803 of file soundcard.h.
| #define SEQ_EXTENDED 0xff |
Definition at line 463 of file soundcard.h.
| #define SEQ_FMNOTEOFF SEQ_NOTEOFF |
Definition at line 331 of file soundcard.h.
| #define SEQ_FMNOTEON SEQ_NOTEON |
Definition at line 333 of file soundcard.h.
| #define SEQ_FMPGMCHANGE SEQ_PGMCHANGE |
Definition at line 336 of file soundcard.h.
| #define SEQ_FULLSIZE 0xfd |
Definition at line 441 of file soundcard.h.
| #define SEQ_KEY_PRESSURE | ( | dev, | |||
| chn, | |||||
| note, | |||||
| pressure | ) | _CHN_VOICE(dev, MIDI_KEY_PRESSURE, chn, note, pressure) |
Definition at line 720 of file soundcard.h.
| #define SEQ_LOAD_GMDRUM | ( | dev, | |||
| drum | ) |
Definition at line 635 of file soundcard.h.
| #define SEQ_LOAD_GMINSTR | ( | dev, | |||
| instr | ) |
Definition at line 634 of file soundcard.h.
| #define SEQ_MAIN_VOLUME | ( | dev, | |||
| voice, | |||||
| value | ) | SEQ_CONTROL(dev, voice, CTL_MAIN_VOLUME, (value*16383)/100) |
Definition at line 805 of file soundcard.h.
| #define SEQ_MIDIOUT | ( | device, | |||
| byte | ) |
Value:
{_SEQ_NEEDBUF(4);\
_seqbuf[_seqbufptr] = SEQ_MIDIPUTC;\
_seqbuf[_seqbufptr+1] = (byte);\
_seqbuf[_seqbufptr+2] = (device);\
_seqbuf[_seqbufptr+3] = 0;\
_SEQ_ADVBUF(4);}
Definition at line 852 of file soundcard.h.
| #define SEQ_MIDIPUTC 5 |
Definition at line 338 of file soundcard.h.
| #define SEQ_NOTEOFF 0 |
Definition at line 330 of file soundcard.h.
| #define SEQ_NOTEON 1 |
Definition at line 332 of file soundcard.h.
Definition at line 807 of file soundcard.h.
Definition at line 774 of file soundcard.h.
| #define SEQ_PGMCHANGE 3 |
Definition at line 335 of file soundcard.h.
Definition at line 799 of file soundcard.h.
| #define SEQ_PLAYAUDIO | ( | devmask | ) | _LOCAL_EVENT(LOCL_STARTAUDIO, devmask) |
Definition at line 844 of file soundcard.h.
| #define SEQ_PLAYAUDIO2 | ( | devmask | ) | _LOCAL_EVENT(LOCL_STARTAUDIO2, devmask) |
Definition at line 845 of file soundcard.h.
| #define SEQ_PLAYAUDIO3 | ( | devmask | ) | _LOCAL_EVENT(LOCL_STARTAUDIO3, devmask) |
Definition at line 846 of file soundcard.h.
| #define SEQ_PLAYAUDIO4 | ( | devmask | ) | _LOCAL_EVENT(LOCL_STARTAUDIO4, devmask) |
Definition at line 847 of file soundcard.h.
| #define SEQ_PM_DEFINES int __foo_bar___ |
Definition at line 618 of file soundcard.h.
| #define SEQ_PRIVATE 0xfe |
Definition at line 462 of file soundcard.h.
| #define SEQ_SET_PATCH SEQ_PGM_CHANGE |
Definition at line 768 of file soundcard.h.
Definition at line 828 of file soundcard.h.
Definition at line 829 of file soundcard.h.
Definition at line 714 of file soundcard.h.
| #define SEQ_START_TIMER | ( | ) | _TIMER_EVENT(TMR_START, 0) |
Definition at line 822 of file soundcard.h.
Definition at line 717 of file soundcard.h.
| #define SEQ_STOP_TIMER | ( | ) | _TIMER_EVENT(TMR_STOP, 0) |
Definition at line 823 of file soundcard.h.
| #define SEQ_SYNCTIMER TMR_START |
Definition at line 337 of file soundcard.h.
Value:
{int ii, ll=(len); \
unsigned char *bufp=buf;\
if (ll>6)ll=6;\
_SEQ_NEEDBUF(8);\
_seqbuf[_seqbufptr] = EV_SYSEX;\
_seqbuf[_seqbufptr+1] = (dev);\
for(ii=0;ii<ll;ii++)\
_seqbuf[_seqbufptr+ii+2] = bufp[ii];\
for(ii=ll;ii<6;ii++)\
_seqbuf[_seqbufptr+ii+2] = 0xff;\
_SEQ_ADVBUF(8);}
Definition at line 752 of file soundcard.h.
Definition at line 830 of file soundcard.h.
| #define SEQ_USE_EXTBUF | ( | ) |
Value:
Definition at line 637 of file soundcard.h.
Value:
{_SEQ_NEEDBUF(8);\
_seqbuf[_seqbufptr] = SEQ_EXTENDED;\
_seqbuf[_seqbufptr+1] = SEQ_CONTROLLER;\
_seqbuf[_seqbufptr+2] = (dev);\
_seqbuf[_seqbufptr+3] = (voice);\
_seqbuf[_seqbufptr+4] = (controller);\
_seqbuf[_seqbufptr+5] = ((value)&0xff);\
_seqbuf[_seqbufptr+6] = ((value>>8)&0xff);\
_seqbuf[_seqbufptr+7] = 0;\
_SEQ_ADVBUF(8);}
Definition at line 784 of file soundcard.h.
| #define SEQ_VOLMODE 12 |
Definition at line 345 of file soundcard.h.
Value:
{_SEQ_NEEDBUF(8);\
_seqbuf[_seqbufptr] = SEQ_EXTENDED;\
_seqbuf[_seqbufptr+1] = SEQ_VOLMODE;\
_seqbuf[_seqbufptr+2] = (dev);\
_seqbuf[_seqbufptr+3] = (mode);\
_seqbuf[_seqbufptr+4] = 0;\
_seqbuf[_seqbufptr+5] = 0;\
_seqbuf[_seqbufptr+6] = 0;\
_seqbuf[_seqbufptr+7] = 0;\
_SEQ_ADVBUF(8);}
Definition at line 686 of file soundcard.h.
| #define SEQ_WAIT TMR_WAIT_ABS |
Definition at line 334 of file soundcard.h.
| #define SEQ_WAIT_TIME | ( | ticks | ) | _TIMER_EVENT(TMR_WAIT_ABS, ticks) |
Definition at line 825 of file soundcard.h.
| #define SEQ_WRPATCH | ( | patchx, | |||
| len | ) |
Value:
{if (_seqbufptr) SEQ_DUMPBUF();\
if (write(seqfd, (char*)(patchx), len)==-1) \
perror("Write patch: /dev/sequencer");}
Definition at line 868 of file soundcard.h.
Definition at line 872 of file soundcard.h.
| #define SIOC_IN 0x40000000 |
Definition at line 106 of file soundcard.h.
| #define SIOC_INOUT (SIOC_IN|SIOC_OUT) |
Definition at line 107 of file soundcard.h.
| #define SIOC_OUT 0x20000000 |
Definition at line 105 of file soundcard.h.
| #define SIOC_VOID 0x00000000 |
Definition at line 104 of file soundcard.h.
| #define SIOCPARM_MASK 0x1fff |
Definition at line 103 of file soundcard.h.
| #define SNDCTL_AUDIOINFO __SIOWR('X', 7, oss_audioinfo) |
Definition at line 2032 of file soundcard.h.
| #define SNDCTL_AUDIOINFO_EX __SIOWR('X',13, oss_audioinfo) |
Definition at line 2038 of file soundcard.h.
| #define SNDCTL_CARDINFO __SIOWR('X',11, oss_card_info) |
Definition at line 2036 of file soundcard.h.
| #define SNDCTL_DSP_BIND_CHANNEL __SIOWR('P', 65, int) |
Definition at line 1459 of file soundcard.h.
| #define SNDCTL_DSP_CHANNELS __SIOWR('P', 6, int) |
Definition at line 1021 of file soundcard.h.
| #define SNDCTL_DSP_COOKEDMODE __SIOW ('P', 30, int) |
Definition at line 1370 of file soundcard.h.
| #define SNDCTL_DSP_CURRENT_IPTR __SIOR ('P', 35, oss_count_t) |
Definition at line 1407 of file soundcard.h.
| #define SNDCTL_DSP_CURRENT_OPTR __SIOR ('P', 36, oss_count_t) |
Definition at line 1408 of file soundcard.h.
| #define SNDCTL_DSP_GET_CHNORDER __SIOR ('P', 42, unsigned long long) |
Definition at line 1431 of file soundcard.h.
| #define SNDCTL_DSP_GET_PLAYTGT __SIOR ('P', 40, int) |
Definition at line 1420 of file soundcard.h.
| #define SNDCTL_DSP_GET_PLAYTGT_NAMES __SIOR ('P', 39, oss_mixer_enuminfo) |
Definition at line 1419 of file soundcard.h.
| #define SNDCTL_DSP_GET_RECSRC __SIOR ('P', 38, int) |
Definition at line 1416 of file soundcard.h.
| #define SNDCTL_DSP_GET_RECSRC_NAMES __SIOR ('P', 37, oss_mixer_enuminfo) |
Definition at line 1415 of file soundcard.h.
| #define SNDCTL_DSP_GETBLKSIZE __SIOWR('P', 4, int) |
Definition at line 1019 of file soundcard.h.
| #define SNDCTL_DSP_GETCAPS __SIOR ('P',15, int) |
Definition at line 1111 of file soundcard.h.
| #define SNDCTL_DSP_GETCHANNELMASK __SIOWR('P', 64, int) |
Definition at line 1458 of file soundcard.h.
| #define SNDCTL_DSP_GETERROR __SIOR ('P', 25, audio_errinfo) |
Definition at line 1245 of file soundcard.h.
| #define SNDCTL_DSP_GETFMTS __SIOR ('P',11, int) |
Definition at line 1027 of file soundcard.h.
| #define SNDCTL_DSP_GETIPEAKS __SIOR('P', 43, oss_peaks_t) |
Definition at line 1448 of file soundcard.h.
| #define SNDCTL_DSP_GETIPTR __SIOR ('P',17, count_info) |
Definition at line 1210 of file soundcard.h.
| #define SNDCTL_DSP_GETISPACE __SIOR ('P',13, audio_buf_info) |
Definition at line 1110 of file soundcard.h.
| #define SNDCTL_DSP_GETODELAY __SIOR ('P', 23, int) |
Definition at line 1226 of file soundcard.h.
| #define SNDCTL_DSP_GETOPEAKS __SIOR('P', 44, oss_peaks_t) |
Definition at line 1449 of file soundcard.h.
| #define SNDCTL_DSP_GETOPTR __SIOR ('P',18, count_info) |
Definition at line 1211 of file soundcard.h.
| #define SNDCTL_DSP_GETOSPACE __SIOR ('P',12, audio_buf_info) |
Definition at line 1109 of file soundcard.h.
| #define SNDCTL_DSP_GETPLAYVOL __SIOR ('P', 24, int) |
Definition at line 1243 of file soundcard.h.
| #define SNDCTL_DSP_GETRECVOL __SIOR ('P', 41, int) |
Definition at line 1422 of file soundcard.h.
| #define SNDCTL_DSP_GETTRIGGER __SIOR ('P',16, int) |
Definition at line 1198 of file soundcard.h.
| #define SNDCTL_DSP_HALT __SIO ('P', 0) |
Definition at line 1010 of file soundcard.h.
| #define SNDCTL_DSP_HALT_INPUT __SIO ('P', 33) |
Definition at line 1384 of file soundcard.h.
| #define SNDCTL_DSP_HALT_OUTPUT __SIO ('P', 34) |
Definition at line 1386 of file soundcard.h.
| #define SNDCTL_DSP_LOW_WATER __SIOW ('P', 34, int) |
Definition at line 1392 of file soundcard.h.
| #define SNDCTL_DSP_NONBLOCK __SIO ('P',14) |
Definition at line 2107 of file soundcard.h.
| #define SNDCTL_DSP_POLICY __SIOW('P', 45, int) |
Definition at line 1451 of file soundcard.h.
| #define SNDCTL_DSP_POST __SIO ('P', 8) |
Definition at line 1022 of file soundcard.h.
| #define SNDCTL_DSP_PROFILE __SIOW ('P', 23, int) |
Definition at line 1221 of file soundcard.h.
| #define SNDCTL_DSP_READCTL __SIOWR('P', 26, oss_digital_control) |
Definition at line 1339 of file soundcard.h.
| #define SNDCTL_DSP_RESET SNDCTL_DSP_HALT |
Definition at line 1011 of file soundcard.h.
| #define SNDCTL_DSP_RESET_INPUT SNDCTL_DSP_HALT_INPUT |
Definition at line 1385 of file soundcard.h.
| #define SNDCTL_DSP_RESET_OUTPUT SNDCTL_DSP_HALT_OUTPUT |
Definition at line 1387 of file soundcard.h.
| #define SNDCTL_DSP_SAMPLESIZE SNDCTL_DSP_SETFMT |
Definition at line 1020 of file soundcard.h.
| #define SNDCTL_DSP_SET_CHNORDER __SIOWR('P', 42, unsigned long long) |
Definition at line 1432 of file soundcard.h.
| #define SNDCTL_DSP_SET_PLAYTGT __SIOWR('P', 40, int) |
Definition at line 1421 of file soundcard.h.
| #define SNDCTL_DSP_SET_RECSRC __SIOWR('P', 38, int) |
Definition at line 1417 of file soundcard.h.
| #define SNDCTL_DSP_SETDUPLEX __SIO ('P', 22) |
Definition at line 1219 of file soundcard.h.
| #define SNDCTL_DSP_SETFMT __SIOWR('P',5, int) |
Definition at line 1028 of file soundcard.h.
| #define SNDCTL_DSP_SETFRAGMENT __SIOWR('P',10, int) |
Definition at line 1024 of file soundcard.h.
| #define SNDCTL_DSP_SETPLAYVOL __SIOWR('P', 24, int) |
Definition at line 1244 of file soundcard.h.
| #define SNDCTL_DSP_SETRECVOL __SIOWR('P', 41, int) |
Definition at line 1423 of file soundcard.h.
| #define SNDCTL_DSP_SETSYNCRO __SIO ('P', 21) |
Definition at line 1218 of file soundcard.h.
| #define SNDCTL_DSP_SETTRIGGER __SIOW ('P',16, int) |
Definition at line 1199 of file soundcard.h.
| #define SNDCTL_DSP_SILENCE __SIO ('P', 31) |
Definition at line 1378 of file soundcard.h.
| #define SNDCTL_DSP_SKIP __SIO ('P', 32) |
Definition at line 1379 of file soundcard.h.
| #define SNDCTL_DSP_SPEED __SIOWR('P', 2, int) |
Definition at line 1013 of file soundcard.h.
| #define SNDCTL_DSP_STEREO __SIOWR('P', 3, int) |
Definition at line 1016 of file soundcard.h.
| #define SNDCTL_DSP_SUBDIVIDE __SIOWR('P', 9, int) |
Definition at line 1023 of file soundcard.h.
| #define SNDCTL_DSP_SYNC __SIO ('P', 1) |
Definition at line 1012 of file soundcard.h.
| #define SNDCTL_DSP_SYNCGROUP __SIOWR('P', 28, oss_syncgroup) |
Definition at line 1353 of file soundcard.h.
| #define SNDCTL_DSP_SYNCSTART __SIOW ('P', 29, int) |
Definition at line 1354 of file soundcard.h.
| #define SNDCTL_DSP_WRITECTL __SIOWR('P', 27, oss_digital_control) |
Definition at line 1340 of file soundcard.h.
| #define SNDCTL_ENGINEINFO __SIOWR('X',12, oss_audioinfo) |
Definition at line 2037 of file soundcard.h.
| #define SNDCTL_FM_4OP_ENABLE __SIOW ('Q',15, int) |
Definition at line 159 of file soundcard.h.
| #define SNDCTL_FM_LOAD_INSTR __SIOW ('Q', 7, struct sbi_instrument) |
Definition at line 151 of file soundcard.h.
| #define SNDCTL_GETLABEL __SIOR ('Y', 4, oss_label_t) |
Definition at line 2079 of file soundcard.h.
| #define SNDCTL_GETSONG __SIOR ('Y', 2, oss_longname_t) |
Definition at line 2076 of file soundcard.h.
| #define SNDCTL_MIDI_INFO __SIOWR('Q',12, struct midi_info) |
Definition at line 156 of file soundcard.h.
| #define SNDCTL_MIDI_MTCINPUT __SIOWR('m', 3, int) |
Definition at line 923 of file soundcard.h.
| #define SNDCTL_MIDI_PRETIME __SIOWR('m', 0, int) |
Definition at line 883 of file soundcard.h.
| #define SNDCTL_MIDI_SET_LATENCY __SIOW ('m', 9, int) |
Definition at line 1004 of file soundcard.h.
| #define SNDCTL_MIDI_SETMODE __SIOWR('m', 6, int) |
Definition at line 939 of file soundcard.h.
| #define SNDCTL_MIDI_TEMPO __SIOWR('m', 8, int) |
Definition at line 995 of file soundcard.h.
| #define SNDCTL_MIDI_TIMEBASE __SIOWR('m', 7, int) |
Definition at line 994 of file soundcard.h.
| #define SNDCTL_MIDIINFO __SIOWR('X', 9, oss_midi_info) |
Definition at line 2034 of file soundcard.h.
| #define SNDCTL_MIX_DESCRIPTION __SIOWR('X',14, oss_mixer_enuminfo) |
Definition at line 2040 of file soundcard.h.
| #define SNDCTL_MIX_ENUMINFO __SIOWR('X', 8, oss_mixer_enuminfo) |
Definition at line 2033 of file soundcard.h.
| #define SNDCTL_MIX_EXTINFO __SIOWR('X', 4, oss_mixext) |
Definition at line 2028 of file soundcard.h.
| #define SNDCTL_MIX_MATRIX_READ __SIOWR('X',16, oss_mixermatrix_t) |
Definition at line 2068 of file soundcard.h.
| #define SNDCTL_MIX_MATRIX_WRITE __SIOWR('X',15, oss_mixermatrix_t) |
Definition at line 2067 of file soundcard.h.
| #define SNDCTL_MIX_NREXT __SIOWR('X', 3, int) |
Definition at line 2027 of file soundcard.h.
| #define SNDCTL_MIX_NRMIX __SIOR ('X', 2, int) |
Definition at line 2026 of file soundcard.h.
| #define SNDCTL_MIX_READ __SIOWR('X', 5, oss_mixer_value) |
Definition at line 2029 of file soundcard.h.
| #define SNDCTL_MIX_WRITE __SIOWR('X', 6, oss_mixer_value) |
Definition at line 2030 of file soundcard.h.
| #define SNDCTL_MIXERINFO __SIOWR('X',10, oss_mixerinfo) |
Definition at line 2035 of file soundcard.h.
| #define SNDCTL_SEQ_ACTSENSE_ENABLE __SIO ('Q', 24) |
Definition at line 167 of file soundcard.h.
| #define SNDCTL_SEQ_CTRLRATE __SIOWR('Q', 3, int) |
Definition at line 147 of file soundcard.h.
| #define SNDCTL_SEQ_GETINCOUNT __SIOR ('Q', 5, int) |
Definition at line 149 of file soundcard.h.
| #define SNDCTL_SEQ_GETOUTCOUNT __SIOR ('Q', 4, int) |
Definition at line 148 of file soundcard.h.
| #define SNDCTL_SEQ_GETTIME __SIOR ('Q',19, int) |
Definition at line 162 of file soundcard.h.
| #define SNDCTL_SEQ_NRMIDIS __SIOR ('Q',11, int) |
Definition at line 155 of file soundcard.h.
| #define SNDCTL_SEQ_NRSYNTHS __SIOR ('Q',10, int) |
Definition at line 154 of file soundcard.h.
| #define SNDCTL_SEQ_OUTOFBAND __SIOW ('Q',18, struct seq_event_rec) |
Definition at line 161 of file soundcard.h.
| #define SNDCTL_SEQ_PANIC __SIO ('Q',17) |
Definition at line 160 of file soundcard.h.
| #define SNDCTL_SEQ_PERCMODE __SIOW ('Q', 6, int) |
Definition at line 150 of file soundcard.h.
| #define SNDCTL_SEQ_RESET __SIO ('Q', 0) |
Definition at line 144 of file soundcard.h.
| #define SNDCTL_SEQ_RESETSAMPLES __SIOW ('Q', 9, int) |
Definition at line 153 of file soundcard.h.
| #define SNDCTL_SEQ_RT_ENABLE __SIO ('Q', 25) |
Definition at line 168 of file soundcard.h.
| #define SNDCTL_SEQ_SYNC __SIO ('Q', 1) |
Definition at line 145 of file soundcard.h.
| #define SNDCTL_SEQ_TESTMIDI __SIOW ('Q', 8, int) |
Definition at line 152 of file soundcard.h.
| #define SNDCTL_SEQ_THRESHOLD __SIOW ('Q',13, int) |
Definition at line 157 of file soundcard.h.
| #define SNDCTL_SEQ_TIMING_ENABLE __SIO ('Q', 23) |
Definition at line 166 of file soundcard.h.
| #define SNDCTL_SETLABEL __SIOW ('Y', 4, oss_label_t) |
Definition at line 2078 of file soundcard.h.
| #define SNDCTL_SETNAME __SIOW ('Y', 3, oss_longname_t) |
Definition at line 2077 of file soundcard.h.
| #define SNDCTL_SETSONG __SIOW ('Y', 2, oss_longname_t) |
Definition at line 2075 of file soundcard.h.
| #define SNDCTL_SYNTH_CONTROL __SIOWR('Q',21, struct synth_control) |
Definition at line 164 of file soundcard.h.
| #define SNDCTL_SYNTH_ID __SIOWR('Q',20, struct synth_info) |
Definition at line 163 of file soundcard.h.
| #define SNDCTL_SYNTH_INFO __SIOWR('Q', 2, struct synth_info) |
Definition at line 146 of file soundcard.h.
| #define SNDCTL_SYNTH_MEMAVL __SIOWR('Q',14, int) |
Definition at line 158 of file soundcard.h.
| #define SNDCTL_SYNTH_REMOVESAMPLE __SIOWR('Q',22, struct remove_sample) |
Definition at line 165 of file soundcard.h.
| #define SNDCTL_SYSINFO __SIOR ('X', 1, oss_sysinfo) |
Definition at line 2023 of file soundcard.h.
| #define SNDCTL_TMR_CONTINUE __SIO ('T', 4) |
Definition at line 191 of file soundcard.h.
| #define SNDCTL_TMR_METRONOME __SIOW ('T', 7, int) |
Definition at line 200 of file soundcard.h.
| #define SNDCTL_TMR_SELECT __SIOW ('T', 8, int) |
Definition at line 201 of file soundcard.h.
| #define SNDCTL_TMR_SOURCE __SIOWR('T', 6, int) |
Definition at line 193 of file soundcard.h.
| #define SNDCTL_TMR_START __SIO ('T', 2) |
Definition at line 189 of file soundcard.h.
| #define SNDCTL_TMR_STOP __SIO ('T', 3) |
Definition at line 190 of file soundcard.h.
| #define SNDCTL_TMR_TEMPO __SIOWR('T', 5, int) |
Definition at line 192 of file soundcard.h.
| #define SNDCTL_TMR_TIMEBASE __SIOWR('T', 1, int) |
Definition at line 188 of file soundcard.h.
| #define SOUND_CAP_EXCL_INPUT 0x00000001 |
Definition at line 1574 of file soundcard.h.
| #define SOUND_CAP_NOLEGACY 0x00000004 |
Definition at line 1575 of file soundcard.h.
| #define SOUND_CAP_NORECSRC 0x00000008 |
Definition at line 1576 of file soundcard.h.
| #define SOUND_DEVICE_LABELS |
Value:
{"Vol ", "Bass ", "Treble", "Synth", "Pcm ", "Speaker ", "Line ", \
"Mic ", "CD ", "Mix ", "Pcm2 ", "Rec ", "IGain", "OGain", \
"Aux1", "Aux2", "Aux3", "Digital1", "Digital2", "Digital3", \
"Phone", "Mono", "Video", "Radio", "Depth", \
"Rear", "Center", "Side"}
Definition at line 1554 of file soundcard.h.
| #define SOUND_DEVICE_NAMES |
Value:
{"vol", "bass", "treble", "synth", "pcm", "speaker", "line", \
"mic", "cd", "mix", "pcm2", "rec", "igain", "ogain", \
"aux1", "aux2", "aux3", "dig1", "dig2", "dig3", \
"phone", "mono", "video", "radio", "depth", \
"rear", "center", "side"}
Definition at line 1561 of file soundcard.h.
| #define SOUND_MASK_ALTPCM (1 << SOUND_MIXER_ALTPCM) |
Definition at line 1596 of file soundcard.h.
| #define SOUND_MASK_BASS (1 << SOUND_MIXER_BASS) |
Definition at line 1587 of file soundcard.h.
| #define SOUND_MASK_CD (1 << SOUND_MIXER_CD) |
Definition at line 1594 of file soundcard.h.
| #define SOUND_MASK_CENTERVOL (1 << SOUND_MIXER_CENTERVOL) |
Definition at line 1612 of file soundcard.h.
| #define SOUND_MASK_DEPTH (1 << SOUND_MIXER_DEPTH) |
Definition at line 1610 of file soundcard.h.
| #define SOUND_MASK_DIGITAL1 (1 << SOUND_MIXER_DIGITAL1) |
Definition at line 1603 of file soundcard.h.
| #define SOUND_MASK_DIGITAL2 (1 << SOUND_MIXER_DIGITAL2) |
Definition at line 1604 of file soundcard.h.
| #define SOUND_MASK_DIGITAL3 (1 << SOUND_MIXER_DIGITAL3) |
Definition at line 1605 of file soundcard.h.
| #define SOUND_MASK_ENHANCE (1 << SOUND_MIXER_ENHANCE) |
Definition at line 1620 of file soundcard.h.
| #define SOUND_MASK_IGAIN (1 << SOUND_MIXER_IGAIN) |
Definition at line 1598 of file soundcard.h.
| #define SOUND_MASK_IMIX (1 << SOUND_MIXER_IMIX) |
Definition at line 1595 of file soundcard.h.
| #define SOUND_MASK_LINE (1 << SOUND_MIXER_LINE) |
Definition at line 1592 of file soundcard.h.
| #define SOUND_MASK_LINE1 (1 << SOUND_MIXER_LINE1) |
Definition at line 1600 of file soundcard.h.
| #define SOUND_MASK_LINE2 (1 << SOUND_MIXER_LINE2) |
Definition at line 1601 of file soundcard.h.
| #define SOUND_MASK_LINE3 (1 << SOUND_MIXER_LINE3) |
Definition at line 1602 of file soundcard.h.
| #define SOUND_MASK_LOUD (1 << SOUND_MIXER_LOUD) |
Definition at line 1621 of file soundcard.h.
| #define SOUND_MASK_MIC (1 << SOUND_MIXER_MIC) |
Definition at line 1593 of file soundcard.h.
| #define SOUND_MASK_MONO (1 << SOUND_MIXER_MONO) |
Definition at line 1606 of file soundcard.h.
| #define SOUND_MASK_MUTE (1 << SOUND_MIXER_MUTE) |
Definition at line 1619 of file soundcard.h.
| #define SOUND_MASK_OGAIN (1 << SOUND_MIXER_OGAIN) |
Definition at line 1599 of file soundcard.h.
| #define SOUND_MASK_PCM (1 << SOUND_MIXER_PCM) |
Definition at line 1590 of file soundcard.h.
| #define SOUND_MASK_PHONE (1 << SOUND_MIXER_PHONE) |
Definition at line 1607 of file soundcard.h.
| #define SOUND_MASK_RADIO (1 << SOUND_MIXER_RADIO) |
Definition at line 1608 of file soundcard.h.
| #define SOUND_MASK_REARVOL (1 << SOUND_MIXER_REARVOL) |
Definition at line 1611 of file soundcard.h.
| #define SOUND_MASK_RECLEV (1 << SOUND_MIXER_RECLEV) |
Definition at line 1597 of file soundcard.h.
| #define SOUND_MASK_SIDEVOL (1 << SOUND_MIXER_SIDEVOL) |
Definition at line 1613 of file soundcard.h.
| #define SOUND_MASK_SPEAKER (1 << SOUND_MIXER_SPEAKER) |
Definition at line 1591 of file soundcard.h.
| #define SOUND_MASK_SURRVOL (1 << SOUND_MIXER_SIDEVOL) |
Definition at line 1616 of file soundcard.h.
| #define SOUND_MASK_SYNTH (1 << SOUND_MIXER_SYNTH) |
Definition at line 1589 of file soundcard.h.
| #define SOUND_MASK_TREBLE (1 << SOUND_MIXER_TREBLE) |
Definition at line 1588 of file soundcard.h.
| #define SOUND_MASK_VIDEO (1 << SOUND_MIXER_VIDEO) |
Definition at line 1609 of file soundcard.h.
| #define SOUND_MASK_VOLUME (1 << SOUND_MIXER_VOLUME) |
Definition at line 1586 of file soundcard.h.
| #define SOUND_MIXER_3DSE _SIOWR('M', 104, int) |
Definition at line 1694 of file soundcard.h.
| #define SOUND_MIXER_AGC _SIOWR('M', 103, int) |
Definition at line 1693 of file soundcard.h.
| #define SOUND_MIXER_ALTPCM 10 |
Definition at line 1506 of file soundcard.h.
| #define SOUND_MIXER_BASS 1 |
Definition at line 1497 of file soundcard.h.
| #define SOUND_MIXER_CAPS 0xfc |
Definition at line 1573 of file soundcard.h.
| #define SOUND_MIXER_CD 8 |
Definition at line 1504 of file soundcard.h.
| #define SOUND_MIXER_CENTERVOL 26 |
Definition at line 1528 of file soundcard.h.
| #define SOUND_MIXER_DEPTH 24 |
Definition at line 1526 of file soundcard.h.
| #define SOUND_MIXER_DEVMASK 0xfe |
Definition at line 1571 of file soundcard.h.
| #define SOUND_MIXER_DIGITAL1 17 |
Definition at line 1519 of file soundcard.h.
| #define SOUND_MIXER_DIGITAL2 18 |
Definition at line 1520 of file soundcard.h.
| #define SOUND_MIXER_DIGITAL3 19 |
Definition at line 1521 of file soundcard.h.
| #define SOUND_MIXER_ENHANCE SOUND_MIXER_NONE |
Definition at line 1550 of file soundcard.h.
| #define SOUND_MIXER_GETLEVELS __SIOWR('M', 116, mixer_vol_table) |
Definition at line 1724 of file soundcard.h.
| #define SOUND_MIXER_IGAIN 12 |
Definition at line 1508 of file soundcard.h.
| #define SOUND_MIXER_IMIX 9 |
Definition at line 1505 of file soundcard.h.
| #define SOUND_MIXER_INFO __SIOR ('M', 101, mixer_info) |
Definition at line 1688 of file soundcard.h.
| #define SOUND_MIXER_LINE 6 |
Definition at line 1502 of file soundcard.h.
| #define SOUND_MIXER_LINE1 14 |
Definition at line 1516 of file soundcard.h.
| #define SOUND_MIXER_LINE2 15 |
Definition at line 1517 of file soundcard.h.
| #define SOUND_MIXER_LINE3 16 |
Definition at line 1518 of file soundcard.h.
| #define SOUND_MIXER_LOUD SOUND_MIXER_NONE |
Definition at line 1552 of file soundcard.h.
| #define SOUND_MIXER_MIC 7 |
Definition at line 1503 of file soundcard.h.
| #define SOUND_MIXER_MONO 21 |
Definition at line 1523 of file soundcard.h.
| #define SOUND_MIXER_MUTE SOUND_MIXER_NONE |
Definition at line 1551 of file soundcard.h.
| #define SOUND_MIXER_NONE 31 |
Definition at line 1544 of file soundcard.h.
| #define SOUND_MIXER_NRDEVICES 28 |
Definition at line 1495 of file soundcard.h.
| #define SOUND_MIXER_OGAIN 13 |
Definition at line 1509 of file soundcard.h.
| #define SOUND_MIXER_OUTMASK 0xf9 |
Definition at line 1581 of file soundcard.h.
| #define SOUND_MIXER_OUTSRC 0xfa |
Definition at line 1580 of file soundcard.h.
| #define SOUND_MIXER_PCM 4 |
Definition at line 1500 of file soundcard.h.
| #define SOUND_MIXER_PHONE 20 |
Definition at line 1522 of file soundcard.h.
| #define SOUND_MIXER_PRIVATE1 __SIOWR('M', 111, int) |
Definition at line 1699 of file soundcard.h.
| #define SOUND_MIXER_PRIVATE2 __SIOWR('M', 112, int) |
Definition at line 1700 of file soundcard.h.
| #define SOUND_MIXER_PRIVATE3 __SIOWR('M', 113, int) |
Definition at line 1701 of file soundcard.h.
| #define SOUND_MIXER_PRIVATE4 __SIOWR('M', 114, int) |
Definition at line 1702 of file soundcard.h.
| #define SOUND_MIXER_PRIVATE5 __SIOWR('M', 115, int) |
Definition at line 1703 of file soundcard.h.
| #define SOUND_MIXER_RADIO 23 |
Definition at line 1525 of file soundcard.h.
| #define SOUND_MIXER_READ_ALTPCM MIXER_READ(SOUND_MIXER_ALTPCM) |
Definition at line 1634 of file soundcard.h.
| #define SOUND_MIXER_READ_BASS MIXER_READ(SOUND_MIXER_BASS) |
Definition at line 1625 of file soundcard.h.
| #define SOUND_MIXER_READ_CAPS MIXER_READ(SOUND_MIXER_CAPS) |
Definition at line 1651 of file soundcard.h.
| #define SOUND_MIXER_READ_CD MIXER_READ(SOUND_MIXER_CD) |
Definition at line 1632 of file soundcard.h.
| #define SOUND_MIXER_READ_DEVMASK MIXER_READ(SOUND_MIXER_DEVMASK) |
Definition at line 1648 of file soundcard.h.
| #define SOUND_MIXER_READ_ENHANCE MIXER_READ(SOUND_MIXER_ENHANCE) |
Definition at line 1644 of file soundcard.h.
| #define SOUND_MIXER_READ_IGAIN MIXER_READ(SOUND_MIXER_IGAIN) |
Definition at line 1636 of file soundcard.h.
| #define SOUND_MIXER_READ_IMIX MIXER_READ(SOUND_MIXER_IMIX) |
Definition at line 1633 of file soundcard.h.
| #define SOUND_MIXER_READ_LINE MIXER_READ(SOUND_MIXER_LINE) |
Definition at line 1630 of file soundcard.h.
| #define SOUND_MIXER_READ_LINE1 MIXER_READ(SOUND_MIXER_LINE1) |
Definition at line 1638 of file soundcard.h.
| #define SOUND_MIXER_READ_LINE2 MIXER_READ(SOUND_MIXER_LINE2) |
Definition at line 1639 of file soundcard.h.
| #define SOUND_MIXER_READ_LINE3 MIXER_READ(SOUND_MIXER_LINE3) |
Definition at line 1640 of file soundcard.h.
| #define SOUND_MIXER_READ_LOUD MIXER_READ(SOUND_MIXER_LOUD) |
Definition at line 1645 of file soundcard.h.
| #define SOUND_MIXER_READ_MAINVOL __SIOR ('M', 116, int) |
Definition at line 1706 of file soundcard.h.
| #define SOUND_MIXER_READ_MIC MIXER_READ(SOUND_MIXER_MIC) |
Definition at line 1631 of file soundcard.h.
| #define SOUND_MIXER_READ_MONGAIN __SIOR ('M', 120, int) |
Definition at line 1740 of file soundcard.h.
| #define SOUND_MIXER_READ_MUTE MIXER_READ(SOUND_MIXER_MUTE) |
Definition at line 1643 of file soundcard.h.
| #define SOUND_MIXER_READ_OGAIN MIXER_READ(SOUND_MIXER_OGAIN) |
Definition at line 1637 of file soundcard.h.
| #define SOUND_MIXER_READ_PCM MIXER_READ(SOUND_MIXER_PCM) |
Definition at line 1628 of file soundcard.h.
| #define SOUND_MIXER_READ_RECGAIN __SIOR ('M', 119, int) |
Definition at line 1738 of file soundcard.h.
| #define SOUND_MIXER_READ_RECLEV MIXER_READ(SOUND_MIXER_RECLEV) |
Definition at line 1635 of file soundcard.h.
| #define SOUND_MIXER_READ_RECMASK MIXER_READ(SOUND_MIXER_RECMASK) |
Definition at line 1649 of file soundcard.h.
| #define SOUND_MIXER_READ_RECSRC MIXER_READ(SOUND_MIXER_RECSRC) |
Definition at line 1647 of file soundcard.h.
| #define SOUND_MIXER_READ_SPEAKER MIXER_READ(SOUND_MIXER_SPEAKER) |
Definition at line 1629 of file soundcard.h.
| #define SOUND_MIXER_READ_STEREODEVS MIXER_READ(SOUND_MIXER_STEREODEVS) |
Definition at line 1650 of file soundcard.h.
| #define SOUND_MIXER_READ_SYNTH MIXER_READ(SOUND_MIXER_SYNTH) |
Definition at line 1627 of file soundcard.h.
| #define SOUND_MIXER_READ_TREBLE MIXER_READ(SOUND_MIXER_TREBLE) |
Definition at line 1626 of file soundcard.h.
| #define SOUND_MIXER_READ_VOLUME MIXER_READ(SOUND_MIXER_VOLUME) |
Definition at line 1624 of file soundcard.h.
| #define SOUND_MIXER_REARVOL 25 |
Definition at line 1527 of file soundcard.h.
| #define SOUND_MIXER_RECLEV 11 |
Definition at line 1507 of file soundcard.h.
| #define SOUND_MIXER_RECMASK 0xfd |
Definition at line 1572 of file soundcard.h.
| #define SOUND_MIXER_RECSRC 0xff |
Definition at line 1570 of file soundcard.h.
| #define SOUND_MIXER_RESERVED __SIOWR('M', 121, oss_reserved_t) |
Definition at line 1747 of file soundcard.h.
| #define SOUND_MIXER_SETLEVELS __SIOWR('M', 117, mixer_vol_table) |
Definition at line 1725 of file soundcard.h.
| #define SOUND_MIXER_SIDEVOL 27 |
Definition at line 1529 of file soundcard.h.
| #define SOUND_MIXER_SPEAKER 5 |
Definition at line 1501 of file soundcard.h.
| #define SOUND_MIXER_STEREODEVS 0xfb |
Definition at line 1577 of file soundcard.h.
| #define SOUND_MIXER_SURRVOL SOUND_MIXER_SIDEVOL |
Definition at line 1536 of file soundcard.h.
| #define SOUND_MIXER_SYNTH 3 |
Definition at line 1499 of file soundcard.h.
| #define SOUND_MIXER_TREBLE 2 |
Definition at line 1498 of file soundcard.h.
| #define SOUND_MIXER_VIDEO 22 |
Definition at line 1524 of file soundcard.h.
| #define SOUND_MIXER_VOLUME 0 |
Definition at line 1496 of file soundcard.h.
| #define SOUND_MIXER_WRITE_ALTPCM MIXER_WRITE(SOUND_MIXER_ALTPCM) |
Definition at line 1664 of file soundcard.h.
| #define SOUND_MIXER_WRITE_BASS MIXER_WRITE(SOUND_MIXER_BASS) |
Definition at line 1655 of file soundcard.h.
| #define SOUND_MIXER_WRITE_CD MIXER_WRITE(SOUND_MIXER_CD) |
Definition at line 1662 of file soundcard.h.
| #define SOUND_MIXER_WRITE_ENHANCE MIXER_WRITE(SOUND_MIXER_ENHANCE) |
Definition at line 1674 of file soundcard.h.
| #define SOUND_MIXER_WRITE_IGAIN MIXER_WRITE(SOUND_MIXER_IGAIN) |
Definition at line 1666 of file soundcard.h.
| #define SOUND_MIXER_WRITE_IMIX MIXER_WRITE(SOUND_MIXER_IMIX) |
Definition at line 1663 of file soundcard.h.
| #define SOUND_MIXER_WRITE_LINE MIXER_WRITE(SOUND_MIXER_LINE) |
Definition at line 1660 of file soundcard.h.
| #define SOUND_MIXER_WRITE_LINE1 MIXER_WRITE(SOUND_MIXER_LINE1) |
Definition at line 1668 of file soundcard.h.
| #define SOUND_MIXER_WRITE_LINE2 MIXER_WRITE(SOUND_MIXER_LINE2) |
Definition at line 1669 of file soundcard.h.
| #define SOUND_MIXER_WRITE_LINE3 MIXER_WRITE(SOUND_MIXER_LINE3) |
Definition at line 1670 of file soundcard.h.
| #define SOUND_MIXER_WRITE_LOUD MIXER_WRITE(SOUND_MIXER_LOUD) |
Definition at line 1675 of file soundcard.h.
| #define SOUND_MIXER_WRITE_MAINVOL __SIOWR('M', 116, int) |
Definition at line 1707 of file soundcard.h.
| #define SOUND_MIXER_WRITE_MIC MIXER_WRITE(SOUND_MIXER_MIC) |
Definition at line 1661 of file soundcard.h.
| #define SOUND_MIXER_WRITE_MONGAIN __SIOWR('M', 120, int) |
Definition at line 1741 of file soundcard.h.
| #define SOUND_MIXER_WRITE_MUTE MIXER_WRITE(SOUND_MIXER_MUTE) |
Definition at line 1673 of file soundcard.h.
| #define SOUND_MIXER_WRITE_OGAIN MIXER_WRITE(SOUND_MIXER_OGAIN) |
Definition at line 1667 of file soundcard.h.
| #define SOUND_MIXER_WRITE_PCM MIXER_WRITE(SOUND_MIXER_PCM) |
Definition at line 1658 of file soundcard.h.
| #define SOUND_MIXER_WRITE_RECGAIN __SIOWR('M', 119, int) |
Definition at line 1739 of file soundcard.h.
| #define SOUND_MIXER_WRITE_RECLEV MIXER_WRITE(SOUND_MIXER_RECLEV) |
Definition at line 1665 of file soundcard.h.
| #define SOUND_MIXER_WRITE_RECSRC MIXER_WRITE(SOUND_MIXER_RECSRC) |
Definition at line 1677 of file soundcard.h.
| #define SOUND_MIXER_WRITE_SPEAKER MIXER_WRITE(SOUND_MIXER_SPEAKER) |
Definition at line 1659 of file soundcard.h.
| #define SOUND_MIXER_WRITE_SYNTH MIXER_WRITE(SOUND_MIXER_SYNTH) |
Definition at line 1657 of file soundcard.h.
| #define SOUND_MIXER_WRITE_TREBLE MIXER_WRITE(SOUND_MIXER_TREBLE) |
Definition at line 1656 of file soundcard.h.
| #define SOUND_MIXER_WRITE_VOLUME MIXER_WRITE(SOUND_MIXER_VOLUME) |
Definition at line 1654 of file soundcard.h.
| #define SOUND_ONOFF_MAX 30 |
Definition at line 1541 of file soundcard.h.
| #define SOUND_ONOFF_MIN 28 |
Definition at line 1540 of file soundcard.h.
| #define SOUND_PCM_GETCAPS SOUND_PCM_GETCAPS_is_obsolete_use_SNDCTL_DSP_GETCAPS_instead |
Definition at line 2130 of file soundcard.h.
| #define SOUND_PCM_GETFMTS SOUND_PCM_GETFMTS_is_obsolete_use_SNDCTL_DSP_GETFMTS_instead |
Definition at line 2125 of file soundcard.h.
| #define SOUND_PCM_GETIPTR SOUND_PCM_GETIPTR_is_obsolete_use_SNDCTL_DSP_GETIPTR_instead |
Definition at line 2134 of file soundcard.h.
| #define SOUND_PCM_GETISPACE SOUND_PCM_GETISPACE_is_obsolete_use_SNDCTL_DSP_GETISPACE_instead |
Definition at line 2128 of file soundcard.h.
| #define SOUND_PCM_GETOPTR SOUND_PCM_GETOPTR_is_obsolete_use_SNDCTL_DSP_GETOPTR_instead |
Definition at line 2135 of file soundcard.h.
| #define SOUND_PCM_GETOSPACE SOUND_PCM_GETOSPACE_is_obsolete_use_SNDCTL_DSP_GETOSPACE_instead |
Definition at line 2127 of file soundcard.h.
| #define SOUND_PCM_GETTRIGGER SOUND_PCM_GETTRIGGER_is_obsolete_use_SNDCTL_DSP_GETTRIGGER_instead |
Definition at line 2131 of file soundcard.h.
| #define SOUND_PCM_MAPINBUF SOUND_PCM_MAPINBUF_is_obsolete_use_SNDCTL_DSP_MAPINBUF_instead |
Definition at line 2136 of file soundcard.h.
| #define SOUND_PCM_MAPOUTBUF SOUND_PCM_MAPOUTBUF_is_obsolete_use_SNDCTL_DSP_MAPOUTBUF_instead |
Definition at line 2137 of file soundcard.h.
| #define SOUND_PCM_NONBLOCK SOUND_PCM_NONBLOCK_is_obsolete_use_SNDCTL_DSP_NONBLOCK_instead |
Definition at line 2129 of file soundcard.h.
| #define SOUND_PCM_POST SOUND_PCM_POST_is_obsolete_use_SNDCTL_DSP_POST_instead |
Definition at line 2120 of file soundcard.h.
| #define SOUND_PCM_READ_BITS SOUND_PCM_READ_BITS_is_obsolete |
Definition at line 2115 of file soundcard.h.
| #define SOUND_PCM_READ_CHANNELS SOUND_PCM_READ_CHANNELS_is_obsolete |
Definition at line 2116 of file soundcard.h.
| #define SOUND_PCM_READ_RATE SOUND_PCM_READ_RATE_is_obsolete |
Definition at line 2114 of file soundcard.h.
| #define SOUND_PCM_RESET SOUND_PCM_RESET_is_obsolete_use_SNDCTL_DSP_HALT_instead |
Definition at line 2121 of file soundcard.h.
| #define SOUND_PCM_SETFMT SOUND_PCM_SETFMT_is_obsolete_use_SNDCTL_DSP_SETFMT_instead |
Definition at line 2126 of file soundcard.h.
| #define SOUND_PCM_SETFRAGMENT SOUND_PCM_SETFRAGMENT_is_obsolete_use_SNDCTL_DSP_SETFRAGMENT_instead |
Definition at line 2124 of file soundcard.h.
| #define SOUND_PCM_SETSYNCRO SOUND_PCM_SETSYNCRO_is_obsolete_use_SNDCTL_DSP_SETSYNCRO_instead |
Definition at line 2133 of file soundcard.h.
| #define SOUND_PCM_SETTRIGGER SOUND_PCM_SETTRIGGER_is_obsolete_use_SNDCTL_DSP_SETTRIGGER_instead |
Definition at line 2132 of file soundcard.h.
| #define SOUND_PCM_SUBDIVIDE SOUND_PCM_SUBDIVIDE_is_obsolete_use_SNDCTL_DSP_SUBDIVIDE_instead |
Definition at line 2123 of file soundcard.h.
| #define SOUND_PCM_SYNC SOUND_PCM_SYNC_is_obsolete_use_SNDCTL_DSP_SYNC_instead |
Definition at line 2122 of file soundcard.h.
| #define SOUND_PCM_WRITE_BITS SOUND_PCM_WRITE_BITS_is_obsolete_use_SNDCTL_DSP_SETFMT_instead |
Definition at line 2119 of file soundcard.h.
| #define SOUND_PCM_WRITE_CHANNELS SOUND_PCM_WRITE_CHANNELS_is_obsolete_use_SNDCTL_DSP_CHANNELS_instead |
Definition at line 2118 of file soundcard.h.
| #define SOUND_PCM_WRITE_RATE SOUND_PCM_WRITE_RATE_is_obsolet_use_SNDCTL_DSP_SPEED_instead |
Definition at line 2117 of file soundcard.h.
| #define SOUND_VERSION OSS_VERSION |
Definition at line 37 of file soundcard.h.
| #define SPD_RQ_PASSTHROUGH 1 |
Definition at line 1295 of file soundcard.h.
| #define SYNTH_CAP_INPUT 0x00000004 |
Definition at line 506 of file soundcard.h.
| #define SYNTH_CAP_OPL3 0x00000002 |
Definition at line 505 of file soundcard.h.
| #define SYNTH_CAP_PERCMODE 0x00000001 |
Definition at line 504 of file soundcard.h.
| #define SYNTH_TYPE_FM 0 |
Definition at line 486 of file soundcard.h.
| #define SYNTH_TYPE_MIDI 2 |
Definition at line 488 of file soundcard.h.
| #define SYNTH_TYPE_SAMPLE 1 |
Definition at line 487 of file soundcard.h.
| #define SYSEX_PATCH _PATCHKEY(0x05) |
Definition at line 299 of file soundcard.h.
| #define TMR_CLOCK 9 |
Definition at line 583 of file soundcard.h.
| #define TMR_CONTINUE 5 |
Definition at line 580 of file soundcard.h.
| #define TMR_ECHO 8 |
Definition at line 582 of file soundcard.h.
| #define TMR_EXTERNAL 0x00000002 |
Definition at line 195 of file soundcard.h.
| #define TMR_INTERNAL 0x00000001 |
Definition at line 194 of file soundcard.h.
| #define TMR_MODE_CLS 0x00000040 |
Definition at line 198 of file soundcard.h.
| #define TMR_MODE_FSK 0x00000020 |
Definition at line 197 of file soundcard.h.
| #define TMR_MODE_MIDI 0x00000010 |
Definition at line 196 of file soundcard.h.
| #define TMR_MODE_SMPTE 0x00000080 |
Definition at line 199 of file soundcard.h.
| #define TMR_SPP 10 |
Definition at line 584 of file soundcard.h.
| #define TMR_START 4 |
Definition at line 579 of file soundcard.h.
| #define TMR_STOP 3 |
Definition at line 578 of file soundcard.h.
| #define TMR_TEMPO 6 |
Definition at line 581 of file soundcard.h.
| #define TMR_TIMESIG 11 |
Definition at line 585 of file soundcard.h.
| #define TMR_WAIT_ABS 2 |
Definition at line 577 of file soundcard.h.
| #define TMR_WAIT_REL 1 |
Definition at line 576 of file soundcard.h.
| #define VAL_CBITIN 0x00000001 |
Definition at line 1280 of file soundcard.h.
| #define VAL_CBITOUT 0x00000004 |
Definition at line 1282 of file soundcard.h.
| #define VAL_INBITS 0x00000080 |
Definition at line 1287 of file soundcard.h.
| #define VAL_IRATE 0x00000020 |
Definition at line 1285 of file soundcard.h.
| #define VAL_ISTATUS 0x00000010 |
Definition at line 1284 of file soundcard.h.
| #define VAL_ORATE 0x00000040 |
Definition at line 1286 of file soundcard.h.
| #define VAL_OUTBITS 0x00000100 |
Definition at line 1288 of file soundcard.h.
| #define VAL_OUTMASK (VAL_CBITOUT|VAL_UBITOUT|VAL_ORATE|VAL_OUTBITS|VAL_OUTSEL) |
Definition at line 1292 of file soundcard.h.
| #define VAL_OUTSEL 0x00000400 |
Definition at line 1290 of file soundcard.h.
| #define VAL_REQUEST 0x00000200 |
Definition at line 1289 of file soundcard.h.
| #define VAL_UBITIN 0x00000002 |
Definition at line 1281 of file soundcard.h.
| #define VAL_UBITOUT 0x00000008 |
Definition at line 1283 of file soundcard.h.
| #define VBIT_NOT_INDICATED 0 |
Definition at line 1323 of file soundcard.h.
| #define VBIT_OFF 1 |
Definition at line 1324 of file soundcard.h.
| #define VBIT_ON 2 |
Definition at line 1325 of file soundcard.h.
| #define VOL_METHOD_ADAGIO 1 |
Definition at line 429 of file soundcard.h.
| #define VOL_METHOD_LINEAR 2 |
Definition at line 430 of file soundcard.h.
| #define WAVE_16_BITS 0x01 |
Definition at line 223 of file soundcard.h.
| #define WAVE_BIDIR_LOOP 0x08 |
Definition at line 226 of file soundcard.h.
| #define WAVE_ENVELOPES 0x40 |
Definition at line 229 of file soundcard.h.
| #define WAVE_FAST_RELEASE 0x80 |
Definition at line 230 of file soundcard.h.
| #define WAVE_FRACTIONS 0x00080000 |
Definition at line 236 of file soundcard.h.
| #define WAVE_LOOP_BACK 0x10 |
Definition at line 227 of file soundcard.h.
| #define WAVE_LOOPING 0x04 |
Definition at line 225 of file soundcard.h.
| #define WAVE_MULAW 0x20000000 |
Definition at line 239 of file soundcard.h.
| #define WAVE_PATCH _PATCHKEY(0x04) |
Definition at line 211 of file soundcard.h.
| #define WAVE_ROM 0x40000000 |
Definition at line 238 of file soundcard.h.
| #define WAVE_SCALE 0x00040000 |
Definition at line 235 of file soundcard.h.
| #define WAVE_SUSTAIN_ON 0x20 |
Definition at line 228 of file soundcard.h.
| #define WAVE_TREMOLO 0x00020000 |
Definition at line 234 of file soundcard.h.
| #define WAVE_UNSIGNED 0x02 |
Definition at line 224 of file soundcard.h.
| #define WAVE_VIBRATO 0x00010000 |
Definition at line 233 of file soundcard.h.
| #define WAVEFRONT_PATCH _PATCHKEY(0x06) |
Definition at line 213 of file soundcard.h.
| typedef char oss_cmd_t[OSS_CMD_SIZE] |
Definition at line 132 of file soundcard.h.
| typedef char oss_devname_t[OSS_DEVNAME_SIZE] |
Definition at line 131 of file soundcard.h.
| typedef char oss_devnode_t[OSS_DEVNODE_SIZE] |
Definition at line 130 of file soundcard.h.
| typedef char oss_handle_t[OSS_HANDLE_SIZE] |
Definition at line 134 of file soundcard.h.
| typedef char oss_id_t[OSS_ID_SIZE] |
Definition at line 133 of file soundcard.h.
| typedef char oss_label_t[OSS_LABEL_SIZE] |
Definition at line 129 of file soundcard.h.
| typedef char oss_longname_t[OSS_LONGNAME_SIZE] |
Definition at line 128 of file soundcard.h.
| typedef unsigned long long oss_midi_time_t |
Definition at line 950 of file soundcard.h.
| typedef unsigned short oss_peaks_t[MAX_PEAK_CHANNELS] |
Definition at line 1447 of file soundcard.h.
| typedef unsigned char oss_reserved_t[512] |
Definition at line 1746 of file soundcard.h.
| typedef unsigned char sbi_instr_data[32] |
Definition at line 469 of file soundcard.h.
| EXTERNC void OSS_drum_caching | ( | int | dev, | |
| int | chn, | |||
| int | patch, | |||
| int | fd, | |||
| unsigned char * | buf, | |||
| int | buflen | |||
| ) |
| EXTERNC int OSS_init | ( | int | seqfd, | |
| int | buflen | |||
| ) |
| EXTERNC void OSS_patch_caching | ( | int | dev, | |
| int | chn, | |||
| int | patch, | |||
| int | fd, | |||
| unsigned char * | buf, | |||
| int | buflen | |||
| ) |
| EXTERNC void OSS_seq_advbuf | ( | int | len, | |
| int | fd, | |||
| unsigned char * | buf, | |||
| int | buflen | |||
| ) |
| EXTERNC void OSS_seq_needbuf | ( | int | len, | |
| int | fd, | |||
| unsigned char * | buf, | |||
| int | buflen | |||
| ) |
| EXTERNC void OSS_seqbuf_dump | ( | int | fd, | |
| unsigned char * | buf, | |||
| int | buflen | |||
| ) |
| EXTERNC void OSS_write_patch | ( | int | fd, | |
| unsigned char * | buf, | |||
| int | len | |||
| ) |
| EXTERNC int OSS_write_patch2 | ( | int | fd, | |
| unsigned char * | buf, | |||
| int | len | |||
| ) |
| void seqbuf_dump | ( | void | ) |
1.5.8