I get this Hresult when i resample PCM Sound to a IEEE:Float Sound with DirectXMediaResampler. Changing the bits per sample with the same sampling rate is no problem. Also resamppling from IEEE:Float to PCM. This HResult is not documented in context with a DMO object. And it doesn't happen on every resampling but periodically.
Does anyone know or could guess what it means.
That's DMO_E_NOTACCEPTING; the documentation says:
DMO_E_NOTACCEPTING: Data cannot be accepted.
You can see the code that generates this in dmoimpl.h, although without the derived DMO code I don't think that helps (it means the DMO's InternalAcceptingInput
method didn't return S_OK
).
I guess this all means that the ResamplerDMO doesn't like your input data. Is it definitely set up correctly?
User contributions licensed under CC BY-SA 3.0