Mercurial > hg > audiodb
view close.cpp @ 466:11fccb6a3bd5 api-inversion
Almost there!
audioDB::index_query_loop is now set, except for the lsh_in_core and
lsh_exact flags. I think the plan is to zap lsh_in_core entirely, and
add some flags to the qid structure for indexed behaviour.
author | mas01cr |
---|---|
date | Wed, 31 Dec 2008 12:25:22 +0000 |
parents | 1030664df98c |
children |
line wrap: on
line source
#include "audioDB.h" extern "C" { #include "audioDB_API.h" #include "audioDB-internals.h" } void audiodb_close(adb_t *adb) { free(adb->path); free(adb->header); delete adb->keys; delete adb->keymap; delete adb->track_lengths; delete adb->track_offsets; if(adb->cached_lsh) { delete adb->cached_lsh; } close(adb->fd); free(adb); }