~ubuntu-branches/ubuntu/utopic/lmms/utopic

« back to all changes in this revision

Viewing changes to src/core/audio/AudioPort.cpp

  • Committer: Package Import Robot
  • Author(s): Israel Dahl
  • Date: 2014-04-30 18:49:37 UTC
  • mfrom: (1.1.15)
  • Revision ID: package-import@ubuntu.com-20140430184937-hozuuxonlbshciya
Tags: 1.0.1-src-0ubuntu1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 * AudioPort.cpp - base-class for objects providing sound at a port
3
3
 *
4
 
 * Copyright (c) 2004-2014 Tobias Doerffel <tobydox/at/users.sourceforge.net>
 
4
 * Copyright (c) 2004-2009 Tobias Doerffel <tobydox/at/users.sourceforge.net>
5
5
 *
6
6
 * This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net
7
7
 *
25
25
#include "AudioPort.h"
26
26
#include "AudioDevice.h"
27
27
#include "EffectChain.h"
28
 
#include "FxMixer.h"
29
28
#include "engine.h"
30
29
 
31
30
 
119
118
}
120
119
 
121
120
 
122
 
void AudioPort::doProcessing( sampleFrame * )
123
 
{
124
 
        const bool me = processEffects();
125
 
        if( me || m_bufferUsage != NoUsage )
126
 
        {
127
 
                engine::fxMixer()->mixToChannel( firstBuffer(), nextFxChannel() );
128
 
                nextPeriod();
129
 
        }
130
 
}
131