OSDN Git Service

original
[gb-231r1-is01/GB_2.3_IS01.git] / system / media / opensles / tools / hashgen / README.txt
diff --git a/system/media/opensles/tools/hashgen/README.txt b/system/media/opensles/tools/hashgen/README.txt
new file mode 100644 (file)
index 0000000..65388d1
--- /dev/null
@@ -0,0 +1,14 @@
+This re-generates the file IID_to_MPH.c using gperf.
+You need to do this after modifying either OpenSLES_IID.c or MPH.c.
+
+Prerequisites:
+ * GNU make
+ * GNU gperf perfect hash generator
+
+Usage:
+Type 'make'.
+Diff the old file in ../../libopensles vs. the newly generated IID_to_MPH.c here.
+If the differences look OK, then copy the new IID_to_MPH.c back to
+  its stable location in ../../libopensles using 'make install'.
+Build and test the usage of the new IID.
+Then do 'make clean' or 'make distclean' here.