mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-02-17 11:18:31 +01:00
Add partial support for HCA v3.0 (ongoing) [Uma Musume (Android)]
This commit is contained in:
parent
01d217e3a6
commit
8dcc485583
769
ext_libs/clHCA.c
769
ext_libs/clHCA.c
File diff suppressed because it is too large
Load Diff
@ -117,6 +117,8 @@ void decode_hca(hca_codec_data* data, sample_t* outbuf, int32_t samples_to_do) {
|
||||
break;
|
||||
}
|
||||
|
||||
data->current_block++;
|
||||
|
||||
/* decode frame */
|
||||
status = clHCA_DecodeBlock(data->handle, (void*)(data->data_buffer), blockSize);
|
||||
if (status < 0) {
|
||||
@ -127,7 +129,6 @@ void decode_hca(hca_codec_data* data, sample_t* outbuf, int32_t samples_to_do) {
|
||||
/* extract samples */
|
||||
clHCA_ReadSamples16(data->handle, data->sample_buffer);
|
||||
|
||||
data->current_block++;
|
||||
data->samples_consumed = 0;
|
||||
data->samples_filled += data->info.samplesPerBlock;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user