# HG changeset patch # User Matti Hamalainen # Date 1352157231 -7200 # Node ID cf644ac89b5406038d1159f3ca5e81cb3fd7fb1b # Parent 19e2745f75d85bd0a016eb1b4720d8d4fbbc962e Cosmetics. diff -r 19e2745f75d8 -r cf644ac89b54 src/xmms-sid.c --- 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; } }