Skip to content
This repository has been archived by the owner on Apr 11, 2020. It is now read-only.

Commit

Permalink
Reverted my Drft class changes. I now know where the bug is. Waiting for
Browse files Browse the repository at this point in the history
mcs to be fixed.

svn path=/trunk/csvorbis/; revision=4672
  • Loading branch information
Mark Crichton committed May 15, 2002
1 parent 60e1cad commit 69a0543
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions csvorbis/Drft.cs
Expand Up @@ -33,22 +33,21 @@ class Drft
float[] trigcache;
int[] splitcache;

public void backward(float[] data)
internal void backward(float[] data)
{
if(n==1)return;
drftb1(n,data,trigcache,trigcache,n,splitcache);
}

public void init(int n)
internal void init(int n)
{
Console.Error.WriteLine("Drft.init n: "+n);
this.n=n;
trigcache=new float[3*n];
splitcache=new int[32];
fdrffti(n, trigcache, splitcache);
}

public void clear()
internal void clear()
{
if(trigcache!=null)trigcache=null;
if(splitcache!=null)splitcache=null;
Expand Down

0 comments on commit 69a0543

Please sign in to comment.