From 92263dcf18f26777be043ec55dcea63f72defb83 Mon Sep 17 00:00:00 2001 From: xerus2000 <27jf@pm.me> Date: Thu, 13 Aug 2020 15:14:44 +0200 Subject: Remove long copyright headers --- src/control/controllogpotmeter.cpp | 17 ----------- src/control/controllogpotmeter.h | 17 ----------- src/control/controlobject.cpp | 17 ----------- src/control/controlobject.h | 17 ----------- src/control/controlpotmeter.cpp | 17 ----------- src/control/controlpotmeter.h | 17 ----------- src/control/controlpushbutton.cpp | 17 ----------- src/control/controlttrotary.cpp | 16 ---------- src/control/controlttrotary.h | 16 ---------- src/controllers/controllerenumerator.cpp | 10 ------- src/controllers/defs_controllers.h | 7 ----- src/controllers/softtakeover.cpp | 8 ----- src/controllers/softtakeover.h | 8 ----- src/defs_urls.h | 16 ---------- src/defs_version.h | 16 ---------- src/encoder/encoder.cpp | 9 +----- src/encoder/encoder.h | 8 +---- src/encoder/encoderffmpegcore.h | 10 +------ src/encoder/encoderffmpegmp3.cpp | 19 +----------- src/encoder/encoderffmpegmp3.h | 19 +----------- src/encoder/encoderffmpegvorbis.cpp | 19 +----------- src/encoder/encoderffmpegvorbis.h | 19 +----------- src/encoder/encodervorbis.cpp | 29 ++++++------------ src/encoder/encodervorbis.h | 9 +----- src/engine/channels/enginechannel.cpp | 17 ----------- src/engine/channels/enginechannel.h | 17 ----------- src/engine/enginebuffer.h | 17 ----------- src/engine/enginedelay.cpp | 16 ---------- src/engine/enginedelay.h | 16 ---------- src/engine/enginemaster.h | 17 ----------- src/engine/engineobject.cpp | 20 ------------- src/engine/engineobject.h | 17 ----------- src/engine/filters/enginefilter.cpp | 17 +---------- src/engine/filters/enginefilter.h | 19 +----------- src/engine/sidechain/enginerecord.cpp | 8 ----- src/engine/sidechain/enginerecord.h | 7 ----- src/engine/sidechain/enginesidechain.cpp | 16 ---------- src/engine/sidechain/enginesidechain.h | 16 ---------- src/engine/sync/enginesync.cpp | 19 ------------ src/engine/sync/enginesync.h | 18 ------------ src/errordialoghandler.cpp | 17 ----------- src/errordialoghandler.h | 17 ----------- src/library/scanner/libraryscannerdlg.cpp | 18 ------------ src/library/scanner/libraryscannerdlg.h | 18 ------------ src/library/stardelegate.cpp | 17 ----------- src/library/stardelegate.h | 17 ----------- src/library/stareditor.cpp | 42 +++++++-------------------- src/library/stareditor.h | 26 ----------------- src/main.cpp | 17 ----------- src/mixer/playerinfo.cpp | 17 +---------- src/mixer/playerinfo.h | 17 +---------- src/musicbrainz/gzip.cpp | 4 --- src/musicbrainz/gzip.h | 4 --- src/preferences/dialog/dlgprefeq.cpp | 17 ----------- src/preferences/dialog/dlgprefeq.h | 17 ----------- src/preferences/dialog/dlgpreferences.cpp | 18 ------------ src/preferences/dialog/dlgpreferences.h | 17 ----------- src/preferences/dialog/dlgprefinterface.h | 17 ----------- src/preferences/dialog/dlgprefkey.cpp | 17 ----------- src/preferences/dialog/dlgprefnovinyl.cpp | 18 ------------ src/preferences/dialog/dlgprefnovinyl.h | 17 ----------- src/preferences/dialog/dlgprefsound.cpp | 9 ------ src/preferences/dialog/dlgprefsound.h | 9 ------ src/preferences/dialog/dlgprefsounditem.cpp | 9 ------ src/preferences/dialog/dlgprefsounditem.h | 9 ------ src/preferences/dialog/dlgprefvinyl.cpp | 19 ------------ src/preferences/dialog/dlgprefvinyl.h | 17 ----------- src/preferences/upgrade.cpp | 17 ----------- src/preferences/upgrade.h | 17 ----------- src/skin/imgcolor.h | 17 ----------- src/skin/imginvert.h | 17 ----------- src/skin/imgloader.h | 17 ----------- src/skin/imgsource.h | 17 ----------- src/soundio/sounddevice.cpp | 17 ----------- src/soundio/sounddevice.h | 17 ----------- src/soundio/soundmanager.cpp | 9 ------ src/soundio/soundmanagerconfig.cpp | 9 ------ src/soundio/soundmanagerconfig.h | 9 ------ src/soundio/soundmanagerutil.cpp | 9 ------ src/util/alphabetafilter.h | 14 ++------- src/vinylcontrol/steadypitch.cpp | 17 ----------- src/vinylcontrol/vinylcontrolsignalwidget.cpp | 17 ----------- src/vinylcontrol/vinylcontrolxwax.cpp | 22 -------------- src/widget/wdisplay.cpp | 17 ----------- src/widget/wdisplay.h | 17 ----------- src/widget/wknob.cpp | 17 ----------- src/widget/wlabel.cpp | 17 ----------- src/widget/wlabel.h | 17 ----------- src/widget/wnumber.cpp | 17 ----------- src/widget/wnumber.h | 17 ----------- src/widget/wpixmapstore.h | 17 ----------- src/widget/wpushbutton.cpp | 17 ----------- src/widget/wpushbutton.h | 17 ----------- src/widget/wskincolor.h | 17 ----------- src/widget/wslidercomposed.cpp | 17 ----------- src/widget/wslidercomposed.h | 17 ----------- src/widget/wstatuslight.cpp | 18 ------------ src/widget/wstatuslight.h | 20 +------------ src/widget/wvumeter.cpp | 17 ----------- src/widget/wvumeter.h | 17 ----------- src/widget/wwidget.cpp | 17 ----------- src/widget/wwidget.h | 17 ----------- 102 files changed, 35 insertions(+), 1589 deletions(-) diff --git a/src/control/controllogpotmeter.cpp b/src/control/controllogpotmeter.cpp index c92b06152d..99784b7d1d 100644 --- a/src/control/controllogpotmeter.cpp +++ b/src/control/controllogpotmeter.cpp @@ -1,20 +1,3 @@ -/*************************************************************************** - controlpotmeter.cpp - description - ------------------- - begin : Wed Feb 20 2002 - copyright : (C) 2002 by Tue and Ken Haste Andersen - email : -***************************************************************************/ - -/*************************************************************************** -* * -* 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. * -* * -***************************************************************************/ - #include "control/controllogpotmeter.h" ControlLogpotmeter::ControlLogpotmeter(ConfigKey key, double dMaxValue, double minDB) diff --git a/src/control/controllogpotmeter.h b/src/control/controllogpotmeter.h index f53f2a1d5c..b7e551da4e 100644 --- a/src/control/controllogpotmeter.h +++ b/src/control/controllogpotmeter.h @@ -1,20 +1,3 @@ -/*************************************************************************** - controlpotmeter.h - description - ------------------- - begin : Wed Feb 20 2002 - copyright : (C) 2002 by Tue and Ken Haste Andersen - email : - ***************************************************************************/ - -/*************************************************************************** - * * - * 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. * - * * - ***************************************************************************/ - #pragma once #include "control/controlpotmeter.h" diff --git a/src/control/controlobject.cpp b/src/control/controlobject.cpp index 543046e576..500a938485 100644 --- a/src/control/controlobject.cpp +++ b/src/control/controlobject.cpp @@ -1,20 +1,3 @@ -/*************************************************************************** - controlobject.cpp - description - ------------------- - begin : Wed Feb 20 2002 - copyright : (C) 2002 by Tue and Ken Haste Andersen - email : -***************************************************************************/ - -/*************************************************************************** -* * -* 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. * -* * -***************************************************************************/ - #include #include #include diff --git a/src/control/controlobject.h b/src/control/controlobject.h index 22a6d49b93..79cccba3ef 100644 --- a/src/control/controlobject.h +++ b/src/control/controlobject.h @@ -1,20 +1,3 @@ -/*************************************************************************** - controlobject.h - description - ------------------- - begin : Wed Feb 20 2002 - copyright : (C) 2002 by Tue and Ken Haste Andersen - email : - ***************************************************************************/ - -/*************************************************************************** - * * - * 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. * - * * - ***************************************************************************/ - #pragma once #include diff --git a/src/control/controlpotmeter.cpp b/src/control/controlpotmeter.cpp index 9ac26c01e1..9d3948ed78 100644 --- a/src/control/controlpotmeter.cpp +++ b/src/control/controlpotmeter.cpp @@ -1,20 +1,3 @@ -/*************************************************************************** - controlpotmeter.cpp - description - ------------------- - begin : Wed Feb 20 2002 - copyright : (C) 2002 by Tue and Ken Haste Andersen - email : -***************************************************************************/ - -/*************************************************************************** -* * -* 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. * -* * -***************************************************************************/ - #include "control/controlpushbutton.h" #include "control/controlpotmeter.h" #include "control/controlproxy.h" diff --git a/src/control/controlpotmeter.h b/src/control/controlpotmeter.h index ab2e7b3540..acbefc7439 100644 --- a/src/control/controlpotmeter.h +++ b/src/control/controlpotmeter.h @@ -1,20 +1,3 @@ -/*************************************************************************** - controlpotmeter.h - description - ------------------- - begin : Wed Feb 20 2002 - copyright : (C) 2002 by Tue and Ken Haste Andersen - email : - ***************************************************************************/ - -/*************************************************************************** - * * - * 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. * - * * - ***************************************************************************/ - #pragma once #include "preferences/usersettings.h" diff --git a/src/control/controlpushbutton.cpp b/src/control/controlpushbutton.cpp index 6fe0486d56..119d20433d 100644 --- a/src/control/controlpushbutton.cpp +++ b/src/control/controlpushbutton.cpp @@ -1,20 +1,3 @@ -/*************************************************************************** - controlpushbutton.cpp - description - ------------------- - begin : Wed Feb 20 2002 - copyright : (C) 2002 by Tue and Ken Haste Andersen - email : -***************************************************************************/ - -/*************************************************************************** -* * -* 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. * -* * -***************************************************************************/ - #include "control/controlpushbutton.h" /* -------- ------------------------------------------------------ diff --git a/src/control/controlttrotary.cpp b/src/control/controlttrotary.cpp index 93b97bab6a..7da1c99b24 100644 --- a/src/control/controlttrotary.cpp +++ b/src/control/controlttrotary.cpp @@ -1,19 +1,3 @@ -/*************************************************************************** - controlttrotary.cpp - description - ------------------- - copyright : (C) 2002 by Tue and Ken Haste Andersen - email : -***************************************************************************/ - -/*************************************************************************** -* * -* 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. * -* * -***************************************************************************/ - #include "control/controlttrotary.h" /* -------- ------------------------------------------------------ diff --git a/src/control/controlttrotary.h b/src/control/controlttrotary.h index a9dc767967..af495cc239 100644 --- a/src/control/controlttrotary.h +++ b/src/control/controlttrotary.h @@ -1,19 +1,3 @@ -/*************************************************************************** - controlttrotary.h - description - ------------------- - copyright : (C) 2002 by Tue and Ken Haste Andersen - email : - ***************************************************************************/ - -/*************************************************************************** - * * - * 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. * - * * - ***************************************************************************/ - #pragma once #include "preferences/usersettings.h" diff --git a/src/controllers/controllerenumerator.cpp b/src/controllers/controllerenumerator.cpp index b0c4812620..f708546bd3 100644 --- a/src/controllers/controllerenumerator.cpp +++ b/src/controllers/controllerenumerator.cpp @@ -1,13 +1,3 @@ -/*************************************************************************** - ControllerEnumerator.cpp - Controller Enumerator Class - ---------------------------- - begin : Sat Apr 30 2011 - copyright : (C) 2011 Sean M. Pappalardo - email : spappalardo@mixxx.org - -***************************************************************************/ - #include "controllers/controllerenumerator.h" ControllerEnumerator::ControllerEnumerator() diff --git a/src/controllers/defs_controllers.h b/src/controllers/defs_controllers.h index 8b7dbc10e6..49e36a8823 100644 --- a/src/controllers/defs_controllers.h +++ b/src/controllers/defs_controllers.h @@ -1,10 +1,3 @@ -/*************************************************************************** - defs_controllers.h - ------------------ - copyright : (C) 2011 by Sean Pappalardo - email : spappalardo@mixxx.org - ***************************************************************************/ - #pragma once #include diff --git a/src/controllers/softtakeover.cpp b/src/controllers/softtakeover.cpp index f304f357e3..b76f6c2fd2 100644 --- a/src/controllers/softtakeover.cpp +++ b/src/controllers/softtakeover.cpp @@ -1,11 +1,3 @@ -/*************************************************************************** - softtakeover.cpp - description - ---------------- - begin : Sat Mar 26 2011 - copyright : (C) 2011 by Sean M. Pappalardo - email : spappalardo@mixxx.org - ***************************************************************************/ - #include "controllers/softtakeover.h" #include "control/controlpotmeter.h" #include "util/math.h" diff --git a/src/controllers/softtakeover.h b/src/controllers/softtakeover.h index dadc844f0f..ba439b82ad 100644 --- a/src/controllers/softtakeover.h +++ b/src/controllers/softtakeover.h @@ -1,11 +1,3 @@ -/*************************************************************************** - softtakeover.h - description - -------------- - begin : Thu Mar 17 2011 - copyright : (C) 2011 by Sean M. Pappalardo - email : spappalardo@mixxx.org - ***************************************************************************/ - #pragma once #include diff --git a/src/defs_urls.h b/src/defs_urls.h index c6e36c2945..4e96c42afe 100644 --- a/src/defs_urls.h +++ b/src/defs_urls.h @@ -1,19 +1,3 @@ -/*************************************************************************** - defs_urls.h - description - ------------------- - copyright : (C) 2008 by Albert santoni - email : - ***************************************************************************/ - -/*************************************************************************** - * * - * 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. * - * * - ***************************************************************************/ - #pragma once #define MIXXX_WEBSITE_URL "https://www.mixxx.org" diff --git a/src/defs_version.h b/src/defs_version.h index 4eff317cbf..73162f722f 100644 --- a/src/defs_version.h +++ b/src/defs_version.h @@ -1,19 +1,3 @@ -/*************************************************************************** - defs_version.h - description - -------------- - copyright : (C) 2010 by Sean Pappalardo - email : - ***************************************************************************/ - -/*************************************************************************** - * * - * 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. * - * * - ***************************************************************************/ - // Doing this in its own file avoids needlessly rebuilding everything when just // the version number changes // diff --git a/src/encoder/encoder.cpp b/src/encoder/encoder.cpp index 7bbef1c4c0..9a6c9b5c88 100644 --- a/src/encoder/encoder.cpp +++ b/src/encoder/encoder.cpp @@ -1,12 +1,5 @@ -/**************************************************************************** - encoder.cpp - encoder API for mixxx - ------------------- - copyright : (C) 2009 by Phillip Whelan - copyright : (C) 2010 by Tobias Rafreider - copyright : (C) 2017 by Josep Maria Antolín - ***************************************************************************/ - #include "encoder/encoder.h" + #include "preferences/usersettings.h" #include "recording/defs_recording.h" // TODO(XXX): __FFMPEGFILE_ENCODERS__ is currently undefined because diff --git a/src/encoder/encoder.h b/src/encoder/encoder.h index a802216dae..633cd774cb 100644 --- a/src/encoder/encoder.h +++ b/src/encoder/encoder.h @@ -1,10 +1,4 @@ -/**************************************************************************** - encoder.h - encoder API for mixxx - ------------------- - copyright : (C) 2009 by Phillip Whelan - copyright : (C) 2010 by Tobias Rafreider - copyright : (C) 2017 by Josep Maria Antolín - ***************************************************************************/ +// encoder API for mixxx #pragma once diff --git a/src/encoder/encoderffmpegcore.h b/src/encoder/encoderffmpegcore.h index a7bd294300..b8899c6b2b 100644 --- a/src/encoder/encoderffmpegcore.h +++ b/src/encoder/encoderffmpegcore.h @@ -1,12 +1,4 @@ -/*************************************************************************** - encoderffmpegcore.h - core code for ffmpeg encoders - ------------------- - copyright : (C) 2012-2013 by Tuukka Pasanen - (C) 2007 by Wesley Stessens - (C) 1994 by Xiph.org (encoder example) - (C) ???? Tobias Rafreider (broadcast and recording fixes) - ***************************************************************************/ - +// core code for ffmpeg encoders #pragma once #include diff --git a/src/encoder/encoderffmpegmp3.cpp b/src/encoder/encoderffmpegmp3.cpp index 51cf1d761e..410e52b88c 100644 --- a/src/encoder/encoderffmpegmp3.cpp +++ b/src/encoder/encoderffmpegmp3.cpp @@ -1,21 +1,4 @@ -/**************************************************************************** - encoderffmpegmp3.cpp - FFMPEG MP3 encoder for mixxx - ------------------- - copyright : (C) 2012-2013 by Tuukka Pasanen - (C) 2007 by Wesley Stessens - (C) 1994 by Xiph.org (encoder example) - (C) 1994 Tobias Rafreider (broadcast and recording fixes) - ***************************************************************************/ - -/*************************************************************************** - * * - * 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. * - * * - ***************************************************************************/ - +// FFMPEG MP3 encoder for mixxx #include "encoder/encoderffmpegmp3.h" // Constructor diff --git a/src/encoder/encoderffmpegmp3.h b/src/encoder/encoderffmpegmp3.h index 9e41fd7aec..b4e972bed6 100644 --- a/src/encoder/encoderffmpegmp3.h +++ b/src/encoder/encoderffmpegmp3.h @@ -1,21 +1,4 @@ -/**************************************************************************** - encoderffmpegmp3.cpp - FFMPEG MP3 encoder for mixxx - ------------------- - copyright : (C) 2012-2013 by Tuukka Pasanen - (C) 2007 by Wesley Stessens - (C) 1994 by Xiph.org (encoder example) - (C) 1994 Tobias Rafreider (broadcast and recording fixes) - ***************************************************************************/ - -/*************************************************************************** - * * - * 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. * - * * - ***************************************************************************/ - +// FFMPEG MP3 encoder for mixxx #pragma once #include "encoderffmpegcore.h" diff --git a/src/encoder/encoderffmpegvorbis.cpp b/src/encoder/encoderffmpegvorbis.cpp index 7c37c79610..3d8984019d 100644 --- a/src/encoder/encoderffmpegvorbis.cpp +++ b/src/encoder/encoderffmpegvorbis.cpp @@ -1,21 +1,4 @@ -/**************************************************************************** - encoderffmpegvorbis.cpp - FFMPEG OGG/Vorbis encoder for mixxx - ------------------- - copyright : (C) 2012-2013 by Tuukka Pasanen - (C) 2007 by Wesley Stessens - (C) 1994 by Xiph.org (encoder example) - (C) 1994 Tobias Rafreider (broadcast and recording fixes) - ***************************************************************************/ - -/*************************************************************************** - * * - * 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. * - * * - ***************************************************************************/ - +// FFMPEG OGG/Vorbis encoder for mixxx #include "encoder/encoderffmpegvorbis.h" // Constructor diff --git a/src/encoder/encoderffmpegvorbis.h b/src/encoder/encoderffmpegvorbis.h index 1bbac678c3..6af737a76b 100644 --- a/src/encoder/encoderffmpegvorbis.h +++ b/src/encoder/encoderffmpegvorbis.h @@ -1,21 +1,4 @@ -/**************************************************************************** - encoderffmpegvorbis.cpp - FFMPEG OGG/Vorbis encoder for mixxx - ------------------- - copyright : (C) 2012-2013 by Tuukka Pasanen - (C) 2007 by Wesley Stessens - (C) 1994 by Xiph.org (encoder example) - (C) 1994 Tobias Rafreider (broadcast and recording fixes) - ***************************************************************************/ - -/*************************************************************************** - * * - * 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. * - * * - ***************************************************************************/ - +// FFMPEG OGG/Vorbis encoder for mixxx #pragma once #include "encoderffmpegcore.h" diff --git a/src/encoder/encodervorbis.cpp b/src/encoder/encodervorbis.cpp index 3241fe29c5..ab356fe470 100644 --- a/src/encoder/encodervorbis.cpp +++ b/src/encoder/encodervorbis.cpp @@ -1,22 +1,12 @@ -/**************************************************************************** - encodervorbis.cpp - vorbis encoder for mixxx - ------------------- - copyright : (C) 2007 by Wesley Stessens - (C) 1994 by Xiph.org (encoder example) - (C) 1994 Tobias Rafreider (broadcast and recording fixes) - ***************************************************************************/ - -/* -Okay, so this is the vorbis encoder class... -It's a real mess right now. - -When I get around to cleaning things up, -I'll probably make an Encoder base class, -so we can easily add in an EncoderLame (or something) too. - -A lot of stuff has been stolen from: -http://svn.xiph.org/trunk/vorbis/examples/encoder_example.c -*/ +// vorbis encoder for mixxx +// It's a real mess right now. +// +// When I get around to cleaning things up, +// I'll probably make an Encoder base class, +// so we can easily add in an EncoderLame (or something) too. +// +// A lot of stuff has been stolen from: +// http://svn.xiph.org/trunk/vorbis/examples/encoder_example.c #include // needed for random num gen #include // needed for random num gen @@ -24,7 +14,6 @@ http://svn.xiph.org/trunk/vorbis/examples/encoder_example.c #include "encoder/encodervorbis.h" #include "encoder/encodercallback.h" -#include "errordialoghandler.h" // Automatic thresholds for switching the encoder to mono // They have been chosen by testing and to keep the same number diff --git a/src/encoder/encodervorbis.h b/src/encoder/encodervorbis.h index 83643cf33b..7c0789c352 100644 --- a/src/encoder/encodervorbis.h +++ b/src/encoder/encodervorbis.h @@ -1,11 +1,4 @@ -/*************************************************************************** - encodervorbis.h - vorbis encoder for mixxx - ------------------- - copyright : (C) 2007 by Wesley Stessens - (C) 1994 by Xiph.org (encoder example) - (C) 1994 Tobias Rafreider (broadcast and recording fixes) - ***************************************************************************/ - +// vorbis encoder for mixxx #pragma once // this also includes vorbis/codec.h diff --git a/src/engine/channels/enginechannel.cpp b/src/engine/channels/enginechannel.cpp index 9ecd33c9ce..64a7a30971 100644 --- a/src/engine/channels/enginechannel.cpp +++ b/src/engine/channels/enginechannel.cpp @@ -1,20 +1,3 @@ -/*************************************************************************** - enginechannel.cpp - description - ------------------- - begin : Sun Apr 28 2002 - copyright : (C) 2002 by - email : -***************************************************************************/ - -/*************************************************************************** -* * -* 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. * -* * -***************************************************************************/ - #include "engine/channels/enginechannel.h" #include "control/controlobject.h" diff --git a/src/engine/channels/enginechannel.h b/src/engine/channels/enginechannel.h index 1f8869f2c9..44faf50d53 100644 --- a/src/engine/channels/enginechannel.h +++ b/src/engine/channels/enginechannel.h @@ -1,20 +1,3 @@ -/*************************************************************************** - enginechannel.h - description - ------------------- - begin : Sun Apr 28 2002 - copyright : (C) 2002 by - email : - ***************************************************************************/ - -/*************************************************************************** - * * - * 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. * - * * - ***************************************************************************/ - #pragma once #include "control/controlproxy.h" diff --git a/src/engine/enginebuffer.h b/src/engine/enginebuffer.h index 35edddb7c4..98617965f1 100644 --- a/src/engine/enginebuffer.h +++ b/src/engine/enginebuffer.h @@ -1,20 +1,3 @@ -/*************************************************************************** - enginebuffer.h - description - ------------------- - begin : Wed Feb 20 2002 - copyright : (C) 2002 by Tue and Ken Haste Andersen - email : - ***************************************************************************/ - -/*************************************************************************** - * * - * 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. * - * * - ***************************************************************************/ - #pragma once #include diff --git a/src/engine/enginedelay.cpp b/src/engine/enginedelay.cpp index 1947dfc14d..8b0e6b64e3 100644 --- a/src/engine/enginedelay.cpp +++ b/src/engine/enginedelay.cpp @@ -1,19 +1,3 @@ -/*************************************************************************** - enginedelay.cpp - description - ------------------- - copyright : (C) 2002 by Tue and Ken Haste Andersen - email : -***************************************************************************/ - -/*************************************************************************** -* * -* 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. * -* * -***************************************************************************/ - #include "enginedelay.h" #include "control/controlproxy.h" diff --git a/src/engine/enginedelay.h b/src/engine/enginedelay.h index 7f579c8c59..4539308dd4 100644 --- a/src/engine/enginedelay.h +++ b/src/engine/enginedelay.h @@ -1,19 +1,3 @@ -/*************************************************************************** - enginedelay.h - description - ------------------- - copyright : (C) 2002 by Tue and Ken Haste Andersen - email : - ***************************************************************************/ - -/*************************************************************************** - * * - * 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. * - * * - ***************************************************************************/ - #pragma once #include "engine/engineobject.h" diff --git a/src/engine/enginemaster.h b/src/engine/enginemaster.h index 304c63730f..41e0422233 100644 --- a/src/engine/enginemaster.h +++ b/src/engine/enginemaster.h @@ -1,20 +1,3 @@ -/*************************************************************************** - enginemaster.h - description - ------------------- - begin : Sun Apr 28 2002 - copyright : (C) 2002 by - email : - ***************************************************************************/ - -/*************************************************************************** - * * - * 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. * - * * - ***************************************************************************/ - #pragma once #include diff --git a/src/engine/engineobject.cpp b/src/engine/engineobject.cpp index abdef17380..25f880f179 100644 --- a/src/engine/engineobject.cpp +++ b/src/engine/engineobject.cpp @@ -1,20 +1,3 @@ -/*************************************************************************** - engineobject.cpp - description - ------------------- - begin : Wed Feb 20 2002 - copyright : (C) 2002 by Tue and Ken Haste Andersen - email : -***************************************************************************/ - -/*************************************************************************** -* * -* 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. * -* * -***************************************************************************/ - #include "engineobject.h" EngineObject::EngineObject() { @@ -28,6 +11,3 @@ EngineObjectConstIn::EngineObjectConstIn() { EngineObjectConstIn::~EngineObjectConstIn() { } - - - diff --git a/src/engine/engineobject.h b/src/engine/engineobject.h index a80bc496cc..88de2c7e49 100644 --- a/src/engine/engineobject.h +++ b/src/engine/engineobject.h @@ -1,20 +1,3 @@ -/*************************************************************************** - engineobject.h - description - ------------------- - begin : Wed Feb 20 2002 - copyright : (C) 2002 by Tue and Ken Haste Andersen - email : - ***************************************************************************/ - -/*************************************************************************** - * * - * 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. * - * * - ***************************************************************************/ - #pragma once #include diff --git a/src/engine/filters/enginefilter.cpp b/src/engine/filters/enginefilter.cpp index 28ba93bc96..854a53fa10 100644 --- a/src/engine/filters/enginefilter.cpp +++ b/src/engine/filters/enginefilter.cpp @@ -1,19 +1,4 @@ -/*************************************************************************** - * enginefilter.cpp - Wrapper for FidLib Filter Library * - * ---------------------- * - * copyright : (C) 2007 by John Sully * - * email : jsully@scs.ryerson.ca * - * * - **************************************************************************/ - -/*************************************************************************** -* * -* 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. * -* * -***************************************************************************/ +// Wrapper for FidLib Filter Library #include "engine/filters/enginefilter.h" #include diff --git a/src/engine/filters/enginefilter.h b/src/engine/filters/enginefilter.h index 911ec3e293..0397d0ff4f 100644 --- a/src/engine/filters/enginefilter.h +++ b/src/engine/filters/enginefilter.h @@ -1,23 +1,6 @@ -/*************************************************************************** - * enginefilter.h - Wrapper for FidLib Filter Library * - * ---------------------- * - * copyright : (C) 2007 by John Sully * - * email : jsully@scs.ryerson.ca * - * * - **************************************************************************/ - -/*************************************************************************** - * * - * 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. * - * * - ***************************************************************************/ - +// Wrapper for FidLib Filter Library #pragma once -#define MIXXX #include #include diff --git a/src/engine/sidechain/enginerecord.cpp b/src/engine/sidechain/enginerecord.cpp index 005faae1d2..1dfcd9ddee 100644 --- a/src/engine/sidechain/enginerecord.cpp +++ b/src/engine/sidechain/enginerecord.cpp @@ -1,11 +1,3 @@ -/*************************************************************************** - enginerecord.cpp - class to record the mix - ------------------- - copyright : (C) 2007 by John Sully - copyright : (C) 2010 by Tobias Rafreider - email : -***************************************************************************/ - #include "engine/sidechain/enginerecord.h" #include "control/controlobject.h" diff --git a/src/engine/sidechain/enginerecord.h b/src/engine/sidechain/enginerecord.h index 155d1a6944..4ef3c73933 100644 --- a/src/engine/sidechain/enginerecord.h +++ b/src/engine/sidechain/enginerecord.h @@ -1,10 +1,3 @@ -/*************************************************************************** - enginerecord.h - description - ------------------- - copyright : (C) 2007 by John Sully - email : - ***************************************************************************/ - #pragma once #include diff --git a/src/engine/sidechain/enginesidechain.cpp b/src/engine/sidechain/enginesidechain.cpp index fe9c562641..1805c880b6 100644 --- a/src/engine/sidechain/enginesidechain.cpp +++ b/src/engine/sidechain/enginesidechain.cpp @@ -1,19 +1,3 @@ -/*************************************************************************** - enginesidechain.cpp - ------------------- - copyright : (C) 2008 Albert Santoni - email : gamegod \a\t users.sf.net -***************************************************************************/ - -/*************************************************************************** -* * -* 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 class provides a way to do audio processing that does not need // to be executed in real-time. For example, broadcast encoding // and recording encoding can be done here. This class uses double-buffering diff --git a/src/engine/sidechain/enginesidechain.h b/src/engine/sidechain/enginesidechain.h index fa654b5205..094d406509 100644 --- a/src/engine/sidechain/enginesidechain.h +++ b/src/engine/sidechain/enginesidechain.h @@ -1,19 +1,3 @@ -/*************************************************************************** - enginesidechain.h - ------------------- - copyright : (C) 2008 Albert Santoni - email : gamegod \a\t users.sf.net -***************************************************************************/ - -/*************************************************************************** -* * -* 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. * -* * -***************************************************************************/ - #pragma once #include diff --git a/src/engine/sync/enginesync.cpp b/src/engine/sync/enginesync.cpp index 1691afb46b..d180f23b9b 100644 --- a/src/engine/sync/enginesync.cpp +++ b/src/engine/sync/enginesync.cpp @@ -1,21 +1,3 @@ -/*************************************************************************** - enginesync.cpp - master sync control for - maintaining beatmatching amongst n decks - ------------------- - begin : Mon Mar 12 2012 - copyright : (C) 2012 by Owen Williams - email : owilliams@mixxx.org -***************************************************************************/ - -/*************************************************************************** -* * -* 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. * -* * -***************************************************************************/ - #include "engine/sync/enginesync.h" #include @@ -24,7 +6,6 @@ #include "engine/enginebuffer.h" #include "engine/sync/internalclock.h" #include "util/assert.h" -#include "util/defs.h" #include "util/logger.h" namespace { diff --git a/src/engine/sync/enginesync.h b/src/engine/sync/enginesync.h index ebe2026a8a..86304cd73e 100644 --- a/src/engine/sync/enginesync.h +++ b/src/engine/sync/enginesync.h @@ -1,21 +1,3 @@ -/*************************************************************************** - enginesync.h - master sync control for - maintaining beatmatching amongst n decks - ------------------- - begin : Mon Mar 12 2012 - copyright : (C) 2012 by Owen Williams - email : owilliams@mixxx.org -***************************************************************************/ - -/*************************************************************************** -* * -* 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. * -* * -***************************************************************************/ - #pragma once #include "preferences/usersettings.h" diff --git a/src/errordialoghandler.cpp b/src/errordialoghandler.cpp index eb7fd5193b..8cc92b5542 100644 --- a/src/errordialoghandler.cpp +++ b/src/errordialoghandler.cpp @@ -1,20 +1,3 @@ -/*************************************************************************** - errordialoghandler.cpp - description - ------------------- - begin : Sun Feb 22 2009 - copyright : (C) 2009 by Sean M. Pappalardo - email : pegasus@c64.org -***************************************************************************/ - -/*************************************************************************** -* * -* 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. * -* * -***************************************************************************/ - #include #include #include diff --git a/src/errordialoghandler.h b/src/errordialoghandler.h index 794d722801..622931dd47 100644 --- a/src/errordialoghandler.h +++ b/src/errordialoghandler.h @@ -1,20 +1,3 @@ -/*************************************************************************** - errordialoghandler.h - description - ------------------- - begin : Fri Feb 20 2009 - copyright : (C) 2009 by Sean M. Pappalardo - email : pegasus@c64.org - ***************************************************************************/ - -/*************************************************************************** - * * - * 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. * - * * - ***************************************************************************/ - #pragma once #include diff --git a/src/library/scanner/libraryscannerdlg.cpp b/src/library/scanner/libraryscannerdlg.cpp index 1aa1122fad..58638c6123 100644 --- a/src/library/scanner/libraryscannerdlg.cpp +++ b/src/library/scanner/libraryscannerdlg.cpp @@ -1,21 +1,3 @@ -/*************************************************************************** - LibraryScannerDlg.cpp - shows library scanning - progress - ------------------- - begin : 11/27/2007 - copyright : (C) 2007 Albert Santoni and Adam Davison - email : gamegod \a\t users.sf.net -***************************************************************************/ - -/*************************************************************************** -* * -* 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. * -* * -***************************************************************************/ - #include #include #include diff --git a/src/library/scanner/libraryscannerdlg.h b/src/library/scanner/libraryscannerdlg.h index af81ddd3d8..55ef10b37d 100644 --- a/src/library/scanner/libraryscannerdlg.h +++ b/src/library/scanner/libraryscannerdlg.h @@ -1,21 +1,3 @@ -/*************************************************************************** - LibraryScannerDlg.cpp - shows library scanning - progress - ------------------- - begin : 11/27/2007 - copyright : (C) 2007 Albert Santoni and Adam Davison - email : gamegod \a\t users.sf.net -***************************************************************************/ - -/*************************************************************************** -* * -* 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. * -* * -***************************************************************************/ - #pragma once #include diff --git a/src/library/stardelegate.cpp b/src/library/stardelegate.cpp index 125a058076..526e65cc58 100644 --- a/src/library/stardelegate.cpp +++ b/src/library/stardelegate.cpp @@ -1,20 +1,3 @@ -/*************************************************************************** - stardelegate.cpp - ------------------- - copyright : (C) 2010 Tobias Rafreider - copyright : (C) 2009 Nokia Corporation - -***************************************************************************/ - -/*************************************************************************** - * * - * 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. * - * * - ***************************************************************************/ - #include "library/stardelegate.h" #include diff --git a/src/library/stardelegate.h b/src/library/stardelegate.h index c5e2e7719a..27ce03f131 100644 --- a/src/library/stardelegate.h +++ b/src/library/stardelegate.h @@ -1,20 +1,3 @@ -/*************************************************************************** - stardelegate.h - ------------------- - copyright : (C) 2010 Tobias Rafreider - copyright : (C) 2009 Nokia Corporation - -***************************************************************************/ - -/*************************************************************************** - * * - * 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. * - * * - ***************************************************************************/ - #pragma once #include "library/tableitemdelegate.h" diff --git a/src/library/stareditor.cpp b/src/library/stareditor.cpp index 37cf43a1a1..b26ee61646 100644 --- a/src/library/stareditor.cpp +++ b/src/library/stareditor.cpp @@ -1,41 +1,19 @@ -/*************************************************************************** - stareditor.cpp - ------------------- - copyright : (C) 2010 Tobias Rafreider - copyright : (C) 2009 Nokia Corporation - -***************************************************************************/ - -/*************************************************************************** - * * - * 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. * - * * - ***************************************************************************/ - -/*************************************************************************** - * * - * StarEditor inherits QWidget and is used by StarDelegate to let the user * - * edit a star rating in the library using the mouse. * - * * - * The class has been adapted from the official "Star Delegate Example", * - * see http://doc.trolltech.com/4.5/itemviews-stardelegate.html * - ***************************************************************************/ - #include #include "library/stareditor.h" #include "library/starrating.h" #include "util/painterscope.h" -/* - * We enable mouse tracking on the widget so we can follow the cursor even - * when the user doesn't hold down any mouse button. We also turn on - * QWidget's auto-fill background feature to obtain an opaque background. - * (Without the call, the view's background would shine through the editor.) - */ +// We enable mouse tracking on the widget so we can follow the cursor even +// when the user doesn't hold down any mouse button. We also turn on +// QWidget's auto-fill background feature to obtain an opaque background. +// (Without the call, the view's background would shine through the editor.) + +/// StarEditor inherits QWidget and is used by StarDelegate to let the user +/// edit a star rating in the library using the mouse. +/// +/// The class has been adapted