Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions
soundcard.h File Reference
#include <linux/ioctl.h>
#include <endian.h>
#include <linux/patchkey.h>

Go to the source code of this file.

Data Structures

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  mpu_command_rec
 
struct  audio_buf_info
 
struct  count_info
 
struct  buffmem_desc
 
struct  copr_buffer
 
struct  copr_debug_buf
 
struct  copr_msg
 
struct  mixer_info
 
struct  _old_mixer_info
 
struct  mixer_vol_table
 

Macros

#define SOUND_VERSION   0x030802
 
#define OPEN_SOUND_SYSTEM
 
#define SNDCARD_ADLIB   1
 
#define SNDCARD_SB   2
 
#define SNDCARD_PAS   3
 
#define SNDCARD_GUS   4
 
#define SNDCARD_MPU401   5
 
#define SNDCARD_SB16   6
 
#define SNDCARD_SB16MIDI   7
 
#define SNDCARD_UART6850   8
 
#define SNDCARD_GUS16   9
 
#define SNDCARD_MSS   10
 
#define SNDCARD_PSS   11
 
#define SNDCARD_SSCAPE   12
 
#define SNDCARD_PSS_MPU   13
 
#define SNDCARD_PSS_MSS   14
 
#define SNDCARD_SSCAPE_MSS   15
 
#define SNDCARD_TRXPRO   16
 
#define SNDCARD_TRXPRO_SB   17
 
#define SNDCARD_TRXPRO_MPU   18
 
#define SNDCARD_MAD16   19
 
#define SNDCARD_MAD16_MPU   20
 
#define SNDCARD_CS4232   21
 
#define SNDCARD_CS4232_MPU   22
 
#define SNDCARD_MAUI   23
 
#define SNDCARD_PSEUDO_MSS   24
 
#define SNDCARD_GUSPNP   25
 
#define SNDCARD_UART401   26
 
#define SIOCPARM_MASK   0x1fff /* parameters must be < 8192 bytes */
 
#define SIOC_VOID   0x00000000 /* no parameters */
 
#define SIOC_OUT   0x20000000 /* copy out parameters */
 
#define SIOC_IN   0x40000000 /* copy in parameters */
 
#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 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) /* Set/get timer resolution (HZ) */
 
#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) /* Obsolete. Don't use!!!!!! */
 
#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) /* in=dev#, out=memsize */
 
#define SNDCTL_FM_4OP_ENABLE   _SIOW ('Q',15, int) /* in=dev# */
 
#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_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 _LINUX_PATCHKEY_H_INDIRECT
 
#define WAVE_PATCH   _PATCHKEY(0x04)
 
#define GUS_PATCH   WAVE_PATCH
 
#define WAVEFRONT_PATCH   _PATCHKEY(0x06)
 
#define WAVE_16_BITS   0x01 /* bit 0 = 8 or 16 bit wave data. */
 
#define WAVE_UNSIGNED   0x02 /* bit 1 = Signed - Unsigned data. */
 
#define WAVE_LOOPING   0x04 /* bit 2 = looping enabled-1. */
 
#define WAVE_BIDIR_LOOP   0x08 /* bit 3 = Set is bidirectional looping. */
 
#define WAVE_LOOP_BACK   0x10 /* bit 4 = Set is looping backward. */
 
#define WAVE_SUSTAIN_ON   0x20 /* bit 5 = Turn sustaining on. (Env. pts. 3)*/
 
#define WAVE_ENVELOPES   0x40 /* bit 6 = Enable envelopes - 1 */
 
#define WAVE_FAST_RELEASE   0x80 /* bit 7 = Shut off immediately after note off */
 
#define WAVE_VIBRATO   0x00010000 /* The vibrato info is valid */
 
#define WAVE_TREMOLO   0x00020000 /* The tremolo info is valid */
 
#define WAVE_SCALE   0x00040000 /* The scaling info is valid */
 
#define WAVE_FRACTIONS   0x00080000 /* Fraction information is valid */
 
#define WAVE_ROM   0x40000000 /* For future use */
 
#define WAVE_MULAW   0x20000000 /* For future use */
 
#define SYSEX_PATCH   _PATCHKEY(0x05)
 
#define MAUI_PATCH   _PATCHKEY(0x06)
 
#define SEQ_NOTEOFF   0
 
#define SEQ_FMNOTEOFF   SEQ_NOTEOFF /* Just old name */
 
#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 /*** OBSOLETE ***/
 
#define SEQ_DRUMOFF   7 /*** OBSOLETE ***/
 
#define SEQ_ECHO   TMR_ECHO /* For synching programs with output */
 
#define SEQ_AFTERTOUCH   9
 
#define SEQ_CONTROLLER   10
 
#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 /* Alias */
 
#define CTL_HOLD   0x40 /* Alias */
 
#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 /* Alias for the above one */
 
#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 /* Obsolete */
 
#define CTRL_MAIN_VOLUME   252 /* Obsolete */
 
#define SEQ_BALANCE   11
 
#define SEQ_VOLMODE   12
 
#define VOL_METHOD_ADAGIO   1
 
#define VOL_METHOD_LINEAR   2
 
#define SEQ_FULLSIZE   0xfd /* Long events */
 
#define SEQ_PRIVATE   0xfe /* Low level HW dependent events (8 bytes) */
 
#define SEQ_EXTENDED   0xff /* Extended events (8 bytes) OBSOLETE */
 
#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 /* Midi interface */
 
#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 /* No longer used */
 
#define SYNTH_CAP_OPL3   0x00000002 /* Set if OPL3 supported */
 
#define SYNTH_CAP_INPUT   0x00000004 /* Input (MIDI) device */
 
#define MIDI_CAP_MPU401   1 /* MPU-401 intelligent mode */
 
#define SNDCTL_MIDI_PRETIME   _SIOWR('m', 0, int)
 
#define SNDCTL_MIDI_MPUMODE   _SIOWR('m', 1, int)
 
#define SNDCTL_MIDI_MPUCMD   _SIOWR('m', 2, mpu_command_rec)
 
#define SNDCTL_DSP_RESET   _SIO ('P', 0)
 
#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 SOUND_PCM_WRITE_CHANNELS   SNDCTL_DSP_CHANNELS
 
#define SOUND_PCM_WRITE_FILTER   _SIOWR('P', 7, 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) /* Returns a mask */
 
#define SNDCTL_DSP_SETFMT   _SIOWR('P',5, int) /* Selects ONE fmt*/
 
#define AFMT_QUERY   0x00000000 /* Return current fmt */
 
#define AFMT_MU_LAW   0x00000001
 
#define AFMT_A_LAW   0x00000002
 
#define AFMT_IMA_ADPCM   0x00000004
 
#define AFMT_U8   0x00000008
 
#define AFMT_S16_LE   0x00000010 /* Little endian signed 16*/
 
#define AFMT_S16_BE   0x00000020 /* Big endian signed 16 */
 
#define AFMT_S8   0x00000040
 
#define AFMT_U16_LE   0x00000080 /* Little endian U16 */
 
#define AFMT_U16_BE   0x00000100 /* Big endian U16 */
 
#define AFMT_MPEG   0x00000200 /* MPEG (2) audio */
 
#define AFMT_AC3   0x00000400 /* Dolby Digital AC3 */
 
#define SNDCTL_DSP_GETOSPACE   _SIOR ('P',12, audio_buf_info)
 
#define SNDCTL_DSP_GETISPACE   _SIOR ('P',13, audio_buf_info)
 
#define SNDCTL_DSP_NONBLOCK   _SIO ('P',14)
 
#define SNDCTL_DSP_GETCAPS   _SIOR ('P',15, int)
 
#define DSP_CAP_REVISION   0x000000ff /* Bits for revision level (0 to 255) */
 
#define DSP_CAP_DUPLEX   0x00000100 /* Full duplex record/playback */
 
#define DSP_CAP_REALTIME   0x00000200 /* Real time capability */
 
#define DSP_CAP_BATCH   0x00000400 /* Device has some kind of */
 
#define DSP_CAP_COPROC   0x00000800 /* Has a coprocessor */
 
#define DSP_CAP_TRIGGER   0x00001000 /* Supports SETTRIGGER */
 
#define DSP_CAP_MMAP   0x00002000 /* Supports mmap() */
 
#define DSP_CAP_MULTI   0x00004000 /* support multiple open */
 
#define DSP_CAP_BIND   0x00008000 /* channel binding to front/rear/cneter/lfe */
 
#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_MAPINBUF   _SIOR ('P', 19, buffmem_desc)
 
#define SNDCTL_DSP_MAPOUTBUF   _SIOR ('P', 20, buffmem_desc)
 
#define SNDCTL_DSP_SETSYNCRO   _SIO ('P', 21)
 
#define SNDCTL_DSP_SETDUPLEX   _SIO ('P', 22)
 
#define SNDCTL_DSP_GETODELAY   _SIOR ('P', 23, 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 SNDCTL_DSP_SETSPDIF   _SIOW ('P', 66, int)
 
#define SNDCTL_DSP_GETSPDIF   _SIOR ('P', 67, int)
 
#define SPDIF_PRO   0x0001
 
#define SPDIF_N_AUD   0x0002
 
#define SPDIF_COPY   0x0004
 
#define SPDIF_PRE   0x0008
 
#define SPDIF_CC   0x07f0
 
#define SPDIF_L   0x0800
 
#define SPDIF_DRS   0x4000
 
#define SPDIF_V   0x8000
 
#define SNDCTL_DSP_PROFILE   _SIOW ('P', 23, int)
 
#define APF_NORMAL   0 /* Normal applications */
 
#define APF_NETWORK   1 /* Underruns probably caused by an "external" delay */
 
#define APF_CPUINTENS   2 /* Underruns probably caused by "overheating" the CPU */
 
#define SOUND_PCM_READ_RATE   _SIOR ('P', 2, int)
 
#define SOUND_PCM_READ_CHANNELS   _SIOR ('P', 6, int)
 
#define SOUND_PCM_READ_BITS   _SIOR ('P', 5, int)
 
#define SOUND_PCM_READ_FILTER   _SIOR ('P', 7, int)
 
#define SOUND_PCM_WRITE_BITS   SNDCTL_DSP_SETFMT
 
#define SOUND_PCM_WRITE_RATE   SNDCTL_DSP_SPEED
 
#define SOUND_PCM_POST   SNDCTL_DSP_POST
 
#define SOUND_PCM_RESET   SNDCTL_DSP_RESET
 
#define SOUND_PCM_SYNC   SNDCTL_DSP_SYNC
 
#define SOUND_PCM_SUBDIVIDE   SNDCTL_DSP_SUBDIVIDE
 
#define SOUND_PCM_SETFRAGMENT   SNDCTL_DSP_SETFRAGMENT
 
#define SOUND_PCM_GETFMTS   SNDCTL_DSP_GETFMTS
 
#define SOUND_PCM_SETFMT   SNDCTL_DSP_SETFMT
 
#define SOUND_PCM_GETOSPACE   SNDCTL_DSP_GETOSPACE
 
#define SOUND_PCM_GETISPACE   SNDCTL_DSP_GETISPACE
 
#define SOUND_PCM_NONBLOCK   SNDCTL_DSP_NONBLOCK
 
#define SOUND_PCM_GETCAPS   SNDCTL_DSP_GETCAPS
 
#define SOUND_PCM_GETTRIGGER   SNDCTL_DSP_GETTRIGGER
 
#define SOUND_PCM_SETTRIGGER   SNDCTL_DSP_SETTRIGGER
 
#define SOUND_PCM_SETSYNCRO   SNDCTL_DSP_SETSYNCRO
 
#define SOUND_PCM_GETIPTR   SNDCTL_DSP_GETIPTR
 
#define SOUND_PCM_GETOPTR   SNDCTL_DSP_GETOPTR
 
#define SOUND_PCM_MAPINBUF   SNDCTL_DSP_MAPINBUF
 
#define SOUND_PCM_MAPOUTBUF   SNDCTL_DSP_MAPOUTBUF
 
#define CPF_NONE   0x0000
 
#define CPF_FIRST   0x0001 /* First block */
 
#define CPF_LAST   0x0002 /* Last block */
 
#define SNDCTL_COPR_RESET   _SIO ('C', 0)
 
#define SNDCTL_COPR_LOAD   _SIOWR('C', 1, copr_buffer)
 
#define SNDCTL_COPR_RDATA   _SIOWR('C', 2, copr_debug_buf)
 
#define SNDCTL_COPR_RCODE   _SIOWR('C', 3, copr_debug_buf)
 
#define SNDCTL_COPR_WDATA   _SIOW ('C', 4, copr_debug_buf)
 
#define SNDCTL_COPR_WCODE   _SIOW ('C', 5, copr_debug_buf)
 
#define SNDCTL_COPR_RUN   _SIOWR('C', 6, copr_debug_buf)
 
#define SNDCTL_COPR_HALT   _SIOWR('C', 7, copr_debug_buf)
 
#define SNDCTL_COPR_SENDMSG   _SIOWR('C', 8, copr_msg)
 
#define SNDCTL_COPR_RCVMSG   _SIOR ('C', 9, copr_msg)
 
#define SOUND_MIXER_NRDEVICES   25
 
#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 /* Recording monitor */
 
#define SOUND_MIXER_ALTPCM   10
 
#define SOUND_MIXER_RECLEV   11 /* Recording level */
 
#define SOUND_MIXER_IGAIN   12 /* Input gain */
 
#define SOUND_MIXER_OGAIN   13 /* Output gain */
 
#define SOUND_MIXER_LINE1   14 /* Input source 1 (aux1) */
 
#define SOUND_MIXER_LINE2   15 /* Input source 2 (aux2) */
 
#define SOUND_MIXER_LINE3   16 /* Input source 3 (line) */
 
#define SOUND_MIXER_DIGITAL1   17 /* Digital (input) 1 */
 
#define SOUND_MIXER_DIGITAL2   18 /* Digital (input) 2 */
 
#define SOUND_MIXER_DIGITAL3   19 /* Digital (input) 3 */
 
#define SOUND_MIXER_PHONEIN   20 /* Phone input */
 
#define SOUND_MIXER_PHONEOUT   21 /* Phone output */
 
#define SOUND_MIXER_VIDEO   22 /* Video/TV (audio) in */
 
#define SOUND_MIXER_RADIO   23 /* Radio in */
 
#define SOUND_MIXER_MONITOR   24 /* Monitor (usually mic) volume */
 
#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 /* Arg contains a bit for each recording source */
 
#define SOUND_MIXER_DEVMASK   0xfe /* Arg contains a bit for each supported device */
 
#define SOUND_MIXER_RECMASK   0xfd /* Arg contains a bit for each supported recording source */
 
#define SOUND_MIXER_CAPS   0xfc
 
#define SOUND_CAP_EXCL_INPUT   0x00000001 /* Only one recording source at a time */
 
#define SOUND_MIXER_STEREODEVS   0xfb /* Mixer channels supporting stereo */
 
#define SOUND_MIXER_OUTSRC   0xfa /* Arg contains a bit for each input source to output */
 
#define SOUND_MIXER_OUTMASK   0xf9 /* Arg contains a bit for each supported input source to output */
 
#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_PHONEIN   (1 << SOUND_MIXER_PHONEIN)
 
#define SOUND_MASK_PHONEOUT   (1 << SOUND_MIXER_PHONEOUT)
 
#define SOUND_MASK_RADIO   (1 << SOUND_MIXER_RADIO)
 
#define SOUND_MASK_VIDEO   (1 << SOUND_MIXER_VIDEO)
 
#define SOUND_MASK_MONITOR   (1 << SOUND_MIXER_MONITOR)
 
#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_OLD_MIXER_INFO   _SIOR ('M', 101, _old_mixer_info)
 
#define SOUND_MIXER_ACCESS   _SIOWR('M', 102, mixer_record)
 
#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_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 EV_SEQ_LOCAL   0x80
 
#define EV_TIMING   0x81
 
#define EV_CHN_COMMON   0x92
 
#define EV_CHN_VOICE   0x93
 
#define EV_SYSEX   0x94
 
#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 /* Time relative to the prev time */
 
#define TMR_WAIT_ABS   2 /* Absolute time since TMR_START */
 
#define TMR_STOP   3
 
#define TMR_START   4
 
#define TMR_CONTINUE   5
 
#define TMR_TEMPO   6
 
#define TMR_ECHO   8
 
#define TMR_CLOCK   9 /* MIDI clock */
 
#define TMR_SPP   10 /* Song position pointer */
 
#define TMR_TIMESIG   11 /* Time signature */
 
#define LOCL_STARTAUDIO   1
 
#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_EXTERN   extern
 
#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_MIDIOUT(device, byte)
 
#define SEQ_WRPATCH(patchx, len)
 
#define SEQ_WRPATCH2(patchx, len)   (SEQ_DUMPBUF(), write(seqfd, (char*)(patchx), len))
 

Typedefs

typedef struct synth_control synth_control
 
typedef struct remove_sample remove_sample
 
typedef struct seq_event_rec seq_event_rec
 
typedef unsigned char sbi_instr_data [32]
 
typedef struct audio_buf_info audio_buf_info
 
typedef struct count_info count_info
 
typedef struct buffmem_desc buffmem_desc
 
typedef struct copr_buffer copr_buffer
 
typedef struct copr_debug_buf copr_debug_buf
 
typedef struct copr_msg copr_msg
 
typedef struct mixer_info mixer_info
 
typedef struct _old_mixer_info _old_mixer_info
 
typedef unsigned char mixer_record [128]
 
typedef struct mixer_vol_table mixer_vol_table
 

Functions

void seqbuf_dump (void)
 

Macro Definition Documentation

#define _CHN_COMMON (   dev,
  event,
  chn,
  p1,
  p2,
  w14 
)
Value:
_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 1153 of file soundcard.h.

#define _CHN_VOICE (   dev,
  event,
  chn,
  note,
  parm 
)
Value:
_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 1128 of file soundcard.h.

#define _LINUX_PATCHKEY_H_INDIRECT

Definition at line 187 of file soundcard.h.

#define _LOCAL_EVENT (   ev,
  parm 
)
Value:
_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 1251 of file soundcard.h.

#define _SEQ_ADVBUF (   len)    _seqbufptr += len

Definition at line 1093 of file soundcard.h.

#define _SEQ_EXTERN   extern

Definition at line 1066 of file soundcard.h.

#define _SEQ_NEEDBUF (   len)    if ((_seqbufptr+(len)) > _seqbuflen) seqbuf_dump()

Definition at line 1092 of file soundcard.h.

#define _SIO (   x,
  y 
)    ((int)(SIOC_VOID|(x<<8)|y))

Definition at line 115 of file soundcard.h.

#define _SIOC_DIR (   x)    (x & 0xf0000000)

Definition at line 121 of file soundcard.h.

#define _SIOC_NONE   SIOC_VOID

Definition at line 122 of file soundcard.h.

#define _SIOC_READ   SIOC_OUT

Definition at line 123 of file soundcard.h.

#define _SIOC_SIZE (   x)    ((x>>16)&SIOCPARM_MASK)

Definition at line 120 of file soundcard.h.

#define _SIOC_WRITE   SIOC_IN

Definition at line 124 of file soundcard.h.

#define _SIOR (   x,
  y,
  t 
)    ((int)(SIOC_OUT|((sizeof(t)&SIOCPARM_MASK)<<16)|(x<<8)|y))

Definition at line 116 of file soundcard.h.

#define _SIOW (   x,
  y,
  t 
)    ((int)(SIOC_IN|((sizeof(t)&SIOCPARM_MASK)<<16)|(x<<8)|y))

Definition at line 117 of file soundcard.h.

#define _SIOWR (   x,
  y,
  t 
)    ((int)(SIOC_INOUT|((sizeof(t)&SIOCPARM_MASK)<<16)|(x<<8)|y))

Definition at line 119 of file soundcard.h.

#define _TIMER_EVENT (   ev,
  parm 
)
Value:
_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 1229 of file soundcard.h.

#define AFMT_A_LAW   0x00000002

Definition at line 558 of file soundcard.h.

#define AFMT_AC3   0x00000400 /* Dolby Digital AC3 */

Definition at line 567 of file soundcard.h.

#define AFMT_IMA_ADPCM   0x00000004

Definition at line 559 of file soundcard.h.

#define AFMT_MPEG   0x00000200 /* MPEG (2) audio */

Definition at line 566 of file soundcard.h.

#define AFMT_MU_LAW   0x00000001

Definition at line 557 of file soundcard.h.

#define AFMT_QUERY   0x00000000 /* Return current fmt */

Definition at line 556 of file soundcard.h.

#define AFMT_S16_BE   0x00000020 /* Big endian signed 16 */

Definition at line 562 of file soundcard.h.

#define AFMT_S16_LE   0x00000010 /* Little endian signed 16*/

Definition at line 561 of file soundcard.h.

#define AFMT_S8   0x00000040

Definition at line 563 of file soundcard.h.

#define AFMT_U16_BE   0x00000100 /* Big endian U16 */

Definition at line 565 of file soundcard.h.

#define AFMT_U16_LE   0x00000080 /* Little endian U16 */

Definition at line 564 of file soundcard.h.

#define AFMT_U8   0x00000008

Definition at line 560 of file soundcard.h.

#define APF_CPUINTENS   2 /* Underruns probably caused by "overheating" the CPU */

Definition at line 663 of file soundcard.h.

#define APF_NETWORK   1 /* Underruns probably caused by an "external" delay */

Definition at line 662 of file soundcard.h.

#define APF_NORMAL   0 /* Normal applications */

Definition at line 661 of file soundcard.h.

#define CPF_FIRST   0x0001 /* First block */

Definition at line 701 of file soundcard.h.

#define CPF_LAST   0x0002 /* Last block */

Definition at line 702 of file soundcard.h.

#define CPF_NONE   0x0000

Definition at line 700 of file soundcard.h.

#define CTL_BALANCE   0x08

Definition at line 366 of file soundcard.h.

#define CTL_BANK_SELECT   0x00

Definition at line 358 of file soundcard.h.

#define CTL_BREATH   0x02

Definition at line 360 of file soundcard.h.

#define CTL_CELESTE_DEPTH   0x5e /* Alias for the above one */

Definition at line 406 of file soundcard.h.

#define CTL_CHORUS_DEPTH   0x5d

Definition at line 404 of file soundcard.h.

#define CTL_DAMPER_PEDAL   0x40

Definition at line 387 of file soundcard.h.

#define CTL_DATA_DECREMENT   0x61

Definition at line 409 of file soundcard.h.

#define CTL_DATA_ENTRY   0x06

Definition at line 364 of file soundcard.h.

#define CTL_DATA_INCREMENT   0x60

Definition at line 408 of file soundcard.h.

#define CTL_DETUNE_DEPTH   0x5e

Definition at line 405 of file soundcard.h.

#define CTL_EXPRESSION   0x0b

Definition at line 369 of file soundcard.h.

#define CTL_EXT_EFF_DEPTH   0x5b

Definition at line 402 of file soundcard.h.

#define CTL_FOOT   0x04

Definition at line 362 of file soundcard.h.

#define CTL_GENERAL_PURPOSE1   0x10

Definition at line 374 of file soundcard.h.

#define CTL_GENERAL_PURPOSE2   0x11

Definition at line 375 of file soundcard.h.

#define CTL_GENERAL_PURPOSE3   0x12

Definition at line 376 of file soundcard.h.

#define CTL_GENERAL_PURPOSE4   0x13

Definition at line 377 of file soundcard.h.

#define CTL_GENERAL_PURPOSE5   0x50

Definition at line 397 of file soundcard.h.

#define CTL_GENERAL_PURPOSE6   0x51

Definition at line 398 of file soundcard.h.

#define CTL_GENERAL_PURPOSE7   0x52

Definition at line 399 of file soundcard.h.

#define CTL_GENERAL_PURPOSE8   0x53

Definition at line 400 of file soundcard.h.

#define CTL_HOLD   0x40 /* Alias */

Definition at line 389 of file soundcard.h.

#define CTL_HOLD2   0x45

Definition at line 394 of file soundcard.h.

#define CTL_MAIN_VOLUME   0x07

Definition at line 365 of file soundcard.h.

#define CTL_MODWHEEL   0x01

Definition at line 359 of file soundcard.h.

#define CTL_NONREG_PARM_NUM_LSB   0x62

Definition at line 410 of file soundcard.h.

#define CTL_NONREG_PARM_NUM_MSB   0x63

Definition at line 411 of file soundcard.h.

#define CTL_PAN   0x0a

Definition at line 368 of file soundcard.h.

#define CTL_PHASER_DEPTH   0x5f

Definition at line 407 of file soundcard.h.

#define CTL_PORTAMENTO   0x41

Definition at line 390 of file soundcard.h.

#define CTL_PORTAMENTO_TIME   0x05

Definition at line 363 of file soundcard.h.

#define CTL_REGIST_PARM_NUM_LSB   0x64

Definition at line 412 of file soundcard.h.

#define CTL_REGIST_PARM_NUM_MSB   0x65

Definition at line 413 of file soundcard.h.

#define CTL_SOFT_PEDAL   0x43

Definition at line 392 of file soundcard.h.

#define CTL_SOSTENUTO   0x42

Definition at line 391 of file soundcard.h.

#define CTL_SUSTAIN   0x40 /* Alias */

Definition at line 388 of file soundcard.h.

#define CTL_TREMOLO_DEPTH   0x5c

Definition at line 403 of file soundcard.h.

#define CTRL_EXPRESSION   253 /* Obsolete */

Definition at line 420 of file soundcard.h.

#define CTRL_MAIN_VOLUME   252 /* Obsolete */

Definition at line 421 of file soundcard.h.

#define CTRL_PITCH_BENDER   255

Definition at line 418 of file soundcard.h.

#define CTRL_PITCH_BENDER_RANGE   254

Definition at line 419 of file soundcard.h.

#define DSP_BIND_CENTER_LFE   0x00000004

Definition at line 630 of file soundcard.h.

#define DSP_BIND_FRONT   0x00000001

Definition at line 628 of file soundcard.h.

#define DSP_BIND_HANDSET   0x00000008

Definition at line 631 of file soundcard.h.

#define DSP_BIND_I2S   0x00000080

Definition at line 635 of file soundcard.h.

#define DSP_BIND_MIC   0x00000010

Definition at line 632 of file soundcard.h.

#define DSP_BIND_MODEM1   0x00000020

Definition at line 633 of file soundcard.h.

#define DSP_BIND_MODEM2   0x00000040

Definition at line 634 of file soundcard.h.

#define DSP_BIND_QUERY   0x00000000

Definition at line 627 of file soundcard.h.

#define DSP_BIND_SPDIF   0x00000100

Definition at line 636 of file soundcard.h.

#define DSP_BIND_SURR   0x00000002

Definition at line 629 of file soundcard.h.

#define DSP_CAP_BATCH   0x00000400 /* Device has some kind of */

Definition at line 588 of file soundcard.h.

#define DSP_CAP_BIND   0x00008000 /* channel binding to front/rear/cneter/lfe */

Definition at line 598 of file soundcard.h.

#define DSP_CAP_COPROC   0x00000800 /* Has a coprocessor */

Definition at line 592 of file soundcard.h.

#define DSP_CAP_DUPLEX   0x00000100 /* Full duplex record/playback */

Definition at line 586 of file soundcard.h.

#define DSP_CAP_MMAP   0x00002000 /* Supports mmap() */

Definition at line 596 of file soundcard.h.

#define DSP_CAP_MULTI   0x00004000 /* support multiple open */

Definition at line 597 of file soundcard.h.

#define DSP_CAP_REALTIME   0x00000200 /* Real time capability */

Definition at line 587 of file soundcard.h.

#define DSP_CAP_REVISION   0x000000ff /* Bits for revision level (0 to 255) */

Definition at line 585 of file soundcard.h.

#define DSP_CAP_TRIGGER   0x00001000 /* Supports SETTRIGGER */

Definition at line 595 of file soundcard.h.

#define EV_CHN_COMMON   0x92

Definition at line 994 of file soundcard.h.

#define EV_CHN_VOICE   0x93

Definition at line 995 of file soundcard.h.

#define EV_SEQ_LOCAL   0x80

Definition at line 992 of file soundcard.h.

#define EV_SYSEX   0x94

Definition at line 996 of file soundcard.h.

#define EV_TIMING   0x81

Definition at line 993 of file soundcard.h.

#define FM_PATCH   _PATCHKEY(0x01)

Definition at line 473 of file soundcard.h.

#define FM_TYPE_ADLIB   0x00

Definition at line 489 of file soundcard.h.

#define FM_TYPE_OPL3   0x01

Definition at line 490 of file soundcard.h.

#define GUS_PATCH   WAVE_PATCH

Definition at line 216 of file soundcard.h.

#define LOCL_STARTAUDIO   1

Definition at line 1038 of file soundcard.h.

#define MAUI_PATCH   _PATCHKEY(0x06)

Definition at line 305 of file soundcard.h.

#define MIDI_CAP_MPU401   1 /* MPU-401 intelligent mode */

Definition at line 513 of file soundcard.h.

#define MIDI_CHN_PRESSURE   0xD0

Definition at line 1016 of file soundcard.h.

#define MIDI_CTL_CHANGE   0xB0

Definition at line 1014 of file soundcard.h.

#define MIDI_KEY_PRESSURE   0xA0

Definition at line 1008 of file soundcard.h.

#define MIDI_NOTEOFF   0x80

Definition at line 1006 of file soundcard.h.

#define MIDI_NOTEON   0x90

Definition at line 1007 of file soundcard.h.

#define MIDI_PGM_CHANGE   0xC0

Definition at line 1015 of file soundcard.h.

#define MIDI_PITCH_BEND   0xE0

Definition at line 1017 of file soundcard.h.

#define MIDI_SYSTEM_PREFIX   0xF0

Definition at line 1019 of file soundcard.h.

#define MIDI_TYPE_MPU401   0x401

Definition at line 491 of file soundcard.h.

#define MIXER_READ (   dev)    _SIOR('M', dev, int)

Definition at line 850 of file soundcard.h.

#define MIXER_WRITE (   dev)    _SIOWR('M', dev, int)

Definition at line 880 of file soundcard.h.

#define OPEN_SOUND_SYSTEM

Definition at line 37 of file soundcard.h.

#define OPL3_PATCH   _PATCHKEY(0x03)

Definition at line 474 of file soundcard.h.

#define OSS_GETVERSION   _SIOR ('M', 118, int)

Definition at line 972 of file soundcard.h.

#define PCM_ENABLE_INPUT   0x00000001

Definition at line 603 of file soundcard.h.

#define PCM_ENABLE_OUTPUT   0x00000002

Definition at line 604 of file soundcard.h.

#define SAMPLE_TYPE_BASIC   0x10

Definition at line 493 of file soundcard.h.

#define SAMPLE_TYPE_GUS   SAMPLE_TYPE_BASIC

Definition at line 494 of file soundcard.h.

#define SAMPLE_TYPE_WAVEFRONT   0x11

Definition at line 495 of file soundcard.h.

#define SEQ_AFTERTOUCH   9

Definition at line 343 of file soundcard.h.

#define SEQ_BALANCE   11

Definition at line 422 of file soundcard.h.

#define SEQ_BENDER (   dev,
  chn,
  value 
)    _CHN_COMMON(dev, MIDI_PITCH_BEND, chn, 0, 0, value)

Definition at line 1201 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 1220 of file soundcard.h.

#define SEQ_CHN_PRESSURE (   dev,
  chn,
  pressure 
)    _CHN_COMMON(dev, MIDI_CHN_PRESSURE, chn, pressure, 0, 0)

Definition at line 1191 of file soundcard.h.

#define SEQ_CONTINUE_TIMER ( )    _TIMER_EVENT(TMR_CONTINUE, 0)

Definition at line 1239 of file soundcard.h.

#define SEQ_CONTROL (   dev,
  chn,
  controller,
  value 
)    _CHN_COMMON(dev, MIDI_CTL_CHANGE, chn, controller, 0, value)

Definition at line 1198 of file soundcard.h.

#define SEQ_CONTROLLER   10

Definition at line 344 of file soundcard.h.

#define SEQ_DECLAREBUF ( )    SEQ_USE_EXTBUF()

Definition at line 1057 of file soundcard.h.

#define SEQ_DEFINEBUF (   len)    unsigned char _seqbuf[len]; int _seqbuflen = len;int _seqbufptr = 0

Definition at line 1091 of file soundcard.h.

#define SEQ_DELTA_TIME (   ticks)    _TIMER_EVENT(TMR_WAIT_REL, ticks)

Definition at line 1241 of file soundcard.h.

#define SEQ_DRUMOFF   7 /*** OBSOLETE ***/

Definition at line 341 of file soundcard.h.

#define SEQ_DRUMON   6 /*** OBSOLETE ***/

Definition at line 340 of file soundcard.h.

#define SEQ_DUMPBUF   seqbuf_dump

Definition at line 1094 of file soundcard.h.

#define SEQ_ECHO   TMR_ECHO /* For synching programs with output */

Definition at line 342 of file soundcard.h.

#define SEQ_ECHO_BACK (   key)    _TIMER_EVENT(TMR_ECHO, key)

Definition at line 1242 of file soundcard.h.

#define SEQ_EXPRESSION (   dev,
  voice,
  value 
)    SEQ_CONTROL(dev, voice, CTL_EXPRESSION, value*128)

Definition at line 1221 of file soundcard.h.

#define SEQ_EXTENDED   0xff /* Extended events (8 bytes) OBSOLETE */

Definition at line 463 of file soundcard.h.

#define SEQ_FMNOTEOFF   SEQ_NOTEOFF /* Just old name */

Definition at line 332 of file soundcard.h.

#define SEQ_FMNOTEON   SEQ_NOTEON

Definition at line 334 of file soundcard.h.

#define SEQ_FMPGMCHANGE   SEQ_PGMCHANGE

Definition at line 337 of file soundcard.h.

#define SEQ_FULLSIZE   0xfd /* Long events */

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 1146 of file soundcard.h.

#define SEQ_LOAD_GMDRUM (   dev,
  drum 
)

Definition at line 1064 of file soundcard.h.

#define SEQ_LOAD_GMINSTR (   dev,
  instr 
)

Definition at line 1063 of file soundcard.h.

#define SEQ_MAIN_VOLUME (   dev,
  voice,
  value 
)    SEQ_CONTROL(dev, voice, CTL_MAIN_VOLUME, (value*16383)/100)

Definition at line 1222 of file soundcard.h.

#define SEQ_MIDIOUT (   device,
  byte 
)
Value:
_seqbuf[_seqbufptr] = SEQ_MIDIPUTC;\
_seqbuf[_seqbufptr+1] = (byte);\
_seqbuf[_seqbufptr+2] = (device);\
_seqbuf[_seqbufptr+3] = 0;\
_SEQ_ADVBUF(4);}

Definition at line 1264 of file soundcard.h.

#define SEQ_MIDIPUTC   5

Definition at line 339 of file soundcard.h.

#define SEQ_NOTEOFF   0

Definition at line 331 of file soundcard.h.

#define SEQ_NOTEON   1

Definition at line 333 of file soundcard.h.

#define SEQ_PANNING (   dev,
  voice,
  pos 
)    SEQ_CONTROL(dev, voice, CTL_PAN, (pos+128) / 2)

Definition at line 1223 of file soundcard.h.

#define SEQ_PGM_CHANGE (   dev,
  chn,
  patch 
)    _CHN_COMMON(dev, MIDI_PGM_CHANGE, chn, patch, 0, 0)

Definition at line 1195 of file soundcard.h.

#define SEQ_PGMCHANGE   3

Definition at line 336 of file soundcard.h.

#define SEQ_PITCHBEND (   dev,
  voice,
  value 
)    SEQ_V2_X_CONTROL(dev, voice, CTRL_PITCH_BENDER, value)

Definition at line 1219 of file soundcard.h.

#define SEQ_PLAYAUDIO (   devmask)    _LOCAL_EVENT(LOCL_STARTAUDIO, devmask)

Definition at line 1259 of file soundcard.h.

#define SEQ_PM_DEFINES   int __foo_bar___

Definition at line 1061 of file soundcard.h.

#define SEQ_PRIVATE   0xfe /* Low level HW dependent events (8 bytes) */

Definition at line 462 of file soundcard.h.

#define SEQ_SET_PATCH   SEQ_PGM_CHANGE

Definition at line 1194 of file soundcard.h.

#define SEQ_SET_TEMPO (   value)    _TIMER_EVENT(TMR_TEMPO, value)

Definition at line 1243 of file soundcard.h.

#define SEQ_SONGPOS (   pos)    _TIMER_EVENT(TMR_SPP, pos)

Definition at line 1244 of file soundcard.h.

#define SEQ_START_NOTE (   dev,
  chn,
  note,
  vol 
)    _CHN_VOICE(dev, MIDI_NOTEON, chn, note, vol)

Definition at line 1140 of file soundcard.h.

#define SEQ_START_TIMER ( )    _TIMER_EVENT(TMR_START, 0)

Definition at line 1237 of file soundcard.h.

#define SEQ_STOP_NOTE (   dev,
  chn,
  note,
  vol 
)    _CHN_VOICE(dev, MIDI_NOTEOFF, chn, note, vol)

Definition at line 1143 of file soundcard.h.

#define SEQ_STOP_TIMER ( )    _TIMER_EVENT(TMR_STOP, 0)

Definition at line 1238 of file soundcard.h.

#define SEQ_SYNCTIMER   TMR_START

Definition at line 338 of file soundcard.h.

#define SEQ_SYSEX (   dev,
  buf,
  len 
)
Value:
{int ii, ll=(len); \
unsigned char *bufp=buf;\
if (ll>6)ll=6;\
for(ii=0;ii<ll;ii++)\
_seqbuf[_seqbufptr+ii+2] = bufp[ii];\
for(ii=ll;ii<6;ii++)\
_seqbuf[_seqbufptr+ii+2] = 0xff;\

Definition at line 1178 of file soundcard.h.

#define SEQ_TIME_SIGNATURE (   sig)    _TIMER_EVENT(TMR_TIMESIG, sig)

Definition at line 1245 of file soundcard.h.

#define SEQ_USE_EXTBUF ( )
Value:
_SEQ_EXTERN unsigned char _seqbuf[]; \
_SEQ_EXTERN int _seqbuflen; _SEQ_EXTERN int _seqbufptr

Definition at line 1067 of file soundcard.h.

#define SEQ_V2_X_CONTROL (   dev,
  voice,
  controller,
  value 
)
Value:
_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 1205 of file soundcard.h.

#define SEQ_VOLMODE   12

Definition at line 423 of file soundcard.h.

#define SEQ_VOLUME_MODE (   dev,
  mode 
)
Value:
_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 1113 of file soundcard.h.

#define SEQ_WAIT   TMR_WAIT_ABS

Definition at line 335 of file soundcard.h.

#define SEQ_WAIT_TIME (   ticks)    _TIMER_EVENT(TMR_WAIT_ABS, ticks)

Definition at line 1240 of file soundcard.h.

#define SEQ_WRPATCH (   patchx,
  len 
)
Value:
if (write(seqfd, (char*)(patchx), len)==-1) \
perror("Write patch: /dev/sequencer");}

Definition at line 1274 of file soundcard.h.

#define SEQ_WRPATCH2 (   patchx,
  len 
)    (SEQ_DUMPBUF(), write(seqfd, (char*)(patchx), len))

Definition at line 1278 of file soundcard.h.

#define SIOC_IN   0x40000000 /* copy in parameters */

Definition at line 112 of file soundcard.h.

#define SIOC_INOUT   (SIOC_IN|SIOC_OUT)

Definition at line 113 of file soundcard.h.

#define SIOC_OUT   0x20000000 /* copy out parameters */

Definition at line 111 of file soundcard.h.

#define SIOC_VOID   0x00000000 /* no parameters */

Definition at line 110 of file soundcard.h.

#define SIOCPARM_MASK   0x1fff /* parameters must be < 8192 bytes */

Definition at line 109 of file soundcard.h.

#define SNDCARD_ADLIB   1

Definition at line 51 of file soundcard.h.

#define SNDCARD_CS4232   21

Definition at line 71 of file soundcard.h.

#define SNDCARD_CS4232_MPU   22

Definition at line 72 of file soundcard.h.

#define SNDCARD_GUS   4

Definition at line 54 of file soundcard.h.

#define SNDCARD_GUS16   9

Definition at line 59 of file soundcard.h.

#define SNDCARD_GUSPNP   25

Definition at line 75 of file soundcard.h.

#define SNDCARD_MAD16   19

Definition at line 69 of file soundcard.h.

#define SNDCARD_MAD16_MPU   20

Definition at line 70 of file soundcard.h.

#define SNDCARD_MAUI   23

Definition at line 73 of file soundcard.h.

#define SNDCARD_MPU401   5

Definition at line 55 of file soundcard.h.

#define SNDCARD_MSS   10

Definition at line 60 of file soundcard.h.

#define SNDCARD_PAS   3

Definition at line 53 of file soundcard.h.

#define SNDCARD_PSEUDO_MSS   24

Definition at line 74 of file soundcard.h.

#define SNDCARD_PSS   11

Definition at line 61 of file soundcard.h.

#define SNDCARD_PSS_MPU   13

Definition at line 63 of file soundcard.h.

#define SNDCARD_PSS_MSS   14

Definition at line 64 of file soundcard.h.

#define SNDCARD_SB   2

Definition at line 52 of file soundcard.h.

#define SNDCARD_SB16   6

Definition at line 56 of file soundcard.h.

#define SNDCARD_SB16MIDI   7

Definition at line 57 of file soundcard.h.

#define SNDCARD_SSCAPE   12

Definition at line 62 of file soundcard.h.

#define SNDCARD_SSCAPE_MSS   15

Definition at line 65 of file soundcard.h.

#define SNDCARD_TRXPRO   16

Definition at line 66 of file soundcard.h.

#define SNDCARD_TRXPRO_MPU   18

Definition at line 68 of file soundcard.h.

#define SNDCARD_TRXPRO_SB   17

Definition at line 67 of file soundcard.h.

#define SNDCARD_UART401   26

Definition at line 76 of file soundcard.h.

#define SNDCARD_UART6850   8

Definition at line 58 of file soundcard.h.

#define SNDCTL_COPR_HALT   _SIOWR('C', 7, copr_debug_buf)

Definition at line 729 of file soundcard.h.

#define SNDCTL_COPR_LOAD   _SIOWR('C', 1, copr_buffer)

Definition at line 723 of file soundcard.h.

#define SNDCTL_COPR_RCODE   _SIOWR('C', 3, copr_debug_buf)

Definition at line 725 of file soundcard.h.

#define SNDCTL_COPR_RCVMSG   _SIOR ('C', 9, copr_msg)

Definition at line 731 of file soundcard.h.

#define SNDCTL_COPR_RDATA   _SIOWR('C', 2, copr_debug_buf)

Definition at line 724 of file soundcard.h.

#define SNDCTL_COPR_RESET   _SIO ('C', 0)

Definition at line 722 of file soundcard.h.

#define SNDCTL_COPR_RUN   _SIOWR('C', 6, copr_debug_buf)

Definition at line 728 of file soundcard.h.

#define SNDCTL_COPR_SENDMSG   _SIOWR('C', 8, copr_msg)

Definition at line 730 of file soundcard.h.

#define SNDCTL_COPR_WCODE   _SIOW ('C', 5, copr_debug_buf)

Definition at line 727 of file soundcard.h.

#define SNDCTL_COPR_WDATA   _SIOW ('C', 4, copr_debug_buf)

Definition at line 726 of file soundcard.h.

#define SNDCTL_DSP_BIND_CHANNEL   _SIOWR('P', 65, int)

Definition at line 626 of file soundcard.h.

#define SNDCTL_DSP_CHANNELS   _SIOWR('P', 6, int)

Definition at line 546 of file soundcard.h.

#define SNDCTL_DSP_GETBLKSIZE   _SIOWR('P', 4, int)

Definition at line 544 of file soundcard.h.

#define SNDCTL_DSP_GETCAPS   _SIOR ('P',15, int)

Definition at line 584 of file soundcard.h.

#define SNDCTL_DSP_GETCHANNELMASK   _SIOWR('P', 64, int)

Definition at line 625 of file soundcard.h.

#define SNDCTL_DSP_GETFMTS   _SIOR ('P',11, int) /* Returns a mask */

Definition at line 554 of file soundcard.h.

#define SNDCTL_DSP_GETIPTR   _SIOR ('P',17, count_info)

Definition at line 612 of file soundcard.h.

#define SNDCTL_DSP_GETISPACE   _SIOR ('P',13, audio_buf_info)

Definition at line 582 of file soundcard.h.

#define SNDCTL_DSP_GETODELAY   _SIOR ('P', 23, int)

Definition at line 623 of file soundcard.h.

#define SNDCTL_DSP_GETOPTR   _SIOR ('P',18, count_info)

Definition at line 613 of file soundcard.h.

#define SNDCTL_DSP_GETOSPACE   _SIOR ('P',12, audio_buf_info)

Definition at line 581 of file soundcard.h.

#define SNDCTL_DSP_GETSPDIF   _SIOR ('P', 67, int)

Definition at line 639 of file soundcard.h.

#define SNDCTL_DSP_GETTRIGGER   _SIOR ('P',16, int)

Definition at line 601 of file soundcard.h.

#define SNDCTL_DSP_MAPINBUF   _SIOR ('P', 19, buffmem_desc)

Definition at line 619 of file soundcard.h.

#define SNDCTL_DSP_MAPOUTBUF   _SIOR ('P', 20, buffmem_desc)

Definition at line 620 of file soundcard.h.

#define SNDCTL_DSP_NONBLOCK   _SIO ('P',14)

Definition at line 583 of file soundcard.h.

#define SNDCTL_DSP_POST   _SIO ('P', 8)

Definition at line 549 of file soundcard.h.

#define SNDCTL_DSP_PROFILE   _SIOW ('P', 23, int)

Definition at line 660 of file soundcard.h.

#define SNDCTL_DSP_RESET   _SIO ('P', 0)

Definition at line 540 of file soundcard.h.

#define SNDCTL_DSP_SAMPLESIZE   SNDCTL_DSP_SETFMT

Definition at line 545 of file soundcard.h.

#define SNDCTL_DSP_SETDUPLEX   _SIO ('P', 22)

Definition at line 622 of file soundcard.h.

#define SNDCTL_DSP_SETFMT   _SIOWR('P',5, int) /* Selects ONE fmt*/

Definition at line 555 of file soundcard.h.

#define SNDCTL_DSP_SETFRAGMENT   _SIOWR('P',10, int)

Definition at line 551 of file soundcard.h.

#define SNDCTL_DSP_SETSPDIF   _SIOW ('P', 66, int)

Definition at line 638 of file soundcard.h.

#define SNDCTL_DSP_SETSYNCRO   _SIO ('P', 21)

Definition at line 621 of file soundcard.h.

#define SNDCTL_DSP_SETTRIGGER   _SIOW ('P',16, int)

Definition at line 602 of file soundcard.h.

#define SNDCTL_DSP_SPEED   _SIOWR('P', 2, int)

Definition at line 542 of file soundcard.h.

#define SNDCTL_DSP_STEREO   _SIOWR('P', 3, int)

Definition at line 543 of file soundcard.h.

#define SNDCTL_DSP_SUBDIVIDE   _SIOWR('P', 9, int)

Definition at line 550 of file soundcard.h.

#define SNDCTL_DSP_SYNC   _SIO ('P', 1)

Definition at line 541 of file soundcard.h.

#define SNDCTL_FM_4OP_ENABLE   _SIOW ('Q',15, int) /* in=dev# */

Definition at line 143 of file soundcard.h.

#define SNDCTL_FM_LOAD_INSTR   _SIOW ('Q', 7, struct sbi_instrument) /* Obsolete. Don't use!!!!!! */

Definition at line 135 of file soundcard.h.

#define SNDCTL_MIDI_INFO   _SIOWR('Q',12, struct midi_info)

Definition at line 140 of file soundcard.h.

#define SNDCTL_MIDI_MPUCMD   _SIOWR('m', 2, mpu_command_rec)

Definition at line 534 of file soundcard.h.

#define SNDCTL_MIDI_MPUMODE   _SIOWR('m', 1, int)

Definition at line 533 of file soundcard.h.

#define SNDCTL_MIDI_PRETIME   _SIOWR('m', 0, int)

Definition at line 532 of file soundcard.h.

#define SNDCTL_SEQ_CTRLRATE   _SIOWR('Q', 3, int) /* Set/get timer resolution (HZ) */

Definition at line 131 of file soundcard.h.

#define SNDCTL_SEQ_GETINCOUNT   _SIOR ('Q', 5, int)

Definition at line 133 of file soundcard.h.

#define SNDCTL_SEQ_GETOUTCOUNT   _SIOR ('Q', 4, int)

Definition at line 132 of file soundcard.h.

#define SNDCTL_SEQ_GETTIME   _SIOR ('Q',19, int)

Definition at line 146 of file soundcard.h.

#define SNDCTL_SEQ_NRMIDIS   _SIOR ('Q',11, int)

Definition at line 139 of file soundcard.h.

#define SNDCTL_SEQ_NRSYNTHS   _SIOR ('Q',10, int)

Definition at line 138 of file soundcard.h.

#define SNDCTL_SEQ_OUTOFBAND   _SIOW ('Q',18, struct seq_event_rec)

Definition at line 145 of file soundcard.h.

#define SNDCTL_SEQ_PANIC   _SIO ('Q',17)

Definition at line 144 of file soundcard.h.

#define SNDCTL_SEQ_PERCMODE   _SIOW ('Q', 6, int)

Definition at line 134 of file soundcard.h.

#define SNDCTL_SEQ_RESET   _SIO ('Q', 0)

Definition at line 128 of file soundcard.h.

#define SNDCTL_SEQ_RESETSAMPLES   _SIOW ('Q', 9, int)

Definition at line 137 of file soundcard.h.

#define SNDCTL_SEQ_SYNC   _SIO ('Q', 1)

Definition at line 129 of file soundcard.h.

#define SNDCTL_SEQ_TESTMIDI   _SIOW ('Q', 8, int)

Definition at line 136 of file soundcard.h.

#define SNDCTL_SEQ_THRESHOLD   _SIOW ('Q',13, int)

Definition at line 141 of file soundcard.h.

#define SNDCTL_SYNTH_CONTROL   _SIOWR('Q',21, struct synth_control)

Definition at line 148 of file soundcard.h.

#define SNDCTL_SYNTH_ID   _SIOWR('Q',20, struct synth_info)

Definition at line 147 of file soundcard.h.

#define SNDCTL_SYNTH_INFO   _SIOWR('Q', 2, struct synth_info)

Definition at line 130 of file soundcard.h.

#define SNDCTL_SYNTH_MEMAVL   _SIOWR('Q',14, int) /* in=dev#, out=memsize */

Definition at line 142 of file soundcard.h.

#define SNDCTL_SYNTH_REMOVESAMPLE   _SIOWR('Q',22, struct remove_sample)

Definition at line 149 of file soundcard.h.

#define SNDCTL_TMR_CONTINUE   _SIO ('T', 4)

Definition at line 171 of file soundcard.h.

#define SNDCTL_TMR_METRONOME   _SIOW ('T', 7, int)

Definition at line 180 of file soundcard.h.

#define SNDCTL_TMR_SELECT   _SIOW ('T', 8, int)

Definition at line 181 of file soundcard.h.

#define SNDCTL_TMR_SOURCE   _SIOWR('T', 6, int)

Definition at line 173 of file soundcard.h.

#define SNDCTL_TMR_START   _SIO ('T', 2)

Definition at line 169 of file soundcard.h.

#define SNDCTL_TMR_STOP   _SIO ('T', 3)

Definition at line 170 of file soundcard.h.

#define SNDCTL_TMR_TEMPO   _SIOWR('T', 5, int)

Definition at line 172 of file soundcard.h.

#define SNDCTL_TMR_TIMEBASE   _SIOWR('T', 1, int)

Definition at line 168 of file soundcard.h.

#define SOUND_CAP_EXCL_INPUT   0x00000001 /* Only one recording source at a time */

Definition at line 812 of file soundcard.h.

#define SOUND_DEVICE_LABELS
Value:
{"Vol ", "Bass ", "Trebl", "Synth", "Pcm ", "Spkr ", "Line ", \
"Mic ", "CD ", "Mix ", "Pcm2 ", "Rec ", "IGain", "OGain", \
"Line1", "Line2", "Line3", "Digital1", "Digital2", "Digital3", \
"PhoneIn", "PhoneOut", "Video", "Radio", "Monitor"}

Definition at line 796 of file soundcard.h.

#define SOUND_DEVICE_NAMES
Value:
{"vol", "bass", "treble", "synth", "pcm", "speaker", "line", \
"mic", "cd", "mix", "pcm2", "rec", "igain", "ogain", \
"line1", "line2", "line3", "dig1", "dig2", "dig3", \
"phin", "phout", "video", "radio", "monitor"}

Definition at line 801 of file soundcard.h.

#define SOUND_MASK_ALTPCM   (1 << SOUND_MIXER_ALTPCM)

Definition at line 829 of file soundcard.h.

#define SOUND_MASK_BASS   (1 << SOUND_MIXER_BASS)

Definition at line 820 of file soundcard.h.

#define SOUND_MASK_CD   (1 << SOUND_MIXER_CD)

Definition at line 827 of file soundcard.h.

#define SOUND_MASK_DIGITAL1   (1 << SOUND_MIXER_DIGITAL1)

Definition at line 836 of file soundcard.h.

#define SOUND_MASK_DIGITAL2   (1 << SOUND_MIXER_DIGITAL2)

Definition at line 837 of file soundcard.h.

#define SOUND_MASK_DIGITAL3   (1 << SOUND_MIXER_DIGITAL3)

Definition at line 838 of file soundcard.h.

#define SOUND_MASK_ENHANCE   (1 << SOUND_MIXER_ENHANCE)

Definition at line 847 of file soundcard.h.

#define SOUND_MASK_IGAIN   (1 << SOUND_MIXER_IGAIN)

Definition at line 831 of file soundcard.h.

#define SOUND_MASK_IMIX   (1 << SOUND_MIXER_IMIX)

Definition at line 828 of file soundcard.h.

#define SOUND_MASK_LINE   (1 << SOUND_MIXER_LINE)

Definition at line 825 of file soundcard.h.

#define SOUND_MASK_LINE1   (1 << SOUND_MIXER_LINE1)

Definition at line 833 of file soundcard.h.

#define SOUND_MASK_LINE2   (1 << SOUND_MIXER_LINE2)

Definition at line 834 of file soundcard.h.

#define SOUND_MASK_LINE3   (1 << SOUND_MIXER_LINE3)

Definition at line 835 of file soundcard.h.

#define SOUND_MASK_LOUD   (1 << SOUND_MIXER_LOUD)

Definition at line 848 of file soundcard.h.

#define SOUND_MASK_MIC   (1 << SOUND_MIXER_MIC)

Definition at line 826 of file soundcard.h.

#define SOUND_MASK_MONITOR   (1 << SOUND_MIXER_MONITOR)

Definition at line 843 of file soundcard.h.

#define SOUND_MASK_MUTE   (1 << SOUND_MIXER_MUTE)

Definition at line 846 of file soundcard.h.

#define SOUND_MASK_OGAIN   (1 << SOUND_MIXER_OGAIN)

Definition at line 832 of file soundcard.h.

#define SOUND_MASK_PCM   (1 << SOUND_MIXER_PCM)

Definition at line 823 of file soundcard.h.

#define SOUND_MASK_PHONEIN   (1 << SOUND_MIXER_PHONEIN)

Definition at line 839 of file soundcard.h.

#define SOUND_MASK_PHONEOUT   (1 << SOUND_MIXER_PHONEOUT)

Definition at line 840 of file soundcard.h.

#define SOUND_MASK_RADIO   (1 << SOUND_MIXER_RADIO)

Definition at line 841 of file soundcard.h.

#define SOUND_MASK_RECLEV   (1 << SOUND_MIXER_RECLEV)

Definition at line 830 of file soundcard.h.

#define SOUND_MASK_SPEAKER   (1 << SOUND_MIXER_SPEAKER)

Definition at line 824 of file soundcard.h.

#define SOUND_MASK_SYNTH   (1 << SOUND_MIXER_SYNTH)

Definition at line 822 of file soundcard.h.

#define SOUND_MASK_TREBLE   (1 << SOUND_MIXER_TREBLE)

Definition at line 821 of file soundcard.h.

#define SOUND_MASK_VIDEO   (1 << SOUND_MIXER_VIDEO)

Definition at line 842 of file soundcard.h.

#define SOUND_MASK_VOLUME   (1 << SOUND_MIXER_VOLUME)

Definition at line 819 of file soundcard.h.

#define SOUND_MIXER_3DSE   _SIOWR('M', 104, int)

Definition at line 937 of file soundcard.h.

#define SOUND_MIXER_ACCESS   _SIOWR('M', 102, mixer_record)

Definition at line 931 of file soundcard.h.

#define SOUND_MIXER_AGC   _SIOWR('M', 103, int)

Definition at line 936 of file soundcard.h.

#define SOUND_MIXER_ALTPCM   10

Definition at line 757 of file soundcard.h.

#define SOUND_MIXER_BASS   1

Definition at line 748 of file soundcard.h.

#define SOUND_MIXER_CAPS   0xfc

Definition at line 811 of file soundcard.h.

#define SOUND_MIXER_CD   8

Definition at line 755 of file soundcard.h.

#define SOUND_MIXER_DEVMASK   0xfe /* Arg contains a bit for each supported device */

Definition at line 809 of file soundcard.h.

#define SOUND_MIXER_DIGITAL1   17 /* Digital (input) 1 */

Definition at line 770 of file soundcard.h.

#define SOUND_MIXER_DIGITAL2   18 /* Digital (input) 2 */

Definition at line 771 of file soundcard.h.

#define SOUND_MIXER_DIGITAL3   19 /* Digital (input) 3 */

Definition at line 772 of file soundcard.h.

#define SOUND_MIXER_ENHANCE   SOUND_MIXER_NONE

Definition at line 791 of file soundcard.h.

#define SOUND_MIXER_GETLEVELS   _SIOWR('M', 116, mixer_vol_table)

Definition at line 963 of file soundcard.h.

#define SOUND_MIXER_IGAIN   12 /* Input gain */

Definition at line 759 of file soundcard.h.

#define SOUND_MIXER_IMIX   9 /* Recording monitor */

Definition at line 756 of file soundcard.h.

#define SOUND_MIXER_INFO   _SIOR ('M', 101, mixer_info)

Definition at line 920 of file soundcard.h.

#define SOUND_MIXER_LINE   6

Definition at line 753 of file soundcard.h.

#define SOUND_MIXER_LINE1   14 /* Input source 1 (aux1) */

Definition at line 767 of file soundcard.h.

#define SOUND_MIXER_LINE2   15 /* Input source 2 (aux2) */

Definition at line 768 of file soundcard.h.

#define SOUND_MIXER_LINE3   16 /* Input source 3 (line) */

Definition at line 769 of file soundcard.h.

#define SOUND_MIXER_LOUD   SOUND_MIXER_NONE

Definition at line 793 of file soundcard.h.

#define SOUND_MIXER_MIC   7

Definition at line 754 of file soundcard.h.

#define SOUND_MIXER_MONITOR   24 /* Monitor (usually mic) volume */

Definition at line 777 of file soundcard.h.

#define SOUND_MIXER_MUTE   SOUND_MIXER_NONE

Definition at line 792 of file soundcard.h.

#define SOUND_MIXER_NONE   31

Definition at line 785 of file soundcard.h.

#define SOUND_MIXER_NRDEVICES   25

Definition at line 746 of file soundcard.h.

#define SOUND_MIXER_OGAIN   13 /* Output gain */

Definition at line 760 of file soundcard.h.

#define SOUND_MIXER_OUTMASK   0xf9 /* Arg contains a bit for each supported input source to output */

Definition at line 815 of file soundcard.h.

#define SOUND_MIXER_OUTSRC   0xfa /* Arg contains a bit for each input source to output */

Definition at line 814 of file soundcard.h.

#define SOUND_MIXER_PCM   4

Definition at line 751 of file soundcard.h.

#define SOUND_MIXER_PHONEIN   20 /* Phone input */

Definition at line 773 of file soundcard.h.

#define SOUND_MIXER_PHONEOUT   21 /* Phone output */

Definition at line 774 of file soundcard.h.

#define SOUND_MIXER_PRIVATE1   _SIOWR('M', 111, int)

Definition at line 943 of file soundcard.h.

#define SOUND_MIXER_PRIVATE2   _SIOWR('M', 112, int)

Definition at line 944 of file soundcard.h.

#define SOUND_MIXER_PRIVATE3   _SIOWR('M', 113, int)

Definition at line 945 of file soundcard.h.

#define SOUND_MIXER_PRIVATE4   _SIOWR('M', 114, int)

Definition at line 946 of file soundcard.h.

#define SOUND_MIXER_PRIVATE5   _SIOWR('M', 115, int)

Definition at line 947 of file soundcard.h.

#define SOUND_MIXER_RADIO   23 /* Radio in */

Definition at line 776 of file soundcard.h.

#define SOUND_MIXER_READ_ALTPCM   MIXER_READ(SOUND_MIXER_ALTPCM)

Definition at line 861 of file soundcard.h.

#define SOUND_MIXER_READ_BASS   MIXER_READ(SOUND_MIXER_BASS)

Definition at line 852 of file soundcard.h.

#define SOUND_MIXER_READ_CAPS   MIXER_READ(SOUND_MIXER_CAPS)

Definition at line 878 of file soundcard.h.

#define SOUND_MIXER_READ_CD   MIXER_READ(SOUND_MIXER_CD)

Definition at line 859 of file soundcard.h.

#define SOUND_MIXER_READ_DEVMASK   MIXER_READ(SOUND_MIXER_DEVMASK)

Definition at line 875 of file soundcard.h.

#define SOUND_MIXER_READ_ENHANCE   MIXER_READ(SOUND_MIXER_ENHANCE)

Definition at line 871 of file soundcard.h.

#define SOUND_MIXER_READ_IGAIN   MIXER_READ(SOUND_MIXER_IGAIN)

Definition at line 863 of file soundcard.h.

#define SOUND_MIXER_READ_IMIX   MIXER_READ(SOUND_MIXER_IMIX)

Definition at line 860 of file soundcard.h.

#define SOUND_MIXER_READ_LINE   MIXER_READ(SOUND_MIXER_LINE)

Definition at line 857 of file soundcard.h.

#define SOUND_MIXER_READ_LINE1   MIXER_READ(SOUND_MIXER_LINE1)

Definition at line 865 of file soundcard.h.

#define SOUND_MIXER_READ_LINE2   MIXER_READ(SOUND_MIXER_LINE2)

Definition at line 866 of file soundcard.h.

#define SOUND_MIXER_READ_LINE3   MIXER_READ(SOUND_MIXER_LINE3)

Definition at line 867 of file soundcard.h.

#define SOUND_MIXER_READ_LOUD   MIXER_READ(SOUND_MIXER_LOUD)

Definition at line 872 of file soundcard.h.

#define SOUND_MIXER_READ_MIC   MIXER_READ(SOUND_MIXER_MIC)

Definition at line 858 of file soundcard.h.

#define SOUND_MIXER_READ_MUTE   MIXER_READ(SOUND_MIXER_MUTE)

Definition at line 870 of file soundcard.h.

#define SOUND_MIXER_READ_OGAIN   MIXER_READ(SOUND_MIXER_OGAIN)

Definition at line 864 of file soundcard.h.

#define SOUND_MIXER_READ_PCM   MIXER_READ(SOUND_MIXER_PCM)

Definition at line 855 of file soundcard.h.

#define SOUND_MIXER_READ_RECLEV   MIXER_READ(SOUND_MIXER_RECLEV)

Definition at line 862 of file soundcard.h.

#define SOUND_MIXER_READ_RECMASK   MIXER_READ(SOUND_MIXER_RECMASK)

Definition at line 876 of file soundcard.h.

#define SOUND_MIXER_READ_RECSRC   MIXER_READ(SOUND_MIXER_RECSRC)

Definition at line 874 of file soundcard.h.

#define SOUND_MIXER_READ_SPEAKER   MIXER_READ(SOUND_MIXER_SPEAKER)

Definition at line 856 of file soundcard.h.

#define SOUND_MIXER_READ_STEREODEVS   MIXER_READ(SOUND_MIXER_STEREODEVS)

Definition at line 877 of file soundcard.h.

#define SOUND_MIXER_READ_SYNTH   MIXER_READ(SOUND_MIXER_SYNTH)

Definition at line 854 of file soundcard.h.

#define SOUND_MIXER_READ_TREBLE   MIXER_READ(SOUND_MIXER_TREBLE)

Definition at line 853 of file soundcard.h.

#define SOUND_MIXER_READ_VOLUME   MIXER_READ(SOUND_MIXER_VOLUME)

Definition at line 851 of file soundcard.h.

#define SOUND_MIXER_RECLEV   11 /* Recording level */

Definition at line 758 of file soundcard.h.

#define SOUND_MIXER_RECMASK   0xfd /* Arg contains a bit for each supported recording source */

Definition at line 810 of file soundcard.h.

#define SOUND_MIXER_RECSRC   0xff /* Arg contains a bit for each recording source */

Definition at line 808 of file soundcard.h.

#define SOUND_MIXER_SETLEVELS   _SIOWR('M', 117, mixer_vol_table)

Definition at line 964 of file soundcard.h.

#define SOUND_MIXER_SPEAKER   5

Definition at line 752 of file soundcard.h.

#define SOUND_MIXER_STEREODEVS   0xfb /* Mixer channels supporting stereo */

Definition at line 813 of file soundcard.h.

#define SOUND_MIXER_SYNTH   3

Definition at line 750 of file soundcard.h.

#define SOUND_MIXER_TREBLE   2

Definition at line 749 of file soundcard.h.

#define SOUND_MIXER_VIDEO   22 /* Video/TV (audio) in */

Definition at line 775 of file soundcard.h.

#define SOUND_MIXER_VOLUME   0

Definition at line 747 of file soundcard.h.

#define SOUND_MIXER_WRITE_ALTPCM   MIXER_WRITE(SOUND_MIXER_ALTPCM)

Definition at line 891 of file soundcard.h.

#define SOUND_MIXER_WRITE_BASS   MIXER_WRITE(SOUND_MIXER_BASS)

Definition at line 882 of file soundcard.h.

#define SOUND_MIXER_WRITE_CD   MIXER_WRITE(SOUND_MIXER_CD)

Definition at line 889 of file soundcard.h.

#define SOUND_MIXER_WRITE_ENHANCE   MIXER_WRITE(SOUND_MIXER_ENHANCE)

Definition at line 901 of file soundcard.h.

#define SOUND_MIXER_WRITE_IGAIN   MIXER_WRITE(SOUND_MIXER_IGAIN)

Definition at line 893 of file soundcard.h.

#define SOUND_MIXER_WRITE_IMIX   MIXER_WRITE(SOUND_MIXER_IMIX)

Definition at line 890 of file soundcard.h.

#define SOUND_MIXER_WRITE_LINE   MIXER_WRITE(SOUND_MIXER_LINE)

Definition at line 887 of file soundcard.h.

#define SOUND_MIXER_WRITE_LINE1   MIXER_WRITE(SOUND_MIXER_LINE1)

Definition at line 895 of file soundcard.h.

#define SOUND_MIXER_WRITE_LINE2   MIXER_WRITE(SOUND_MIXER_LINE2)

Definition at line 896 of file soundcard.h.

#define SOUND_MIXER_WRITE_LINE3   MIXER_WRITE(SOUND_MIXER_LINE3)

Definition at line 897 of file soundcard.h.

#define SOUND_MIXER_WRITE_LOUD   MIXER_WRITE(SOUND_MIXER_LOUD)

Definition at line 902 of file soundcard.h.

#define SOUND_MIXER_WRITE_MIC   MIXER_WRITE(SOUND_MIXER_MIC)

Definition at line 888 of file soundcard.h.

#define SOUND_MIXER_WRITE_MUTE   MIXER_WRITE(SOUND_MIXER_MUTE)

Definition at line 900 of file soundcard.h.

#define SOUND_MIXER_WRITE_OGAIN   MIXER_WRITE(SOUND_MIXER_OGAIN)

Definition at line 894 of file soundcard.h.

#define SOUND_MIXER_WRITE_PCM   MIXER_WRITE(SOUND_MIXER_PCM)

Definition at line 885 of file soundcard.h.

#define SOUND_MIXER_WRITE_RECLEV   MIXER_WRITE(SOUND_MIXER_RECLEV)

Definition at line 892 of file soundcard.h.

#define SOUND_MIXER_WRITE_RECSRC   MIXER_WRITE(SOUND_MIXER_RECSRC)

Definition at line 904 of file soundcard.h.

#define SOUND_MIXER_WRITE_SPEAKER   MIXER_WRITE(SOUND_MIXER_SPEAKER)

Definition at line 886 of file soundcard.h.

#define SOUND_MIXER_WRITE_SYNTH   MIXER_WRITE(SOUND_MIXER_SYNTH)

Definition at line 884 of file soundcard.h.

#define SOUND_MIXER_WRITE_TREBLE   MIXER_WRITE(SOUND_MIXER_TREBLE)

Definition at line 883 of file soundcard.h.

#define SOUND_MIXER_WRITE_VOLUME   MIXER_WRITE(SOUND_MIXER_VOLUME)

Definition at line 881 of file soundcard.h.

#define SOUND_OLD_MIXER_INFO   _SIOR ('M', 101, _old_mixer_info)

Definition at line 921 of file soundcard.h.

#define SOUND_ONOFF_MAX   30

Definition at line 782 of file soundcard.h.

#define SOUND_ONOFF_MIN   28

Definition at line 781 of file soundcard.h.

#define SOUND_PCM_GETCAPS   SNDCTL_DSP_GETCAPS

Definition at line 683 of file soundcard.h.

#define SOUND_PCM_GETFMTS   SNDCTL_DSP_GETFMTS

Definition at line 678 of file soundcard.h.

#define SOUND_PCM_GETIPTR   SNDCTL_DSP_GETIPTR

Definition at line 687 of file soundcard.h.

#define SOUND_PCM_GETISPACE   SNDCTL_DSP_GETISPACE

Definition at line 681 of file soundcard.h.

#define SOUND_PCM_GETOPTR   SNDCTL_DSP_GETOPTR

Definition at line 688 of file soundcard.h.

#define SOUND_PCM_GETOSPACE   SNDCTL_DSP_GETOSPACE

Definition at line 680 of file soundcard.h.

#define SOUND_PCM_GETTRIGGER   SNDCTL_DSP_GETTRIGGER

Definition at line 684 of file soundcard.h.

#define SOUND_PCM_MAPINBUF   SNDCTL_DSP_MAPINBUF

Definition at line 689 of file soundcard.h.

#define SOUND_PCM_MAPOUTBUF   SNDCTL_DSP_MAPOUTBUF

Definition at line 690 of file soundcard.h.

#define SOUND_PCM_NONBLOCK   SNDCTL_DSP_NONBLOCK

Definition at line 682 of file soundcard.h.

#define SOUND_PCM_POST   SNDCTL_DSP_POST

Definition at line 673 of file soundcard.h.

#define SOUND_PCM_READ_BITS   _SIOR ('P', 5, int)

Definition at line 667 of file soundcard.h.

#define SOUND_PCM_READ_CHANNELS   _SIOR ('P', 6, int)

Definition at line 666 of file soundcard.h.

#define SOUND_PCM_READ_FILTER   _SIOR ('P', 7, int)

Definition at line 668 of file soundcard.h.

#define SOUND_PCM_READ_RATE   _SIOR ('P', 2, int)

Definition at line 665 of file soundcard.h.

#define SOUND_PCM_RESET   SNDCTL_DSP_RESET

Definition at line 674 of file soundcard.h.

#define SOUND_PCM_SETFMT   SNDCTL_DSP_SETFMT

Definition at line 679 of file soundcard.h.

#define SOUND_PCM_SETFRAGMENT   SNDCTL_DSP_SETFRAGMENT

Definition at line 677 of file soundcard.h.

#define SOUND_PCM_SETSYNCRO   SNDCTL_DSP_SETSYNCRO

Definition at line 686 of file soundcard.h.

#define SOUND_PCM_SETTRIGGER   SNDCTL_DSP_SETTRIGGER

Definition at line 685 of file soundcard.h.

#define SOUND_PCM_SUBDIVIDE   SNDCTL_DSP_SUBDIVIDE

Definition at line 676 of file soundcard.h.

#define SOUND_PCM_SYNC   SNDCTL_DSP_SYNC

Definition at line 675 of file soundcard.h.

#define SOUND_PCM_WRITE_BITS   SNDCTL_DSP_SETFMT

Definition at line 671 of file soundcard.h.

#define SOUND_PCM_WRITE_CHANNELS   SNDCTL_DSP_CHANNELS

Definition at line 547 of file soundcard.h.

#define SOUND_PCM_WRITE_FILTER   _SIOWR('P', 7, int)

Definition at line 548 of file soundcard.h.

#define SOUND_PCM_WRITE_RATE   SNDCTL_DSP_SPEED

Definition at line 672 of file soundcard.h.

#define SOUND_VERSION   0x030802

Definition at line 36 of file soundcard.h.

#define SPDIF_CC   0x07f0

Definition at line 644 of file soundcard.h.

#define SPDIF_COPY   0x0004

Definition at line 642 of file soundcard.h.

#define SPDIF_DRS   0x4000

Definition at line 646 of file soundcard.h.

#define SPDIF_L   0x0800

Definition at line 645 of file soundcard.h.

#define SPDIF_N_AUD   0x0002

Definition at line 641 of file soundcard.h.

#define SPDIF_PRE   0x0008

Definition at line 643 of file soundcard.h.

#define SPDIF_PRO   0x0001

Definition at line 640 of file soundcard.h.

#define SPDIF_V   0x8000

Definition at line 647 of file soundcard.h.

#define SYNTH_CAP_INPUT   0x00000004 /* Input (MIDI) device */

Definition at line 504 of file soundcard.h.

#define SYNTH_CAP_OPL3   0x00000002 /* Set if OPL3 supported */

Definition at line 503 of file soundcard.h.

#define SYNTH_CAP_PERCMODE   0x00000001 /* No longer used */

Definition at line 502 of file soundcard.h.

#define SYNTH_TYPE_FM   0

Definition at line 484 of file soundcard.h.

#define SYNTH_TYPE_MIDI   2 /* Midi interface */

Definition at line 486 of file soundcard.h.

#define SYNTH_TYPE_SAMPLE   1

Definition at line 485 of file soundcard.h.

#define SYSEX_PATCH   _PATCHKEY(0x05)

Definition at line 304 of file soundcard.h.

#define TMR_CLOCK   9 /* MIDI clock */

Definition at line 1031 of file soundcard.h.

#define TMR_CONTINUE   5

Definition at line 1028 of file soundcard.h.

#define TMR_ECHO   8

Definition at line 1030 of file soundcard.h.

#define TMR_EXTERNAL   0x00000002

Definition at line 175 of file soundcard.h.

#define TMR_INTERNAL   0x00000001

Definition at line 174 of file soundcard.h.

#define TMR_MODE_CLS   0x00000040

Definition at line 178 of file soundcard.h.

#define TMR_MODE_FSK   0x00000020

Definition at line 177 of file soundcard.h.

#define TMR_MODE_MIDI   0x00000010

Definition at line 176 of file soundcard.h.

#define TMR_MODE_SMPTE   0x00000080

Definition at line 179 of file soundcard.h.

#define TMR_SPP   10 /* Song position pointer */

Definition at line 1032 of file soundcard.h.

#define TMR_START   4

Definition at line 1027 of file soundcard.h.

#define TMR_STOP   3

Definition at line 1026 of file soundcard.h.

#define TMR_TEMPO   6

Definition at line 1029 of file soundcard.h.

#define TMR_TIMESIG   11 /* Time signature */

Definition at line 1033 of file soundcard.h.

#define TMR_WAIT_ABS   2 /* Absolute time since TMR_START */

Definition at line 1025 of file soundcard.h.

#define TMR_WAIT_REL   1 /* Time relative to the prev time */

Definition at line 1024 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 /* bit 0 = 8 or 16 bit wave data. */

Definition at line 227 of file soundcard.h.

#define WAVE_BIDIR_LOOP   0x08 /* bit 3 = Set is bidirectional looping. */

Definition at line 230 of file soundcard.h.

#define WAVE_ENVELOPES   0x40 /* bit 6 = Enable envelopes - 1 */

Definition at line 233 of file soundcard.h.

#define WAVE_FAST_RELEASE   0x80 /* bit 7 = Shut off immediately after note off */

Definition at line 234 of file soundcard.h.

#define WAVE_FRACTIONS   0x00080000 /* Fraction information is valid */

Definition at line 240 of file soundcard.h.

#define WAVE_LOOP_BACK   0x10 /* bit 4 = Set is looping backward. */

Definition at line 231 of file soundcard.h.

#define WAVE_LOOPING   0x04 /* bit 2 = looping enabled-1. */

Definition at line 229 of file soundcard.h.

#define WAVE_MULAW   0x20000000 /* For future use */

Definition at line 243 of file soundcard.h.

#define WAVE_PATCH   _PATCHKEY(0x04)

Definition at line 215 of file soundcard.h.

#define WAVE_ROM   0x40000000 /* For future use */

Definition at line 242 of file soundcard.h.

#define WAVE_SCALE   0x00040000 /* The scaling info is valid */

Definition at line 239 of file soundcard.h.

#define WAVE_SUSTAIN_ON   0x20 /* bit 5 = Turn sustaining on. (Env. pts. 3)*/

Definition at line 232 of file soundcard.h.

#define WAVE_TREMOLO   0x00020000 /* The tremolo info is valid */

Definition at line 238 of file soundcard.h.

#define WAVE_UNSIGNED   0x02 /* bit 1 = Signed - Unsigned data. */

Definition at line 228 of file soundcard.h.

#define WAVE_VIBRATO   0x00010000 /* The vibrato info is valid */

Definition at line 237 of file soundcard.h.

#define WAVEFRONT_PATCH   _PATCHKEY(0x06)

Definition at line 217 of file soundcard.h.

Typedef Documentation

typedef unsigned char mixer_record[128]

Definition at line 929 of file soundcard.h.

typedef unsigned char sbi_instr_data[32]

Definition at line 469 of file soundcard.h.

Function Documentation

void seqbuf_dump ( void  )