diff options
author | Guenter Bartsch <guenter@users.sourceforge.net> | 2001-11-18 03:53:23 +0000 |
---|---|---|
committer | Guenter Bartsch <guenter@users.sourceforge.net> | 2001-11-18 03:53:23 +0000 |
commit | 4c71c84391e9a607394b7f7a23877ba15dffbf67 (patch) | |
tree | 53bf6a2b06b97cde43a11cafda54942a3a9bea45 /src/audio_out/audio_esd_out.c | |
parent | 4b36ff207a52ea90bfd9b8c34c97f14963f0960d (diff) | |
download | xine-lib-4c71c84391e9a607394b7f7a23877ba15dffbf67.tar.gz xine-lib-4c71c84391e9a607394b7f7a23877ba15dffbf67.tar.bz2 |
new configfile interface, code cleanup, xprintf is gone
CVS patchset: 1064
CVS date: 2001/11/18 03:53:23
Diffstat (limited to 'src/audio_out/audio_esd_out.c')
-rw-r--r-- | src/audio_out/audio_esd_out.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/audio_out/audio_esd_out.c b/src/audio_out/audio_esd_out.c index 8a20bdad8..353302d69 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.13 2001/11/17 14:26:37 f1rmb Exp $ + * $Id: audio_esd_out.c,v 1.14 2001/11/18 03:53:23 guenter Exp $ */ #ifdef HAVE_CONFIG_H @@ -293,7 +293,10 @@ ao_driver_t *init_audio_out_plugin (config_values_t *config) { this->output_sample_rate = 0; this->audio_fd = -1; this->capabilities = AO_CAP_MODE_MONO | AO_CAP_MODE_STEREO; - this->latency = config->lookup_int (config, "esd_latency", 30000); + this->latency = config->register_range (config, "audio.esd_latency", 30000, + -30000, 90000, + "esd audio output latency (adjust a/v sync)", + NULL, NULL, NULL); this->ao_driver.get_capabilities = ao_esd_get_capabilities; this->ao_driver.get_property = ao_esd_get_property; |