Glenn Kasten | ee5668c | 2012-10-23 10:33:15 -0700 | [diff] [blame] | 1 | This README describes the audio assets, and how they relate to each other. |
| 2 | |
| 3 | The product .mk references one of the AudioPackage*.mk, |
| 4 | which installs the appropriate assets into the destination directory. |
| 5 | |
| 6 | For UI sound effects, |
| 7 | frameworks/base/media/java/android/media/AudioService.java array |
| 8 | SOUND_EFFECT_FILES contains a hard-coded list of asset filenames, stored |
| 9 | in directory SOUND_EFFECTS_PATH. |
| 10 | |
| 11 | Touch sounds |
| 12 | ------------ |
| 13 | |
| 14 | effects/Effect_Tick.ogg |
| 15 | old, referenced by AudioPackage[2345].mk OriginalAudio.mk |
| 16 | |
| 17 | effects/ogg/Effect_Tick.ogg |
| 18 | new, referenced by AudioPackage[6789].mk AudioPackage7alt.mk AudioPackage10.mk |
| 19 | |
| 20 | effects/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 | |
| 25 | effects/wav/Effect_Tick.wav |
| 26 | does not appear to be related to the other files in any obvious way |
| 27 | |
| 28 | Video recording |
| 29 | --------------- |
| 30 | |
| 31 | ./effects/ogg/VideoStop_48k.ogg |
| 32 | unused |
| 33 | |