SamWindell / Signet

Command-line program for bulk editing audio files on Windows, Linux and Mac
BSD 3-Clause "New" or "Revised" License
22 stars 2 forks source link

dr_wav.h #3

Closed aleksia123 closed 3 years ago

aleksia123 commented 3 years ago

Hey, very nice audio program, i used the binaries but it caused some troubles with dr_wav.h

I saw you recently made changes to dr_.wav.h, I compiled it but the problem still persists.

I compiled it with WSL on windows.

When I use "signet Samples tune 4800", so the "tune" algorithm, it gives me the following output:

signet: /mnt/c/temp/cppcode/Signet/code/third_party_libs/dr_wav.h:3050: drwav_bool32 drwav_init__internal(drwav, drwav_chunk_proc, void, drwav_uint32): Assertion `bytesRead <= header.sizeInBytes' failed. Aborted (core dumped)

Is this maybe windows related? I didn't cross compile it. And maybe can you provide the latest binaries, thanks for your efforts.

SamWindell commented 3 years ago

Ah yes looks like you bumped into a bug with the WAV writer (but it would be caught by the loader).

I've bumped the version number if for if you or others want the binaries.