blob: 193fd7179f5fb84d61b5222c942b290e0e570487 [file] [log] [blame]
Glenn Kastenee5668c2012-10-23 10:33:15 -07001This README describes the audio assets, and how they relate to each other.
2
3The product .mk references one of the AudioPackage*.mk,
4which installs the appropriate assets into the destination directory.
5
6For UI sound effects,
7frameworks/base/media/java/android/media/AudioService.java array
8SOUND_EFFECT_FILES contains a hard-coded list of asset filenames, stored
9in directory SOUND_EFFECTS_PATH.
10
11Touch sounds
12------------
13
14effects/Effect_Tick.ogg
15 old, referenced by AudioPackage[2345].mk OriginalAudio.mk
16
17effects/ogg/Effect_Tick.ogg
18 new, referenced by AudioPackage[6789].mk AudioPackage7alt.mk AudioPackage10.mk
19
20effects/ogg/Effect_Tick_48k.ogg
21 oggdec -o temp.wav ogg/Effect_Tick.ogg
22 sox temp.wav -r 48000 temp48k.wav
23 oggenc -b 80 -o ogg/Effect_Tick_48k.ogg temp48k.wav
24
25effects/wav/Effect_Tick.wav
26 does not appear to be related to the other files in any obvious way
27
28Video recording
29---------------
30
31./effects/ogg/VideoStop_48k.ogg
32 unused
33