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 | |
Jean-Michel Trivi | 72a7c40 | 2018-07-10 17:32:11 -0700 | [diff] [blame] | 34 | NFC |
| 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 | |
| 43 | referenced in AudioPackage14.mk (= AudioPackage13.mk + NFC sounds). |