Possible error in wav2sketch.c on GitHub

Status
Not open for further replies.

Burly

Member
Hi Paul,

In wav2sketch.c on GitHub lines 115-118 show:

Code:
115    if (channels == 1) {
116            if (length % [B][SIZE=4][COLOR="#FF0000"]1[/COLOR][/SIZE][/B]) die("file %s data length is not a multiple of 2", filename);
117            length = length / 2;
118    }
My inkling is that it should actually say this:

Code:
115    if (channels == 1) {
116            if (length % [B][SIZE=4][COLOR="#FF0000"]2[/COLOR][/SIZE][/B]) die("file %s data length is not a multiple of 2", filename);
117            length = length / 2;
118    }
 
Status
Not open for further replies.
Back
Top