70908ddf26
Taken form rvc-namaste-dev ag/15272244 The alarm tones Cesium/Oxygen, Argon/Fermium, Hassium/Helium, Krypton/Plutonium and Neon/Nobelium are same. Also, Alarm_Classic is wrongly titled Cesium and Promethium is wrongly titled Platinum causing two alarm tones of the same name. However this is being looked by frameworks team so haven't removed them Bug: 190080582 Test: Tested by checking ogg files in out directory Change-Id: I7177a5c69c7ec2f2ea76b89ee3f9e3dcf91b18c3
This README describes the audio assets, and how they relate to each other. The product .mk references one of the AudioPackage*.mk, which installs the appropriate assets into the destination directory. For UI sound effects, frameworks/base/media/java/android/media/AudioService.java array SOUND_EFFECT_FILES contains a hard-coded list of asset filenames, stored in directory SOUND_EFFECTS_PATH. Touch sounds ------------ effects/Effect_Tick.ogg old, referenced by AudioPackage[2345].mk OriginalAudio.mk effects/ogg/Effect_Tick.ogg new, referenced by AudioPackage[6789].mk AudioPackage7alt.mk AudioPackage10.mk effects/ogg/Effect_Tick_48k.ogg oggdec -o temp.wav ogg/Effect_Tick.ogg sox temp.wav -r 48000 temp48k.wav oggenc -b 80 -o ogg/Effect_Tick_48k.ogg temp48k.wav effects/wav/Effect_Tick.wav does not appear to be related to the other files in any obvious way Video recording --------------- ./effects/ogg/VideoStop_48k.ogg unused NFC --- ./effects/ogg/NFCFailure.ogg ./effects/ogg/NFCInitiated.ogg ./effects/ogg/NFCSuccess.ogg ./effects/ogg/NFCTransferComplete.ogg ./effects/ogg/NFCTransferInitiated.ogg referenced in AudioPackage14.mk (= AudioPackage13.mk + NFC sounds).