diff --git a/src/audio_core/hle/wmf_decoder.cpp b/src/audio_core/hle/wmf_decoder.cpp index eb04ee34bf..cd5cc77d64 100644 --- a/src/audio_core/hle/wmf_decoder.cpp +++ b/src/audio_core/hle/wmf_decoder.cpp @@ -215,7 +215,7 @@ std::optional WMFDecoder::Impl::Decode(const BinaryRequest& requ // if the decode issues are caused by MFT not accepting new samples, try again // NOTICE: you are required to check the output even if you already knew/guessed // MFT didn't accept the input sample - if (input_status == TRY_AGAIN) { + if (input_status == NOT_ACCEPTED) { // try again continue; } diff --git a/src/audio_core/hle/wmf_decoder_utils.cpp b/src/audio_core/hle/wmf_decoder_utils.cpp index a74e1bf64e..7f809e679d 100644 --- a/src/audio_core/hle/wmf_decoder_utils.cpp +++ b/src/audio_core/hle/wmf_decoder_utils.cpp @@ -250,7 +250,7 @@ MFInputState SendSample(IMFTransform* transform, DWORD in_stream_id, IMFSample* if (in_sample) { hr = transform->ProcessInput(in_stream_id, in_sample, 0); if (hr == MF_E_NOTACCEPTING) { - return TRY_AGAIN; // try again + return NOT_ACCEPTED; // try again } else if (FAILED(hr)) { ReportError("MFT: Failed to process input", hr); return INPUT_ERROR; diff --git a/src/audio_core/hle/wmf_decoder_utils.h b/src/audio_core/hle/wmf_decoder_utils.h index f502641139..2b9c545437 100644 --- a/src/audio_core/hle/wmf_decoder_utils.h +++ b/src/audio_core/hle/wmf_decoder_utils.h @@ -18,7 +18,7 @@ #include "adts.h" enum MFOutputState { FATAL_ERROR, OK, NEED_MORE_INPUT, NEED_RECONFIG, HAVE_MORE_DATA }; -enum MFInputState { INPUT_ERROR, INPUT_OK, TRY_AGAIN }; +enum MFInputState { INPUT_ERROR, INPUT_OK, NOT_ACCEPTED }; // utility functions template