]> git.sesse.net Git - vlc/blobdiff - modules/access/cdda/cdda.c
Long device text no longer used.
[vlc] / modules / access / cdda / cdda.c
index ba200f843bab49d028b19e999b6028fc54cc9b1e..2fdf3f1c657c11bac0ce8b63bc9c42e88921b145 100644 (file)
@@ -2,7 +2,7 @@
  * cddax.c : CD digital audio input module for vlc using libcdio
  *****************************************************************************
  * Copyright (C) 2000,2003 VideoLAN
- * $Id: cdda.c,v 1.8 2003/12/02 03:33:22 rocky Exp $
+ * $Id: cdda.c,v 1.12 2003/12/11 13:20:20 rocky Exp $
  *
  * Authors: Rocky Bernstein <rocky@panix.com> 
  *          Laurent Aimar <fenrir@via.ecp.fr>
@@ -69,12 +69,8 @@ int  E_(CDDBEnabledCB)( vlc_object_t *p_this, const char *psz_name,
     "libcdio   (80) 128\n" \
     "libcddb  (100) 256\n" )
 
-#define DEV_LONGTEXT N_( \
-    "Specify the name of the CD-ROM device that will be used by default. " \
-    "If you don't specify anything, we'll scan for a suitable CD-ROM device.")
-
 #define CACHING_LONGTEXT N_( \
-    "Allows you to modify the default caching value for cdda streams. This " \
+    "Allows you to modify the default caching value for CDDA streams. This " \
     "value should be set in millisecond units." )
 
 #define CDDB_TITLE_FMT_LONGTEXT N_( \
@@ -129,10 +125,6 @@ vlc_module_begin();
                 N_("Caching value in ms"), 
                 CACHING_LONGTEXT, VLC_TRUE );
 
-    add_string( MODULE_STRING "-device", "", NULL, 
-               N_("CD-ROM device name"),
-                DEV_LONGTEXT, VLC_FALSE );
-
     add_string( MODULE_STRING "-title-format", 
                "%T %M", NULL, 
                N_("Format to use in playlist 'title' field when no CDDB"),
@@ -195,8 +187,4 @@ vlc_module_begin();
         set_callbacks( E_(DemuxOpen), E_(DemuxClose) );
         add_shortcut( "cdda" );
 
-    add_submodule();
-        set_capability( "interface", 0 );
-        set_callbacks( E_(OpenIntf), E_(CloseIntf) );
-
 vlc_module_end();