Signed-off-by: ale <ale@manalejandro.com>
Este commit está contenido en:
ale
2025-06-04 20:10:19 +02:00
padre 2cf0ce68bf
commit 36c9246210

Ver fichero

@@ -27,7 +27,7 @@ const useAudioPlayer = (audioUrl) => {
const dataArray = new Uint8Array(bufferLength);
source.connect(analyzer);
source.connect(audioCtx.destination);
analyzer.connect(audioCtx.destination);
source.onended = () => source.disconnect();
setAnalyzerData({ analyzer, bufferLength, dataArray });