[G1 Android Development] david.f.girault:
Hi all, I just download the G7 files, but before testing it, I was curious to see the diff against my current version in the Hero (Modaco v2.5.1).

And doing this, I found problem in v6r2/AudioPreProcess.csv file. Some hexadecimal numbers were converted to decimal in scientific notation. For example, in A3 line, the number "3E96" become "3.00E+96". Same kind of error in line A9!! AudioModv7 had this error. :confused:

In v6r2/AudioFilter.csv, it seems the line A1 was duplicate??!! :confused: The only other change between my Hero version is the B1 and C1 lines. Some values differs.

I don't look at other version in the G7 files.

FYI, I have a AudioPara_HTC-FRA.csv file in my Hero. The only diff on it against the AudioPara4.csv is the F25 line:

From AudioPara4.csv:

F25,CE_PLAYBACK_HEADSET,5,4000,2F55,....

From AudioPara_HTC-FRA.csv:

F25,CE_PLAYBACK_HEADSET,5,4000,23FD,....

What does this change mean? Is it due to French laws about maximum volume for headset? If I rename the HTC-FRA version, does my Hero work and does my volume goes up?

I respond to myself, since I just does a test by renaming AudioPara_HTC-FRA.csv to AudioPara_HTC-FRA.csv.bak. The following logcat was receive when mediaserver process was killed:

I/HTC Acoustic( 1202): libhtc_acoustic.so version 1.0.1.2.
E/HTC Acoustic( 1202): Fail to open /system/etc/AudioPara_HTC-FRA.csv -1.
I/HTC Acoustic( 1202): open /system/etc/AudioPara4.csv success.
I/HTC Acoustic( 1202): acoustic table version: Hero_HTC_20090610
I/HTC Acoustic( 1202): read_audio_para_from_file success.
I/HTC Acoustic( 1202): get_audpp_filter
I/HTC Acoustic( 1202): open /system/etc/AudioFilter.csv success.
I/HTC Acoustic( 1202): ADRC Filter ADRC FLAG = ffff.
I/HTC Acoustic( 1202): ADRC Filter COMP THRESHOLD = 2600.
I/HTC Acoustic( 1202): ADRC Filter COMP SLOPE = b333.
I/HTC Acoustic( 1202): ADRC Filter COMP RMS TIME = 106.
I/HTC Acoustic( 1202): ADRC Filter COMP ATTACK[0] = 7f7d.
I/HTC Acoustic( 1202): ADRC Filter COMP ATTACK[1] = 3096.
I/HTC Acoustic( 1202): ADRC Filter COMP RELEASE[0] = 7ff7.
I/HTC Acoustic( 1202): ADRC Filter COMP RELEASE[1] = 4356.
I/HTC Acoustic( 1202): ADRC Filter COMP DELAY = 16.
I/HTC Acoustic( 1202): EQ flag = ffff.
I/HTC Acoustic( 1202): get_audpre_filter
I/HTC Acoustic( 1202): open /system/etc/AudioPreProcess.csv success.
D/AudioHardwareMSM72XX( 1202): mNumSndEndpoints = 69
D/AudioHardwareMSM72XX( 1202): BT MATCH HANDSET
D/AudioHardwareMSM72XX( 1202): BT MATCH SPEAKER
D/AudioHardwareMSM72XX( 1202): BT MATCH HEADSET
D/AudioHardwareMSM72XX( 1202): BT MATCH BT
D/AudioHardwareMSM72XX( 1202): BT MATCH CARKIT
D/AudioHardwareMSM72XX( 1202): BT MATCH TTY_FULL
D/AudioHardwareMSM72XX( 1202): BT MATCH TTY_VCO
D/AudioHardwareMSM72XX( 1202): BT MATCH TTY_HCO
D/AudioHardwareMSM72XX( 1202): BT MATCH NO_MIC_HEADSET
D/AudioHardwareMSM72XX( 1202): BT MATCH FM_HEADSET
D/AudioHardwareMSM72XX( 1202): BT MATCH HEADSET_AND_SPEAKER
D/AudioHardwareMSM72XX( 1202): BT MATCH FM_SPEAKER
D/AudioHardwareMSM72XX( 1202): BT MATCH BT_EC_OFF
D/AudioHardwareMSM72XX( 1202): BT MATCH CURRENT
D/AudioHardwareMSM72XX( 1202): BT MATCH BT_EC_OFF

We can see that libhtc_acoustic.so try the HTC-FRA version and fallback to the normal one (AudioPara4.csv).

After this test, my volume headset was much louder! :) This is just what I wan't for this time.

A little note to Meltus, the first line of the AudioPara4.csv file is used to store the version which was displayed by 'adb logcat' ! So instead of listing fields here, I think the better is to put a good version string.

Regards,

David