From 6fea34c676c217e1d2c2e5a4b4896fe2252a1ad1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Wed, 21 Sep 2011 10:14:00 +0000 Subject: fixed license boilerplate and UTF8 encoding svn path=/trunk/externals/zexy/; revision=15327 --- src/sfrecord.c | 41 ++++++++++++++++++++++------------------- 1 file changed, 22 insertions(+), 19 deletions(-) (limited to 'src/sfrecord.c') diff --git a/src/sfrecord.c b/src/sfrecord.c index dd3966d..c56adaf 100644 --- a/src/sfrecord.c +++ b/src/sfrecord.c @@ -1,30 +1,33 @@ -/****************************************************** +/* + * sfrecord: multichannel soundfile recorder (try [writesf~] instead) * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - * - ******************************************************/ + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see . + */ /* sfplay.c - Author: Winfried Ritsch - IEM Graz 10.Mai 99 - Modified: -sfrecord.c - hacked from sfplay ::: 2308:forum::für::umläute:1999 @ iem +sfrecord.c - hacked from sfplay ::: 2308:forum::für::umläute:1999 @ iem please mail problems and ideas for improvements to ritsch@iem.kug.ac.at zmoelnig@iem.kug.ac.at */ -/* TODO: deprecate this in favour of [sfplay~] */ +/* TODO: deprecate this in favour of [writesf~] */ /* #define DEBUG_ME for debugging messages */ @@ -136,7 +139,7 @@ static void sfrecord_open(t_sfrecord *x,t_symbol *filename,t_symbol *endian) x->swap = (endian->s_name[0] == 'b'); /* - * skip header after open;; sometimes we´ll have to write a header using the x->skip; so don´t delete it completely + * skip header after open;; sometimes weŽll have to write a header using the x->skip; so donŽt delete it completely */ /* x->skip = 1; */ @@ -176,7 +179,7 @@ static void sfrecord_close(t_sfrecord *x) return; } -/* for skipping header of soundfile Don´t use this for memory map */ +/* for skipping header of soundfile DonŽt use this for memory map */ static int sfrecord_skip(t_sfrecord *x) { @@ -220,7 +223,7 @@ static void sfrecord_float(t_sfrecord *x, t_floatarg f) else sfrecord_stop(x); } -/* say what state we´re in */ +/* say what state weŽre in */ static void sfrecord_bang(t_sfrecord* x) { if (x->state == SFRECORD_WRITE) state_out(x, 1); else state_out(x, 0); @@ -569,7 +572,7 @@ static void sfrecord_helper(void) "\nstop\t\t\t:: stop playing" "\nbang\t\t\t:: outputs the current state (1_recording, 0_not-recording)"); - post("\n\nyou can also start recording with a ´1´, and stop with a ´0´"); + post("\n\nyou can also start recording with a Ž1Ž, and stop with a Ž0Ž"); } -- cgit v1.2.1