1

It works on Motorola Xoom tablet 3.2.1 but doesn't works on google-tv Logitech Revue 3.2

SoundPool soundPool = new SoundPool(16, AudioManager.STREAM_MUSIC, 0);
poolId = soundPool.load(this, R.raw.cat, 1);
soundPool.play(poolId, 1.0f, 1.0f, 1, 0, 1);

Such log error: SoundPool: Unable to load sample: (null).

Any ideas would be helpful. Thank you!

Sinigami
  • 449
  • 3
  • 20
  • 38

1 Answers1

0

The SoundPool class on GoogleTV will not load MP3 tracks. Use OGG instead

Sinigami
  • 449
  • 3
  • 20
  • 38