diff audioDB.cpp @ 450:0c1c8726a79b api-inversion

No more trackOffsetTable (except in sample.cpp, but that one was always a local variable. We'll get round to removing that one when we APIze sampling.) Also deconfuse things slightly by having the trackOffset variable be exactly the relevant entry from track_offsets.
author mas01cr
date Wed, 24 Dec 2008 10:57:01 +0000
parents 5893ec2ec246
children f3b0ddc1ead0
line wrap: on
line diff
--- a/audioDB.cpp	Wed Dec 24 10:56:56 2008 +0000
+++ b/audioDB.cpp	Wed Dec 24 10:57:01 2008 +0000
@@ -217,8 +217,6 @@
     munmap(timesFileNameTable, fileTableLength);
   if(powerFileNameTable)
     munmap(powerFileNameTable, fileTableLength);
-  if(trackOffsetTable)
-    delete [] trackOffsetTable;
   if(reporter)
     delete reporter;
   if(accumulator)