Skip to content
This repository has been archived by the owner on Jul 4, 2024. It is now read-only.

Commit

Permalink
buffer with 32mb instead of 32kb
Browse files Browse the repository at this point in the history
  • Loading branch information
Frooastside committed Apr 29, 2024
1 parent 7837295 commit 1362a5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crunchy-cli-core/src/utils/sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ fn generate_chromaprint(
// the stdout is read in chunks because keeping all the raw audio data in memory would take up
// a significant amount of space
let mut stdout = handle.stdout.take().unwrap();
let mut buf: [u8; 32_000] = [0; 32_000];
let mut buf: [u8; 32_000_000] = [0; 32_000_000];
while handle.try_wait()?.is_none() {
loop {
let read_bytes = stdout.read(&mut buf)?;
Expand Down

0 comments on commit 1362a5a

Please sign in to comment.