Merge pull request #823 from bnnm/hca2

- Improve HCA v3.0
- Improve HCA joint stereo
This commit is contained in:
bnnm 2021-03-10 22:31:03 +01:00 committed by GitHub
commit 9c2255c2f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 379 additions and 304 deletions

File diff suppressed because it is too large Load Diff

View File

@ -42,7 +42,10 @@ hca_codec_data* init_hca(STREAMFILE* sf) {
clHCA_clear(data->handle);
status = clHCA_DecodeHeader(data->handle, header_buffer, header_size); /* parse header */
if (status < 0) goto fail;
if (status < 0) {
VGM_LOG("HCA: unsupported header found, %i\n", status);
goto fail;
}
status = clHCA_getInfo(data->handle, &data->info); /* extract header info */
if (status < 0) goto fail;