Whitespace cleanup
authorSteve Youngs <steve@sxemacs.org>
Mon, 21 Jan 2013 01:52:24 +0000 (11:52 +1000)
committerSteve Youngs <steve@sxemacs.org>
Mon, 21 Jan 2013 01:52:24 +0000 (11:52 +1000)
Signed-off-by: Steve Youngs <steve@sxemacs.org>
src/media/media-sox.c
src/media/sound-jack.c
src/media/sound.c

index 6ad10b3..9904777 100644 (file)
@@ -230,7 +230,7 @@ media_sox_read(media_substream *mss, void *outbuf, size_t length)
        bptr = (sxe_sox_sample_t*)outbuf;
        samples = sxe_sox_read(ft, bptr, mtap->channels*length);
 
-       SOX_DEBUG_S("SoX handle: 0x%lx read %zd samples\n", 
+       SOX_DEBUG_S("SoX handle: 0x%lx read %zd samples\n",
                     (unsigned long int)ft, samples);
 
        if (samples < 0)
@@ -258,7 +258,7 @@ media_sox_rewind(media_substream *mss)
                return;
 
        /* fetch the SNDFILE context and our audio props */
-       if (!(ft = media_stream_data(ms))) 
+       if (!(ft = media_stream_data(ms)))
                return;
 
        SOX_DEBUG_S("rewind stream 0x%lx\n", (unsigned long int)ft);
@@ -269,8 +269,8 @@ media_sox_rewind(media_substream *mss)
 #ifdef SXE_SOX_CAN_SEEK
         if( sxe_sox_seek(ft, 0, SOX_SEEK_SET) == 0 ) {
                return;
-       } 
-       SOX_DEBUG_S("rewind stream 0x%lx failed, trying reopen\n", 
+       }
+       SOX_DEBUG_S("rewind stream 0x%lx failed, trying reopen\n",
                    (unsigned long int)ft);
 #endif
        sxe_sox_close(ft);
@@ -279,7 +279,7 @@ media_sox_rewind(media_substream *mss)
                mkind_file_properties *mkfp = NULL;
                const char *file = NULL;
                int file_len __attribute__((unused)) = 0;
-               
+
                /* open the file */
                mkfp = media_stream_kind_properties(ms).fprops;
                TO_EXTERNAL_FORMAT(LISP_STRING, mkfp->filename,
index 795f038..9fd116a 100644 (file)
@@ -293,8 +293,8 @@ sound_jack_play(audio_job_t aj)
        }
 
        JACK_DEBUG("SEMAPHORE WAIT: 0x%x@0x%x@0x%x\n",
-                  (unsigned int)&(sjsd->sem), 
-                  (unsigned int)sjsd, 
+                  (unsigned int)&(sjsd->sem),
+                  (unsigned int)sjsd,
                   (unsigned int)aj);
        SXE_SEMAPH_SYNCH(&(sjsd->sem));
         code = 0;
index 0b1fdea..929343a 100644 (file)
@@ -419,7 +419,7 @@ make_audio_job(Lisp_Object stream, Lisp_Object device, Lisp_Object sentinel)
        aj->buffer = NULL;
        aj->buffer_alloc_size = 0;
 
-       SOUND_DEBUG_AJ("created: 0x%lx stream 0x%lx device 0x%lx sentinel 0x%lx\n", 
+       SOUND_DEBUG_AJ("created: 0x%lx stream 0x%lx device 0x%lx sentinel 0x%lx\n",
                       (long unsigned int)aj, (long unsigned int)stream,
                        (long unsigned int)device, (long unsigned int) sentinel);
        return aj;