• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1This 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
34NFC
35---
36
37./effects/ogg/NFCFailure.ogg
38./effects/ogg/NFCInitiated.ogg
39./effects/ogg/NFCSuccess.ogg
40./effects/ogg/NFCTransferComplete.ogg
41./effects/ogg/NFCTransferInitiated.ogg
42
43referenced in AudioPackage14.mk (= AudioPackage13.mk + NFC sounds).
44