# HG changeset patch # User mas01ik # Date 1227781190 0 # Node ID bab245dc31d8cceddf320b467f45630607af3d24 # Parent 8425d05eda33bc921796f9fdd35468ca6ebba7bf Missing key option added to API. diff -r 8425d05eda33 -r bab245dc31d8 audioDB.cpp --- a/audioDB.cpp Fri Nov 21 14:52:43 2008 +0000 +++ b/audioDB.cpp Thu Nov 27 10:19:50 2008 +0000 @@ -1149,6 +1149,11 @@ argv[argvctr++]=adbq->feature; } + if (adbq->key){ + argv[argvctr++]="-k"; + argv[argvctr++]=adbq->key; + } + if (adbq->power){ argv[argvctr++]="-w"; argv[argvctr++]=adbq->power; diff -r 8425d05eda33 -r bab245dc31d8 audioDB_API.h --- a/audioDB_API.h Fri Nov 21 14:52:43 2008 +0000 +++ b/audioDB_API.h Thu Nov 27 10:19:50 2008 +0000 @@ -47,6 +47,7 @@ char * querytype; char * feature; //usually a file of some kind + char * key; char * power; //also a file char * keylist; //also a file char * qpoint; //position