Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

98
Vistas
React-native-sound setNumberofLoops not working

I'm using react-native-sound package to play sound 10 times at a time in a loop but setNumberOfLoops(10) or any positive number in it does not work, it start playing 30-40 times

And how can I convert callback to promise so that I can try other way to play sound multiple times, since the current implementation is in callback for play() method (simply how can I use await with it)

export let xSound = new Sound("x.wav", Sound.MAIN_BUNDLE, (error) => {
  if (error) {
    console.log("Sound Not Loaded successfully");
    return;
  }
});

xSound.setNumberofLoops(10)
xSound.play()

Any alternatives for react-native-sound? I'm using bare workflow for my react-app

Thanks in Advance ✨

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda