summaryrefslogtreecommitdiff
path: root/src/audio_out
diff options
context:
space:
mode:
Diffstat (limited to 'src/audio_out')
-rw-r--r--src/audio_out/audio_alsa_out.c47
-rw-r--r--src/audio_out/audio_arts_out.c5
-rw-r--r--src/audio_out/audio_esd_out.c7
-rw-r--r--src/audio_out/audio_irixal_out.c7
-rw-r--r--src/audio_out/audio_oss_out.c24
-rw-r--r--src/audio_out/audio_sun_out.c7
6 files changed, 51 insertions, 46 deletions
diff --git a/src/audio_out/audio_alsa_out.c b/src/audio_out/audio_alsa_out.c
index b77e9dbc8..42b85cb29 100644
--- a/src/audio_out/audio_alsa_out.c
+++ b/src/audio_out/audio_alsa_out.c
@@ -26,7 +26,7 @@
* (c) 2001 James Courtier-Dutton <James@superbug.demon.co.uk>
*
*
- * $Id: audio_alsa_out.c,v 1.55 2002/06/03 23:12:44 tmattern Exp $
+ * $Id: audio_alsa_out.c,v 1.56 2002/06/12 12:22:26 f1rmb Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -105,7 +105,6 @@ typedef struct alsa_driver_s {
long left_vol;
long right_vol;
int mute;
- int remember_volume;
} mixer;
} alsa_driver_t;
@@ -187,7 +186,7 @@ static int ao_alsa_open(ao_driver_t *this_gen, uint32_t bits, uint32_t rate, int
pcm_device = config->register_string(config,
"audio.alsa_default_device",
"default",
- "device used for mono output",
+ _("device used for mono output"),
NULL,
NULL,
NULL);
@@ -197,7 +196,7 @@ static int ao_alsa_open(ao_driver_t *this_gen, uint32_t bits, uint32_t rate, int
pcm_device = config->register_string(config,
"audio.alsa_front_device",
"default",
- "device used for stereo output",
+ _("device used for stereo output"),
NULL,
NULL,
NULL);
@@ -207,7 +206,7 @@ static int ao_alsa_open(ao_driver_t *this_gen, uint32_t bits, uint32_t rate, int
pcm_device = config->register_string(config,
"audio.alsa_surround40_device",
"surround40",
- "device used for 4-channel output",
+ _("device used for 4-channel output"),
NULL,
NULL,
NULL);
@@ -217,7 +216,7 @@ static int ao_alsa_open(ao_driver_t *this_gen, uint32_t bits, uint32_t rate, int
pcm_device = config->register_string(config,
"audio.alsa_surround50_device",
"surround51",
- "device used for 5-channel output",
+ _("device used for 5-channel output"),
NULL,
NULL,
NULL);
@@ -227,7 +226,7 @@ static int ao_alsa_open(ao_driver_t *this_gen, uint32_t bits, uint32_t rate, int
pcm_device = config->register_string(config,
"audio.alsa_surround51_device",
"surround51",
- "device used for 5.1-channel output",
+ _("device used for 5.1-channel output"),
NULL,
NULL,
NULL);
@@ -238,7 +237,7 @@ static int ao_alsa_open(ao_driver_t *this_gen, uint32_t bits, uint32_t rate, int
pcm_device = config->register_string(config,
"audio.alsa_a52_device",
"iec958:AES0=0x6,AES1=0x82,AES2=0x0,AES3=0x2",
- "device used for 5.1-channel output",
+ _("device used for 5.1-channel output"),
NULL,
NULL,
NULL);
@@ -709,7 +708,7 @@ static void ao_alsa_mixer_init(ao_driver_t *this_gen) {
pcm_device = config->register_string(config,
"audio.alsa_default_device",
"default",
- "device used for mono output",
+ _("device used for mono output"),
NULL,
NULL,
NULL);
@@ -843,7 +842,7 @@ static void ao_alsa_mixer_init(ao_driver_t *this_gen) {
this->mixer.name = config->register_string(config,
"audio.alsa_mixer_name",
"PCM",
- "alsa mixer device",
+ _("alsa mixer device"),
NULL,
NULL,
NULL);
@@ -891,42 +890,42 @@ ao_driver_t *init_audio_out_plugin (config_values_t *config) {
pcm_device = config->register_string(config,
"audio.alsa_default_device",
"default",
- "device used for mono output",
+ _("device used for mono output"),
NULL,
NULL,
NULL);
pcm_device = config->register_string(config,
"audio.alsa_front_device",
"default",
- "device used for stereo output",
+ _("device used for stereo output"),
NULL,
NULL,
NULL);
pcm_device = config->register_string(config,
"audio.alsa_surround40_device",
"surround40",
- "device used for 4-channel output",
+ _("device used for 4-channel output"),
NULL,
NULL,
NULL);
pcm_device = config->register_string(config,
"audio.alsa_surround50_device",
"surround51",
- "device used for 5-channel output",
+ _("device used for 5-channel output"),
NULL,
NULL,
NULL);
pcm_device = config->register_string(config,
"audio.alsa_surround51_device",
"surround51",
- "device used for 5.1-channel output",
+ _("device used for 5.1-channel output"),
NULL,
NULL,
NULL);
pcm_device = config->register_string(config,
"audio.alsa_a52_device",
"iec958:AES0=0x6,AES1=0x82,AES2=0x0,AES3=0x2",
- "device used for 5.1-channel output",
+ _("device used for 5.1-channel output"),
NULL,
NULL,
NULL);
@@ -935,7 +934,7 @@ ao_driver_t *init_audio_out_plugin (config_values_t *config) {
pcm_device = config->register_string(config,
"audio.alsa_default_device",
"default",
- "device used for mono output",
+ _("device used for mono output"),
NULL,
NULL,
NULL);
@@ -982,7 +981,7 @@ ao_driver_t *init_audio_out_plugin (config_values_t *config) {
config->register_bool (config,
"audio.four_channel",
0,
- "used to inform xine about what the sound card can do",
+ _("used to inform xine about what the sound card can do"),
NULL,
NULL,
NULL) ) {
@@ -995,7 +994,7 @@ ao_driver_t *init_audio_out_plugin (config_values_t *config) {
config->register_bool (config,
"audio.five_channel",
0,
- "used to inform xine about what the sound card can do",
+ _("used to inform xine about what the sound card can do"),
NULL,
NULL,
NULL) ) {
@@ -1008,7 +1007,7 @@ ao_driver_t *init_audio_out_plugin (config_values_t *config) {
config->register_bool (config,
"audio.five_lfe_channel",
0,
- "used to inform xine about what the sound card can do",
+ _("used to inform xine about what the sound card can do"),
NULL,
NULL,
NULL) ) {
@@ -1026,7 +1025,7 @@ ao_driver_t *init_audio_out_plugin (config_values_t *config) {
if (config->register_bool (config,
"audio.a52_pass_through",
0,
- "used to inform xine about what the sound card can do",
+ _("used to inform xine about what the sound card can do"),
NULL,
NULL,
NULL) ) {
@@ -1045,7 +1044,7 @@ ao_driver_t *init_audio_out_plugin (config_values_t *config) {
this->mixer.name = config->register_string(config,
"audio.alsa_mixer_name",
"PCM",
- "alsa mixer device",
+ _("alsa mixer device"),
NULL,
NULL,
NULL);
@@ -1072,11 +1071,13 @@ ao_driver_t *init_audio_out_plugin (config_values_t *config) {
static ao_info_t ao_info_alsa9 = {
AO_OUT_ALSA_IFACE_VERSION,
"alsa09",
- "xine audio output plugin using alsa-compliant audio devices/drivers",
+ NULL,
11
};
ao_info_t *get_audio_out_plugin_info() {
+
+ ao_info_alsa9.description = _("xine audio output plugin using alsa-compliant audio devices/drivers");
return &ao_info_alsa9;
}
diff --git a/src/audio_out/audio_arts_out.c b/src/audio_out/audio_arts_out.c
index 4ea0ae27e..4d0530fbd 100644
--- a/src/audio_out/audio_arts_out.c
+++ b/src/audio_out/audio_arts_out.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: audio_arts_out.c,v 1.12 2002/05/27 11:43:22 miguelfreitas Exp $
+ * $Id: audio_arts_out.c,v 1.13 2002/06/12 12:22:26 f1rmb Exp $
*/
/* required for swab() */
@@ -351,11 +351,12 @@ ao_driver_t *init_audio_out_plugin (config_values_t *config) {
static ao_info_t ao_info_arts = {
AO_OUT_ARTS_IFACE_VERSION,
"arts",
- "xine audio output plugin using arts-compliant audio devices/drivers",
+ NULL,
5
};
ao_info_t *get_audio_out_plugin_info() {
+ ao_info_arts.description = _("xine audio output plugin using arts-compliant audio devices/drivers");
return &ao_info_arts;
}
diff --git a/src/audio_out/audio_esd_out.c b/src/audio_out/audio_esd_out.c
index a04e3525a..3ac872a69 100644
--- a/src/audio_out/audio_esd_out.c
+++ b/src/audio_out/audio_esd_out.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: audio_esd_out.c,v 1.18 2002/03/11 19:58:00 jkeil Exp $
+ * $Id: audio_esd_out.c,v 1.19 2002/06/12 12:22:26 f1rmb Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -411,7 +411,7 @@ ao_driver_t *init_audio_out_plugin (config_values_t *config) {
this->capabilities = AO_CAP_MODE_MONO | AO_CAP_MODE_STEREO | AO_CAP_MIXER_VOL | AO_CAP_MUTE_VOL;
this->latency = config->register_range (config, "audio.esd_latency", 30000,
-30000, 90000,
- "esd audio output latency (adjust a/v sync)",
+ _("esd audio output latency (adjust a/v sync)"),
NULL, NULL, NULL);
this->ao_driver.get_capabilities = ao_esd_get_capabilities;
@@ -433,11 +433,12 @@ ao_driver_t *init_audio_out_plugin (config_values_t *config) {
static ao_info_t ao_info_esd = {
AO_OUT_ESD_IFACE_VERSION,
"esd",
- "xine audio output plugin using esd",
+ NULL,
5
};
ao_info_t *get_audio_out_plugin_info() {
+ ao_info_esd.description = _("xine audio output plugin using esd");
return &ao_info_esd;
}
diff --git a/src/audio_out/audio_irixal_out.c b/src/audio_out/audio_irixal_out.c
index 04ba8ecc8..a116033d2 100644
--- a/src/audio_out/audio_irixal_out.c
+++ b/src/audio_out/audio_irixal_out.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: audio_irixal_out.c,v 1.6 2002/03/11 19:58:00 jkeil Exp $
+ * $Id: audio_irixal_out.c,v 1.7 2002/06/12 12:22:27 f1rmb Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -379,7 +379,7 @@ ao_driver_t *init_audio_out_plugin (config_values_t *config)
/* TODO: anything can change during runtime... move check to the right location */
this->gap_tolerance = config->register_range (config, "audio.irixal_gap_tolerance",
DEFAULT_GAP_TOLERANCE, 0, 90000,
- "irixal audio output maximum gap length in 1/90000s",
+ _("irixal audio output maximum gap length in 1/90000s"),
NULL, NULL, NULL);
this->ao_driver.get_capabilities = ao_irixal_get_capabilities;
@@ -402,12 +402,13 @@ static ao_info_t ao_info_irixal =
{
AO_IRIXAL_IFACE_VERSION,
"irixal",
- "xine audio output plugin using IRIX libaudio",
+ NULL,
10
};
ao_info_t *get_audio_out_plugin_info()
{
+ ao_info_irixal.description = _("xine audio output plugin using IRIX libaudio");
return &ao_info_irixal;
}
diff --git a/src/audio_out/audio_oss_out.c b/src/audio_out/audio_oss_out.c
index 19cbdbfa5..ff5a5fc1e 100644
--- a/src/audio_out/audio_oss_out.c
+++ b/src/audio_out/audio_oss_out.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: audio_oss_out.c,v 1.67 2002/06/03 23:12:44 tmattern Exp $
+ * $Id: audio_oss_out.c,v 1.68 2002/06/12 12:22:27 f1rmb Exp $
*
* 20-8-2001 First implementation of Audio sync and Audio driver separation.
* Copyright (C) 2001 James Courtier-Dutton James@superbug.demon.co.uk
@@ -633,7 +633,7 @@ ao_driver_t *init_audio_out_plugin (config_values_t *config) {
best_rate = 0;
devnum = config->register_num (config, "audio.oss_device_num", -1,
- "/dev/dsp# device to use for oss output, -1 => auto_detect",
+ _("/dev/dsp# device to use for oss output, -1 => auto_detect"),
NULL, NULL, NULL);
if (devnum >= 0) {
@@ -701,7 +701,7 @@ ao_driver_t *init_audio_out_plugin (config_values_t *config) {
this->sync_method = config->register_enum (config, "audio.oss_sync_method", OSS_SYNC_AUTO_DETECT,
sync_methods,
- "A/V sync method to use by OSS, depends on driver/hardware",
+ _("A/V sync method to use by OSS, depends on driver/hardware"),
NULL, NULL, NULL);
if (this->sync_method == OSS_SYNC_AUTO_DETECT) {
@@ -768,8 +768,8 @@ ao_driver_t *init_audio_out_plugin (config_values_t *config) {
this->latency = config->register_range (config, "audio.oss_latency", 0,
-3000, 3000,
- "Adjust a/v sync for OSS softsync",
- "Use this to manually adjust a/v sync if you're using softsync",
+ _("Adjust a/v sync for OSS softsync"),
+ _("Use this to manually adjust a/v sync if you're using softsync"),
NULL, NULL);
this->capabilities = 0;
@@ -791,7 +791,7 @@ ao_driver_t *init_audio_out_plugin (config_values_t *config) {
status = ioctl(audio_fd, SNDCTL_DSP_CHANNELS, &num_channels);
if ( (status != -1) && (num_channels==4) ) {
if (config->register_bool (config, "audio.four_channel", 0,
- "Enable 4.0 channel analog surround output",
+ _("Enable 4.0 channel analog surround output"),
NULL, NULL, NULL)) {
this->capabilities |= AO_CAP_MODE_4CHANNEL;
printf ("4-channel ");
@@ -802,7 +802,7 @@ ao_driver_t *init_audio_out_plugin (config_values_t *config) {
status = ioctl(audio_fd, SNDCTL_DSP_CHANNELS, &num_channels);
if ( (status != -1) && (num_channels==5) ) {
if (config->register_bool (config, "audio.five_channel", 0,
- "Enable 5.0 channel analog surround output",
+ _("Enable 5.0 channel analog surround output"),
NULL, NULL, NULL)) {
this->capabilities |= AO_CAP_MODE_5CHANNEL;
printf ("5-channel ");
@@ -813,7 +813,7 @@ ao_driver_t *init_audio_out_plugin (config_values_t *config) {
status = ioctl(audio_fd, SNDCTL_DSP_CHANNELS, &num_channels);
if ( (status != -1) && (num_channels==6) ) {
if (config->register_bool (config, "audio.five_lfe_channel", 0,
- "Enable 5.1 channel analog surround output",
+ _("Enable 5.1 channel analog surround output"),
NULL, NULL, NULL)) {
this->capabilities |= AO_CAP_MODE_5_1CHANNEL;
printf ("5.1-channel ");
@@ -824,7 +824,7 @@ ao_driver_t *init_audio_out_plugin (config_values_t *config) {
ioctl(audio_fd,SNDCTL_DSP_GETFMTS,&caps);
if (caps & AFMT_AC3) {
if (config->register_bool (config, "audio.a52_pass_through", 0,
- "Enable A52 / AC5 digital audio output via spdif",
+ _("Enable A52 / AC5 digital audio output via spdif"),
NULL, NULL, NULL)) {
this->capabilities |= AO_CAP_MODE_A52;
this->capabilities |= AO_CAP_MODE_AC5;
@@ -840,7 +840,7 @@ ao_driver_t *init_audio_out_plugin (config_values_t *config) {
*/
this->mixer.name = config->register_string(config, "audio.mixer_name", "/dev/mixer",
- "oss mixer device", NULL, NULL, NULL);
+ _("oss mixer device"), NULL, NULL, NULL);
{
int mixer_fd;
int audio_devs;
@@ -907,11 +907,11 @@ ao_driver_t *init_audio_out_plugin (config_values_t *config) {
static ao_info_t ao_info_oss = {
AO_OUT_OSS_IFACE_VERSION,
"oss",
- "xine audio output plugin using oss-compliant audio devices/drivers",
+ NULL,
10
};
ao_info_t *get_audio_out_plugin_info() {
+ ao_info_oss.description = _("xine audio output plugin using oss-compliant audio devices/drivers");
return &ao_info_oss;
}
-
diff --git a/src/audio_out/audio_sun_out.c b/src/audio_out/audio_sun_out.c
index 1f3c735da..944b91b60 100644
--- a/src/audio_out/audio_sun_out.c
+++ b/src/audio_out/audio_sun_out.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: audio_sun_out.c,v 1.19 2002/04/06 14:19:12 miguelfreitas Exp $
+ * $Id: audio_sun_out.c,v 1.20 2002/06/12 12:22:28 f1rmb Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -661,7 +661,7 @@ ao_driver_t *init_audio_out_plugin (config_values_t *config) {
devname = config->register_string(config,
"audio.sun_audio_device",
"/dev/audio",
- "device used for audio output with the 'Sun' audio plugin",
+ _("device used for audio output with the 'Sun' audio plugin"),
NULL,
NULL,
NULL);
@@ -740,11 +740,12 @@ ao_driver_t *init_audio_out_plugin (config_values_t *config) {
static ao_info_t ao_info_sun = {
AO_SUN_IFACE_VERSION,
"sun",
- "xine audio output plugin using sun-compliant audio devices/drivers",
+ NULL,
10
};
ao_info_t *get_audio_out_plugin_info() {
+ ao_info_sun.description = _("xine audio output plugin using sun-compliant audio devices/drivers");
return &ao_info_sun;
}