[go: nahoru, domu]

Searched defs:soundName (Results 1 - 1 of 1) sorted by relevance

/frameworks/base/media/java/android/media/
H A DMediaActionSound.java146 * @param soundName The type of sound to preload, selected from
155 public void load(int soundName) { argument
156 if (soundName < 0 || soundName >= SOUND_FILES.length) {
157 throw new RuntimeException("Unknown sound requested: " + soundName);
159 SoundState sound = mSounds[soundName];
164 Log.e(TAG, "load() error loading sound: " + soundName);
168 Log.e(TAG, "load() called in wrong state: " + sound + " for sound: "+ soundName);
195 * @param soundName The type of sound to play, selected from
205 public void play(int soundName) { argument
[all...]

Completed in 72 milliseconds