X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=check_wav.c;h=f0990bf8fcde6b99388f46319402c00bb5c1143c;hp=872a7d0a0854d27061777b99c15bc98d6884a80f;hb=8f69a1302a52163c61142531c4a6944510c3ec12;hpb=16af9d479765f9ea4b981533116d1d030285cd68 diff --git a/check_wav.c b/check_wav.c index 872a7d0a..f0990bf8 100644 --- a/check_wav.c +++ b/check_wav.c @@ -1,8 +1,4 @@ -/* - * Copyright (C) 2005-2013 Andre Noll - * - * Licensed under the GPL v2. For licencing details see COPYING. - */ +/* Copyright (C) 2005 Andre Noll , see file COPYING. */ /** \file check_wav.c Detect and delete a wav header. */ @@ -116,8 +112,8 @@ out: * This function looks at the first \p WAV_HEADER_SIZE bytes of the input queue * of the btrn of \a cwc. If they look like a wav header, the function extracts * the information of interest and swallows this part of the stream. Otherwise - * it is pushed down to all children of \a btrn. In either case the rest of the - * input is pushed down as well. + * it is pushed down to all children. In either case the rest of the input is + * pushed down as well. * * Once the first part has been processed this way, the state of the instance * changes from \p CWS_NEED_HEADER to \p CWS_HAVE_HEADER or \p CWS_NO_HEADER. @@ -177,7 +173,7 @@ int check_wav_post_select(struct check_wav_context *cwc) else cwc->sample_format = (a[3] == 'F')? SF_S16_LE : SF_S16_BE; - PARA_NOTICE_LOG("%dHz, %s, %s\n", cwc->sample_rate, + PARA_NOTICE_LOG("%uHz, %s, %s\n", cwc->sample_rate, cwc->channels == 1? "mono" : "stereo", sample_formats[cwc->sample_format]); btr_consume(btrn, WAV_HEADER_LEN);