diff options
author | Michael Roitzsch <mroi@users.sourceforge.net> | 2004-04-10 14:53:42 +0000 |
---|---|---|
committer | Michael Roitzsch <mroi@users.sourceforge.net> | 2004-04-10 14:53:42 +0000 |
commit | ff5c5208ea05402db639909336291ce940c13ec8 (patch) | |
tree | 37f5e9a40609eb58b363d48f81a7093879e39890 /src/audio_out/audio_directx_out.c | |
parent | 9801b78107b8e71c30a1033703490ecfd1379439 (diff) | |
download | xine-lib-ff5c5208ea05402db639909336291ce940c13ec8.tar.gz xine-lib-ff5c5208ea05402db639909336291ce940c13ec8.tar.bz2 |
improving config help strings
* for alsa: do not register config entries multiple times just to get the value,
use lookup_entry()
* for directx: get rid of unused device_name
* for OSS: remove mixer config, derive mixer name from device name
CVS patchset: 6379
CVS date: 2004/04/10 14:53:42
Diffstat (limited to 'src/audio_out/audio_directx_out.c')
-rwxr-xr-x | src/audio_out/audio_directx_out.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/src/audio_out/audio_directx_out.c b/src/audio_out/audio_directx_out.c index 73b7fb7c4..688f1628b 100755 --- a/src/audio_out/audio_directx_out.c +++ b/src/audio_out/audio_directx_out.c @@ -20,7 +20,7 @@ * audio_directx_out.c, direct sound audio output plugin for xine * by Matthew Grooms <elon@altavista.com> * - * $Id: audio_directx_out.c,v 1.10 2004/01/05 00:51:44 valtri Exp $ + * $Id: audio_directx_out.c,v 1.11 2004/04/10 14:53:43 mroi Exp $ */ /* @@ -58,7 +58,7 @@ typedef unsigned char boolean; /***************************************************************************** * DirectDraw GUIDs. - * Defining them here allows us to get rid of the dxguid library during
+ * Defining them here allows us to get rid of the dxguid library during * the linking stage. *****************************************************************************/ #if 1 @@ -109,7 +109,6 @@ typedef struct { typedef struct { audio_driver_class_t driver_class; config_values_t *config; - char *device_name; xine_t *xine; } audiox_class_t; @@ -840,15 +839,9 @@ static void dispose_class (audio_driver_class_t *this_gen) { static void *init_class (xine_t *xine, void *data) { audiox_class_t *audiox; - char* device_name; lprintf("init_class() Enter\n"); - device_name = xine->config->register_string(xine->config, - "audio.directx_device", "/dev/audio_directx", - _("xine audio output plugin for win32 using directx"), - NULL, 10, NULL, NULL); - /* * from this point on, nothing should go wrong anymore */ @@ -861,7 +854,6 @@ static void *init_class (xine_t *xine, void *data) { audiox->xine = xine; audiox->config = xine->config; - audiox->device_name = device_name; lprintf("init_class() Exit! Returning audiox=%08x\n", audiox); |