xine-lib  1.2.9
speakers.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2013 the xine project
3  *
4  * This file is part of xine, a free video player.
5  *
6  * xine is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * xine is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
19  */
20 
21 #define MONO 0
22 #define STEREO 1
23 #define HEADPHONES 2
24 #define SURROUND21 3
25 #define SURROUND3 4
26 #define SURROUND4 5
27 #define SURROUND41 6
28 #define SURROUND5 7
29 #define SURROUND51 8
30 #define SURROUND6 9
31 #define SURROUND61 10
32 #define SURROUND71 11
33 #define A52_PASSTHRU 12
34 
35 #define AUDIO_DEVICE_SPEAKER_ARRANGEMENT_HELP \
36  _("speaker arrangement"), \
37  _("Select how your speakers are arranged, " \
38  "this determines which speakers xine uses for sound output. " \
39  "The individual values are:\n\n" \
40  "Mono 1.0: You have only one speaker.\n" \
41  "Stereo 2.0: You have two speakers for left and right channel.\n" \
42  "Headphones 2.0: You use headphones.\n" \
43  "Stereo 2.1: You have two speakers for left and right channel, and one " \
44  "subwoofer for the low frequencies.\n" \
45  "Surround 3.0: You have three speakers for left, right and rear channel.\n" \
46  "Surround 4.0: You have four speakers for front left and right and rear " \
47  "left and right channels.\n" \
48  "Surround 4.1: You have four speakers for front left and right and rear " \
49  "left and right channels, and one subwoofer for the low frequencies.\n" \
50  "Surround 5.0: You have five speakers for front left, center and right and " \
51  "rear left and right channels.\n" \
52  "Surround 5.1: You have five speakers for front left, center and right and " \
53  "rear left and right channels, and one subwoofer for the low frequencies.\n" \
54  "Surround 6.0: You have six speakers for front left, center and right and " \
55  "rear left, center and right channels.\n" \
56  "Surround 6.1: You have six speakers for front left, center and right and " \
57  "rear left, center and right channels, and one subwoofer for the low frequencies.\n" \
58  "Surround 7.1: You have seven speakers for front left, center and right, " \
59  "left and right and rear left and right channels, and one subwoofer for the " \
60  "low frequencies.\n" \
61  "Pass Through: Your sound system will receive undecoded digital sound from xine. " \
62  "You need to connect a digital surround decoder capable of decoding the " \
63  "formats you want to play to your sound card's digital output.")
64 
65 #define AUDIO_DEVICE_SPEAKER_ARRANGEMENT_TYPES \
66  static const char * const speaker_arrangement[] = { \
67  "Mono 1.0", "Stereo 2.0", "Headphones 2.0", "Stereo 2.1", \
68  "Surround 3.0", "Surround 4.0", "Surround 4.1", "Surround 5.0", \
69  "Surround 5.1", "Surround 6.0", "Surround 6.1", "Surround 7.1", \
70  "Pass Through", NULL};