Mercurial > hg > audiodb
comparison audioDB.cpp @ 284:cacad987d785
Really finish with the sampling branch, this time merging all of it,
yes, even the last revision. (The last revision was one that seeded the
RNG with the current time, which is helpful when trying to get multiple
independent-ish samples from the same database...)
author | mas01cr |
---|---|
date | Mon, 07 Jul 2008 08:57:06 +0000 |
parents | 3be15407e814 |
children | d9a88cfd4ab6 |
comparison
equal
deleted
inserted
replaced
283:0e44de38d675 | 284:cacad987d785 |
---|---|
95 if(timesTable) | 95 if(timesTable) |
96 munmap(timesTable, timesTableLength); | 96 munmap(timesTable, timesTableLength); |
97 if(l2normTable) | 97 if(l2normTable) |
98 munmap(l2normTable, l2normTableLength); | 98 munmap(l2normTable, l2normTableLength); |
99 | 99 |
100 if(rng) | |
101 gsl_rng_free(rng); | |
102 | |
100 if(dbfid>0) | 103 if(dbfid>0) |
101 close(dbfid); | 104 close(dbfid); |
102 if(infid>0) | 105 if(infid>0) |
103 close(infid); | 106 close(infid); |
104 if(dbH) | 107 if(dbH) |