summaryrefslogtreecommitdiffstats
path: root/khotkeys/arts/soundrecorder_arts.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'khotkeys/arts/soundrecorder_arts.cpp')
-rw-r--r--khotkeys/arts/soundrecorder_arts.cpp40
1 files changed, 20 insertions, 20 deletions
diff --git a/khotkeys/arts/soundrecorder_arts.cpp b/khotkeys/arts/soundrecorder_arts.cpp
index db3ea77d8..2b1563787 100644
--- a/khotkeys/arts/soundrecorder_arts.cpp
+++ b/khotkeys/arts/soundrecorder_arts.cpp
@@ -1,22 +1,22 @@
-/***************************************************************************
- * Copyright (C) 2005 by Olivier Goffart *
- * *
- * 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, write to the *
- * Free Software Foundation, Inc., *
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
- ***************************************************************************/
+/*
+ Copyright (C) 2005 by Olivier Goffart
+
+ 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 Library General Public License
+ along with this library; see the file COPYING.LIB. If not, write to
+ the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ Boston, MA 02110-1301, USA.
+*/
#ifdef HAVE_CONFIG_H
#include <config.h>
@@ -104,7 +104,7 @@ Sound SoundRecorderArts::sound()
int nb=(unsigned char)(m_data[f]) -128;
#elif BITS==16
int nb=(m_data[2*f] &0x000000FF ) | ( (m_data[2*f+1] &0x000000FF ) << 8 ) ;
- if(nb & (1<< 15))
+ if(nb & (1<< 15))
nb = nb-(1<<16);
#else
#error BITS is not 16 or 8