Skip to content

Commit 9bd6d58

Browse files
Update player.tsx
1 parent 224a966 commit 9bd6d58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/music/[music_id]/components/player.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export function Player({ music, musicList }: PlayerProps) {
7979
audioRef.current,
8080
);
8181
const analyser = audioCtxRef.current.createAnalyser();
82-
analyser.fftSize = 2 ** 8;
82+
analyser.fftSize = 2 ** 6;
8383
elementSource.connect(analyser).connect(audioCtxRef.current.destination);
8484
setSource(elementSource);
8585
setAnalyserNode(analyser);

0 commit comments

Comments
 (0)