changeset 396:bab245dc31d8

Missing key option added to API.
author mas01ik
date Thu, 27 Nov 2008 10:19:50 +0000
parents 8425d05eda33
children dc099cd34b5b
files audioDB.cpp audioDB_API.h
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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;
--- 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