traverso-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Traverso-commit] traverso/src/engine AudioPlugin.cpp


From: Remon Sijrier
Subject: [Traverso-commit] traverso/src/engine AudioPlugin.cpp
Date: Wed, 04 Apr 2007 19:46:21 +0000

CVSROOT:        /sources/traverso
Module name:    traverso
Changes by:     Remon Sijrier <r_sijrier>       07/04/04 19:46:21

Removed files:
        src/engine     : AudioPlugin.cpp 

Log message:
        and again it's removed, how many times do I have to remove this #$@) 
file ??? 

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/traverso/src/engine/AudioPlugin.cpp?cvsroot=traverso&r1=1.1&r2=0

Patches:
Index: AudioPlugin.cpp
===================================================================
RCS file: AudioPlugin.cpp
diff -N AudioPlugin.cpp
--- AudioPlugin.cpp     20 Apr 2006 14:50:44 -0000      1.1
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,145 +0,0 @@
-/*
-    Copyright (C) 2005 Remon Sijrier 
- 
-    This file is part of Traverso
- 
-    Traverso 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., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA.
- 
-    $Id: AudioPlugin.cpp,v 1.1 2006/04/20 14:50:44 r_sijrier Exp $
-*/
-
-#include "AudioPlugin.h"
-
-#include "Debugger.h"
-
-AudioPlugin::AudioPlugin()
-{
-        isBypassed=false;
-        tail = (char*) 0;
-        tailSize=0;
-        parameterList=new QStringList();
-        parameterList->append("WET_OUT");
-        parameterList->append("DRY_OUT");
-        parameterList->append("PRE_GAIN");
-        parameterList->append("POS_GAIN");
-        parameterList->append("PREVIEW_QUALITY");
-}
-
-AudioPlugin::~AudioPlugin()
-{
-        if (tail)
-                delete tail;
-        delete parameterList;
-}
-
-
-void AudioPlugin::set_sample_rate(int pSampleRate)
-{
-        sampleRate = pSampleRate;
-}
-
-
-void AudioPlugin::set_channels(int pChannels)
-{
-        channels = pChannels;
-}
-
-
-void AudioPlugin::set_preview_quality(float value)
-{
-        previewQuality = value;
-}
-
-void AudioPlugin::set_wet_out(float value)
-{
-        wetOut = value;
-}
-
-
-void AudioPlugin::set_dry_out(float value)
-{
-        dryOut = value;
-}
-
-void AudioPlugin::set_pre_gain(float value)
-{
-        preGain = value;
-}
-
-void AudioPlugin::set_pos_gain(float value)
-{
-        posGain = value;
-}
-
-float AudioPlugin::get_preview_quality()
-{
-        return previewQuality;
-}
-
-float AudioPlugin::get_wet_out()
-{
-        return wetOut;
-}
-
-float AudioPlugin::get_dry_out()
-{
-        return dryOut;
-}
-
-float AudioPlugin::get_pre_gain()
-{
-        return preGain;
-}
-
-float AudioPlugin::get_pos_gain()
-{
-        return posGain;
-}
-
-
-
-void AudioPlugin::init_tail(int secs)
-{
-        tailSize = sampleRate*channels*secs;
-        PMESG("Initializing Tail Buffer : size %d=",tailSize);
-        tail=new char[tailSize];
-        bzero(tail,tailSize);
-}
-
-
-void AudioPlugin::push_tail(int size)
-{
-        // push (shift) the tail left;
-        memcpy(tail, tail+size, tailSize-size);
-        bzero(tail+(tailSize-size),size);
-}
-
-int AudioPlugin::cleanup()
-{
-        bzero(tail,tailSize);
-        return 1;
-}
-
-void AudioPlugin::set_bypass(bool b)
-{
-        isBypassed = b;
-}
-
-bool AudioPlugin::is_bypassed()
-{
-        return isBypassed;
-}
-
-// eof




reply via email to

[Prev in Thread] Current Thread [Next in Thread]