~ubuntu-branches/ubuntu/karmic/vlc/karmic-proposed

« back to all changes in this revision

Viewing changes to modules/audio_filter/spatializer/revmodel.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2009-06-05 12:28:15 UTC
  • mfrom: (1.1.22 upstream) (3.4.1 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090605122815-2c0lyqjm84jo1lcn
Tags: 1.0.0~rc2-1ubuntu1
* New upstream version.
* tighten build-dependencies on libschroedinger-dev, fixes FTBFS.
* Following bugs have an associated and now closed upstream ticket in
  Launchpad: LP: #281295, #73449, #282567, #117640, #172938, #260918,
  #273685, #275043, #277834, #282394, #290753, #294136, #298925, #304265,
  #309728, #311742, #314038

Show diffs side-by-side

added added

removed removed

Lines of Context:
80
80
    }
81
81
}
82
82
 
 
83
/*****************************************************************************
 
84
 *  Transforms the audio stream
 
85
 * /param float *inputL     input buffer
 
86
 * /param float *outputL   output buffer
 
87
 * /param long numsamples  number of samples to be processed
 
88
 * /param int skip             number of channels in the audio stream
 
89
 *****************************************************************************/
83
90
void revmodel::processreplace(float *inputL, float *outputL, long numsamples, int skip)
84
91
{
85
92
    float outL,outR,input;
87
94
    int i;
88
95
 
89
96
    outL = outR = 0;
 
97
        /* TODO this module supports only 2 audio channels, let's improve this */
90
98
        if (skip > 1)
91
99
           inputR = inputL[1];
92
100
        else