]> git.sesse.net Git - vlc/blobdiff - modules/access/cdda/cdda.c
Removes trailing spaces. Removes tabs.
[vlc] / modules / access / cdda / cdda.c
index c71f3b5bfbefb71ea75cddce15faa95f9f3c8dac..933fa20affae338fdbf767cbb73cf15237dbd768 100644 (file)
@@ -38,9 +38,9 @@
  *****************************************************************************/
 
 #if LIBCDIO_VERSION_NUM >= 72
-static char *psz_paranoia_list[] = { "none", "overlap", "full" };
-static char *psz_paranoia_list_text[] = { N_("none"), N_("overlap"),
-                                         N_("full") };
+static const char *psz_paranoia_list[] = { "none", "overlap", "full" };
+static const char *psz_paranoia_list_text[] = { N_("none"), N_("overlap"),
+                                          N_("full") };
 #endif
 
 #define DEBUG_LONGTEXT N_( \
@@ -56,11 +56,11 @@ static char *psz_paranoia_list_text[] = { N_("none"), N_("overlap"),
     "libcddb  (0x100) 256\n" )
 
 #define CACHING_LONGTEXT N_( \
-    "Allows you to modify the default caching value for CDDA streams. This " \
+    "Caching value for CDDA streams. This " \
     "value should be set in millisecond units." )
 
 #define BLOCKS_PER_READ_LONGTEXT N_( \
-    "Allows you to specify how many CD blocks to get on a single CD read. " \
+    "How many CD blocks to get on a single CD read. " \
     "Generally on newer/faster CDs, this increases throughput at the " \
     "expense of a little more memory usage and initial delay. SCSI-MMC " \
     "limitations generally don't allow for more than 25 blocks per access.")
@@ -112,7 +112,7 @@ vlc_module_begin();
     add_usage_hint( N_("cddax://[device-or-file][@[T]track]") );
     set_description( _("Compact Disc Digital Audio (CD-DA) input") );
     set_capability( "access2", 10 /* compare with priority of cdda */ );
-    set_shortname( N_("Audio Compact Disc"));
+    set_shortname( _("Audio Compact Disc"));
     set_callbacks( CDDAOpen, CDDAClose );
     add_shortcut( "cddax" );
     add_shortcut( "cd" );
@@ -121,7 +121,7 @@ vlc_module_begin();
 
     /* Configuration options */
     add_integer ( MODULE_STRING "-debug", 0, CDDADebugCB,
-                  N_("If nonzero, this gives additional debug information."),
+                  N_("Additional debug"),
                   DEBUG_LONGTEXT, VLC_TRUE );
 
     add_integer( MODULE_STRING "-caching",
@@ -151,22 +151,22 @@ vlc_module_begin();
               N_("If set, get CD-Text information"),
               VLC_FALSE );
 
-    add_bool( MODULE_STRING "-navigation-mode", VLC_TRUE, 
+    add_bool( MODULE_STRING "-navigation-mode", VLC_TRUE,
 #if FIXED
-             CDDANavModeCB,
+          CDDANavModeCB,
 #else
-             NULL,
+          NULL,
 #endif
               N_("Use Navigation-style playback?"),
-              N_("If set, tracks are navigated via Navagation rather than "
-                "a playlist entries"),
+              N_("Tracks are navigated via Navagation rather than "
+         "a playlist entries"),
               VLC_FALSE );
 
 #if LIBCDIO_VERSION_NUM >= 72
       add_string( MODULE_STRING "-paranoia", NULL, NULL,
-               PARANOIA_TEXT,
-               PARANOIA_LONGTEXT,
-               VLC_FALSE );
+        PARANOIA_TEXT,
+        PARANOIA_LONGTEXT,
+        VLC_FALSE );
       change_string_list( psz_paranoia_list, psz_paranoia_list_text, 0 );
 #endif /* LIBCDIO_VERSION_NUM >= 72 */
 
@@ -178,7 +178,7 @@ vlc_module_begin();
                 CDDB_TITLE_FMT_LONGTEXT, VLC_TRUE );
 
     add_bool( MODULE_STRING "-cddb-enabled", VLC_TRUE, CDDBEnabledCB,
-              N_("Do CDDB lookups?"),
+              N_("CDDB lookups"),
               N_("If set, lookup CD-DA track information using the CDDB "
                  "protocol"),
               VLC_FALSE );
@@ -186,7 +186,7 @@ vlc_module_begin();
     add_string( MODULE_STRING "-cddb-server", "freedb.freedb.org", NULL,
                 N_("CDDB server"),
                 N_( "Contact this CDDB server look up CD-DA information"),
-               VLC_TRUE );
+        VLC_TRUE );
 
     add_integer( MODULE_STRING "-cddb-port", 8880, NULL,
                  N_("CDDB server port"),
@@ -196,7 +196,7 @@ vlc_module_begin();
     add_string( MODULE_STRING "-cddb-email", "me@home", NULL,
                 N_("email address reported to CDDB server"),
                 N_("email address reported to CDDB server"),
-               VLC_TRUE );
+        VLC_TRUE );
 
     add_bool( MODULE_STRING "-cddb-enable-cache", VLC_TRUE, NULL,
               N_("Cache CDDB lookups?"),
@@ -218,12 +218,12 @@ vlc_module_begin();
     add_string( MODULE_STRING "-cddb-cachedir", "~/.cddbslave", NULL,
                 N_("Directory to cache CDDB requests"),
                 N_("Directory to cache CDDB requests"),
-               VLC_TRUE );
+        VLC_TRUE );
 
     add_bool( MODULE_STRING "-cdtext-prefer", VLC_TRUE, CDTextPreferCB,
               N_("Prefer CD-Text info to CDDB info?"),
               N_("If set, CD-Text information will be preferred "
-                "to CDDB information when both are available"),
+         "to CDDB information when both are available"),
               VLC_FALSE );
 #endif /*HAVE_LIBCDDB*/