title: Soundpool loop different for different devices android
body: <p>I have implemented <strong>Soundpool</strong> for playing a ring but unfortunately sound <strong>loop</strong> is <strong>different</strong> from <em>different devices</em>. 
  My code is like this for sound pool</p>
  
  <pre><code>    AssetFileDescriptor afd = getActivity().getResources().openRawResourceFd(R.raw.dummy);
      SoundPool soundPool  = new SoundPool(4, AudioManager.STREAM_RING, 100);
                 int id  = soundPool.load(afd, 1);
                 int loop = 3;
                  soundPool.setOnLoadCompleteListener(new SoundPool.OnLoadCompleteListener()
                  {
                      @Override
                      public void onLoadComplete(SoundPool arg0, int arg1, int arg2)
                      {
                          soundPool.play(id, 1, 1, 1, loop, 1f);
                      }
                  });
  </code></pre>
  
  <p>In Samsung deices loop execute properly 3 times but in Motorola device loop execute 4 times, I am not getting any proper solution. 
  Any type of help ll be appreciated.</p>