Justin Koh cacfe69b68 Add FX_KEYPRESS_INVALID constant to AudioManager.
Add FX_KEYPRESS_INVALID constant to AudioManager. This is a sound which should
play if the user tries to click or press on an element which is disabled.

Change-Id: Idd8953abeddd1afb51f7f190f9fb612ef672defa
2013-07-18 10:46:19 -07:00
..
2013-05-28 21:44:29 -07:00
2012-10-23 16:34:21 -07:00

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