[XMA] Revert changes in old XMA decoder to state from master repository.

- If you have new issues with sound it is recommended to switch to new decoder.
This commit is contained in:
Gliniak
2025-11-17 18:29:33 +01:00
parent c6be50165f
commit 4ebf8994de
2 changed files with 49 additions and 157 deletions

View File

@@ -66,10 +66,6 @@ class XmaContextOld : public XmaContext {
void Decode(XMA_CONTEXT_DATA* data);
int PrepareDecoder(uint8_t* packet, int sample_rate, bool is_two_channel);
// This method should be used ONLY when we're at the last packet of the stream
// and we want to find offset in next buffer
uint32_t GetPacketFirstFrameOffset(const XMA_CONTEXT_DATA* data);
// uint32_t decoded_consumed_samples_ = 0; // TODO do this dynamically
// int decoded_idx_ = -1;