• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

MPH.hD22-Nov-20235.2 KiB137100

MakefileD22-Nov-20231.6 KiB7445

OpenSLES_IID.cD01-Jan-19700

README.txtD22-Nov-2023882 2521

frag1.cD22-Nov-20231.2 KiB4019

frag2.cD22-Nov-2023124 86

frag3.cD22-Nov-20231,016 3633

hash.sedD22-Nov-2023101 43

interfaces.cD01-Jan-19700

part1.cD22-Nov-20231,012 327

part4.cD22-Nov-202347 21

part6.cD22-Nov-2023134 54

part8.cD22-Nov-2023353 1312

test.cD22-Nov-20231.5 KiB4926

README.txt

1This re-generates the file IID_to_MPH.c using gperf.
2You need to do this after modifying either OpenSLES_IID.c or MPH.c.
3
4Prerequisites:
5 * GNU make
6 * GNU gperf perfect hash generator
7   $ gperf --version
8   GNU gperf 3.0.4
9 * GNU sed
10   $ sed --version
11   GNU sed version 4.2.2
12
13Usage:
14Type 'make'.
15Diff the old file in ../../src/autogen vs. the newly generated IID_to_MPH.c here.
16If the differences look OK, then copy the new IID_to_MPH.c back to
17  its stable location in ../../src/autogen using 'make install'.
18Build and test the usage of the new IID on host by "make run_test"
19*and* on the target by tests/sandbox/engine.c.  The host test
20checks all GUIDs, and the target test checks a subset of GUIDs.
21Then do 'make clean' or 'make distclean' here.
22
23hashgen is known to work on Linux with GNU gperf 3.0.4 and GNU sed
24version 4.2.2.  There are reports of problems on Mac OS X.
25