diff options
Diffstat (limited to 'runtime/xma_decoder/leonida_xma2_decoder.h')
| -rw-r--r-- | runtime/xma_decoder/leonida_xma2_decoder.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/xma_decoder/leonida_xma2_decoder.h b/runtime/xma_decoder/leonida_xma2_decoder.h index 98dd5c49c..a4c5b4534 100644 --- a/runtime/xma_decoder/leonida_xma2_decoder.h +++ b/runtime/xma_decoder/leonida_xma2_decoder.h | |||
| @@ -25,6 +25,10 @@ enum LeonidaXma2Status { | |||
| 25 | 25 | ||
| 26 | int32_t leonida_xma2_decoder_create(uint32_t sample_rate, uint32_t channels, | 26 | int32_t leonida_xma2_decoder_create(uint32_t sample_rate, uint32_t channels, |
| 27 | LeonidaXma2Decoder **out_decoder); | 27 | LeonidaXma2Decoder **out_decoder); |
| 28 | /* Like leonida_xma2_decoder_create, but decodes like the console's XMA hardware: the first | ||
| 29 | frame is kept and there is no 64-sample start skip; the caller applies the context's skip. */ | ||
| 30 | int32_t leonida_xma2_decoder_create_hardware(uint32_t sample_rate, uint32_t channels, | ||
| 31 | LeonidaXma2Decoder **out_decoder); | ||
| 28 | int32_t leonida_xma2_decode_buffer(LeonidaXma2Decoder *decoder, | 32 | int32_t leonida_xma2_decode_buffer(LeonidaXma2Decoder *decoder, |
| 29 | const uint8_t *input, size_t input_len, | 33 | const uint8_t *input, size_t input_len, |
| 30 | LeonidaXma2PcmBlock **out_block); | 34 | LeonidaXma2PcmBlock **out_block); |