/usr/include/Y2/Ymixercodes.h is in liby-dev 2.14.5-7ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 | /*
Y Sound Systems
Client to Server Mixer Codes and Definations
Any Y client program that wants to change or fetch mixer
values needs to #include this file and link to the libY2
library.
For contact and programming information, see:
http://wolfpack.twu.net/YIFF
Note: These mixer codes and definations are not related to
the OSS/ALSA mixer codes (even through they appear to be
similar).
*/
#ifndef YMIXERCODES_H
#define YMIXERCODES_H
#ifdef __cplusplus
extern "C" {
#endif
/*
* Mixer channel codes:
*/
#define YMixerCodeVolume 1 /* Master volume. */
#define YMixerCodeSynth 2 /* FM Synth. */
#define YMixerCodePCM 3 /* Primary PCM. */
#define YMixerCodePCM2 4 /* Secondary PCM. */
#define YMixerCodeGainIn 5 /* Input gain. */
#define YMixerCodeGainOut 6 /* Output gain. */
#define YMixerCodeBass 7
#define YMixerCodeTreble 8
#define YMixerCodeCD 9
#define YMixerCodeSpeaker 10 /* Internal PC speaker? */
#define YMixerCodeMic 11 /* Input (not always microphone). */
#define YMixerCodeRec 12 /* Recorder or AUX (input?). */
#define YMixerCodeMix 13
#define YMixerCodeLine 14
#define YMixerCodeLine1 15
#define YMixerCodeLine2 16
#define YMixerCodeLine3 17
#define YMixerCodeDigital1 18
#define YMixerCodeDigital2 19
#define YMixerCodeDigital3 20
#define YMixerCodePhoneIn 21
#define YMixerCodePhoneOut 22
#define YMixerCodeVideo 23
#define YMixerCodeRadio 24
#define YMixerCodeMonitor 25
/*
* Code base offset:
*
* Since the YMixerCode* codes start at 1 and most indexes
* would start at 0. You would need to add this value to
* the index value to match it with the YMixerCode* code.
*
* Example to convert from index to mixer_code:
*
* mixer_code = index + YMixerCodeBaseOffset
*
* Or from mixer_code to index:
*
* index = mixer_code - YMixerCodeBaseOffset
*/
#define YMixerCodeBaseOffset 1
/*
* Mixer channel conical names:
*/
#define YMixerConicalNames { \
"vol", "synth", "pcm", "pcm2", "igain", "ogain", \
"bass", "treble", "cd", "speaker", "mic", "rec", \
"mix", "line", "line1", "line2", "line3", \
"dig1", "dig2", "dig3", "phin", "phout", "video", \
"radio", "monitor" \
}
/*
* Mixer channel names:
*/
#define YMixerNames { \
"Volume", "Synthesizer", "PCM", "PCM2", "Input Gain", \
"Output Gain", "Bass", "Treble", "CD", "PC Speaker", \
"Microphone", "Recorder", "Mix", "Line", "Line1", \
"Line2", "Line3", "Digital1", "Digital2", "Digital3", \
"Phone In", "Phone Out", "Video", "Radio", "Monitor" \
}
/*
* Total number of mixer channels:
*/
#define YTotalMixers 25
#ifdef __cplusplus
}
#endif
#endif /* YMIXERCODES_H */
|