It seems that the config file is the main problem, so when we get a
working config file, we shall finally evaluate cvoice control.
In microphone_config.c: 1153
/***** output configuration information to config file */
fprintf(f, "Mixer Device = %s\n", getMixer());
fprintf(f, "Audio Device = %s\n", getAudio());
fprintf(f, "Mic Level = %d\n", mic_level);
fprintf(f, "IGain Level = %d\n", igain_level);
fprintf(f, "Record Level = %d\n", rec_level);
fprintf(f, "Stop Level = %d\n", stop_level);
fprintf(f, "Silence Level = %d\n", silence_level);
fprintf(f, "Channel Mean =");
for (i = 0; i < FEAT_VEC_SIZE; i++)
fprintf(f, " %6.5f", channel_mean[i]);
fprintf(f, "\n");
fclose(f);
Maybe the method used to open the file / write into it is too old, and
should be reimplemented. As we can see here, the file is pretty
simple.
Options:
- find an existing config file and adjust it by hand
- debug the program to find the stored values before writing and handwrite
- rewrite the storing procedure
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
tux-droid-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-user