changeset 2553:b119d6f2e6c8

Cosmetics.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 08 May 2008 22:05:21 +0300
parents 7d7f7d9ae98e
children 8d09a4d017ea
files src/sndfile/plugin.c
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/sndfile/plugin.c	Thu May 08 22:01:01 2008 +0300
+++ b/src/sndfile/plugin.c	Thu May 08 22:05:21 2008 +0300
@@ -226,8 +226,9 @@
             format = "Core Audio File";
             break;
         default:
-            format = "unknown sndfile";
+            format = "Unknown sndfile";
     }
+    
     switch (tmp_sfinfo.format & SF_FORMAT_SUBMASK)
     {
         case SF_FORMAT_PCM_S8:
@@ -319,7 +320,7 @@
         codec = g_strdup_printf("%s", format);
     aud_tuple_associate_string(ti, FIELD_CODEC, NULL, codec);
     g_free(codec);
-
+    
     aud_tuple_associate_string(ti, FIELD_QUALITY, NULL, lossy ? "lossy" : "lossless");
 }
 
@@ -352,9 +353,8 @@
     /* Have to open the file to see if libsndfile can handle it. */
     tmp_sndfile = open_sndfile_from_uri(filename, vfsfile, &tmp_sfinfo);
 
-    if (!tmp_sndfile) {
+    if (!tmp_sndfile)
         return FALSE;
-    }
 
     /* It can so close file and return TRUE. */
     close_sndfile (tmp_sndfile, vfsfile);
@@ -502,7 +502,7 @@
 static void
 file_mseek (InputPlayback *playback, gulong millisecond)
 {
-    if (! sfinfo.seekable)
+    if (!sfinfo.seekable)
         return;
 
     seek_time = (glong)millisecond;