changeset 767:cf644ac89b54

Cosmetics.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 06 Nov 2012 01:13:51 +0200
parents 19e2745f75d8
children f145ba458acd
files src/xmms-sid.c
diffstat 1 files changed, 7 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/xmms-sid.c	Mon Nov 05 22:44:29 2012 +0200
+++ b/src/xmms-sid.c	Tue Nov 06 01:13:51 2012 +0200
@@ -368,7 +368,8 @@
         /*
          * Play the subtune
          */
-        while (xs_status.isPlaying && myStatus.isPlaying && (xs_status.currSong == myStatus.currSong)) {
+        while (xs_status.isPlaying && myStatus.isPlaying && (xs_status.currSong == myStatus.currSong))
+        {
             audioGot = myStatus.engine->plrFillBuffer(
                 &myStatus, audioBuffer, XS_AUDIOBUF_SIZE);
 
@@ -385,23 +386,23 @@
                 xmms_usleep(500);
 
             /* Output audio */
-            if (xs_status.isPlaying && (xs_status.currSong == myStatus.currSong))
+            if (xs_status.isPlaying && xs_status.currSong == myStatus.currSong)
                 xs_plugin_ip.output->write_audio(audioBuffer, audioGot);
 
             /* Check if we have played enough */
             if (xs_cfg.playMaxTimeEnable) {
                 if (xs_cfg.playMaxTimeUnknown) {
-                    if ((songLength < 0) &&
-                        (xs_plugin_ip.output->output_time() >= (xs_cfg.playMaxTime * 1000)))
+                    if (songLength < 0 &&
+                        xs_plugin_ip.output->output_time() >= xs_cfg.playMaxTime * 1000)
                         myStatus.isPlaying = FALSE;
                 } else {
-                    if (xs_plugin_ip.output->output_time() >= (xs_cfg.playMaxTime * 1000))
+                    if (xs_plugin_ip.output->output_time() >= xs_cfg.playMaxTime * 1000)
                         myStatus.isPlaying = FALSE;
                 }
             }
 
             if (songLength >= 0) {
-                if (xs_plugin_ip.output->output_time() >= (songLength * 1000))
+                if (xs_plugin_ip.output->output_time() >= songLength * 1000)
                     myStatus.isPlaying = FALSE;
             }
         }