decoder/wavpack: use int16_t instead of uint16_t
Technically, these samples are signed. There was no practical difference, only the declaration was formally wrong.
This commit is contained in:
parent
544bcbe903
commit
f5172e6b84
@ -104,7 +104,7 @@ format_samples_int(int bytes_per_sample, void *buffer, uint32_t count)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 2: {
|
case 2: {
|
||||||
uint16_t *dst = (uint16_t *)buffer;
|
auto *dst = (int16_t *)buffer;
|
||||||
static_assert(sizeof(*dst) <= sizeof(*src), "Wrong size");
|
static_assert(sizeof(*dst) <= sizeof(*src), "Wrong size");
|
||||||
|
|
||||||
/* pass through and align 16-bit samples */
|
/* pass through and align 16-bit samples */
|
||||||
|
Loading…
Reference in New Issue
Block a user