When I using ResamplerDmoStream and selecting Anything except WaveOutput (e.g. WASAPI, DirectSound) I've getting below exception:
Unable to cast COM Object 'NAudio.DMO.ResamplerMediaComObject' to interface type 'Naudio.Dmo.IMediaObject' ...
Comments: this is because you are using it from a different thread than the one it was created on. For NAudio 1.7 I'm hoping to come up with some better ways to handle this type of thing
Unable to cast COM Object 'NAudio.DMO.ResamplerMediaComObject' to interface type 'Naudio.Dmo.IMediaObject' ...
Comments: this is because you are using it from a different thread than the one it was created on. For NAudio 1.7 I'm hoping to come up with some better ways to handle this type of thing