Lines Matching +full:gain +full:- +full:scaling +full:- +full:p
2 * Copyright by Hannu Savolainen 1993-1997
228 #define WAVE_UNSIGNED 0x02 /* bit 1 = Signed - Unsigned data. */
229 #define WAVE_LOOPING 0x04 /* bit 2 = looping enabled-1. */
233 #define WAVE_ENVELOPES 0x40 /* bit 6 = Enable envelopes - 1 */
239 #define WAVE_SCALE 0x00040000 /* The scaling info is valid */
269 int panning; /* -128=left, 127=right */
378 /* undefined 0x14 - 0x1f */
395 /* undefined 0x46 - 0x4f */
401 /* undefined 0x54 - 0x5a */
414 /* undefined 0x66 - 0x78 */
415 /* reserved 0x79 - 0x7f */
475 short device; /* Synth# (0-4) */
482 int device; /* 0-N. INITIALIZE BEFORE CALLING */
513 #define MIDI_CAP_MPU401 1 /* MPU-401 intelligent mode */
517 int device; /* 0-N. INITIALIZE BEFORE CALLING */
540 #define SNDCTL_DSP_RESET _SIO ('P', 0)
541 #define SNDCTL_DSP_SYNC _SIO ('P', 1)
542 #define SNDCTL_DSP_SPEED _SIOWR('P', 2, int)
543 #define SNDCTL_DSP_STEREO _SIOWR('P', 3, int)
544 #define SNDCTL_DSP_GETBLKSIZE _SIOWR('P', 4, int)
546 #define SNDCTL_DSP_CHANNELS _SIOWR('P', 6, int)
548 #define SOUND_PCM_WRITE_FILTER _SIOWR('P', 7, int)
549 #define SNDCTL_DSP_POST _SIO ('P', 8)
550 #define SNDCTL_DSP_SUBDIVIDE _SIOWR('P', 9, int)
551 #define SNDCTL_DSP_SETFRAGMENT _SIOWR('P',10, int)
554 #define SNDCTL_DSP_GETFMTS _SIOR ('P',11, int) /* Returns a mask */
555 #define SNDCTL_DSP_SETFMT _SIOWR('P',5, int) /* Selects ONE fmt*/
581 #define SNDCTL_DSP_GETOSPACE _SIOR ('P',12, audio_buf_info)
582 #define SNDCTL_DSP_GETISPACE _SIOR ('P',13, audio_buf_info)
583 #define SNDCTL_DSP_NONBLOCK _SIO ('P',14)
584 #define SNDCTL_DSP_GETCAPS _SIOR ('P',15, int)
601 #define SNDCTL_DSP_GETTRIGGER _SIOR ('P',16, int)
602 #define SNDCTL_DSP_SETTRIGGER _SIOW ('P',16, int)
612 #define SNDCTL_DSP_GETIPTR _SIOR ('P',17, count_info)
613 #define SNDCTL_DSP_GETOPTR _SIOR ('P',18, count_info)
619 #define SNDCTL_DSP_MAPINBUF _SIOR ('P', 19, buffmem_desc)
620 #define SNDCTL_DSP_MAPOUTBUF _SIOR ('P', 20, buffmem_desc)
621 #define SNDCTL_DSP_SETSYNCRO _SIO ('P', 21)
622 #define SNDCTL_DSP_SETDUPLEX _SIO ('P', 22)
623 #define SNDCTL_DSP_GETODELAY _SIOR ('P', 23, int)
625 #define SNDCTL_DSP_GETCHANNELMASK _SIOWR('P', 64, int)
626 #define SNDCTL_DSP_BIND_CHANNEL _SIOWR('P', 65, int)
638 #define SNDCTL_DSP_SETSPDIF _SIOW ('P', 66, int)
639 #define SNDCTL_DSP_GETSPDIF _SIOR ('P', 67, int)
660 #define SNDCTL_DSP_PROFILE _SIOW ('P', 23, int)
665 #define SOUND_PCM_READ_RATE _SIOR ('P', 2, int)
666 #define SOUND_PCM_READ_CHANNELS _SIOR ('P', 6, int)
667 #define SOUND_PCM_READ_BITS _SIOR ('P', 5, int)
668 #define SOUND_PCM_READ_FILTER _SIOR ('P', 7, int)
759 #define SOUND_MIXER_IGAIN 12 /* Input gain */
760 #define SOUND_MIXER_OGAIN 13 /* Output gain */
779 /* Some on/off settings (SOUND_SPECIAL_MIN - SOUND_SPECIAL_MAX) */
1046 * the OSSlib-3.8 style interface. It is no longer possible
1051 * the GPL version of OSS-4.x and build against that version
1074 * SEQ_DEFINEBUF (2048); -- Defines a buffer for 2048 bytes
1076 * int seqfd; -- The file descriptor for /dev/sequencer.
1082 * if (write (seqfd, _seqbuf, _seqbufptr) == -1)
1085 * exit (-1);
1171 * and the last byte (buf[len-1] of the last fragment must be 0xf7. No byte
1276 if (write(seqfd, (char*)(patchx), len)==-1) \