Capture audio from WasapiLoopbackCapture, and convert to muLaw
问题 I'm capturing audio with WasapiLoopbackCapture - format = IeeeFloat - SampleRate = 48000 - BitsPerSample = 32 I need to convert this to muLaw (8Khz, 8 bit, mono) - eventually it'll be sent to a phone via SIP trunking. I've tried 100s of samples (most of them with NAudio) and solutions but still have no clue how to do this ... 回答1: The Mu-Law tools in NAudio are limited so you might have to roll your own. You'll need to set up a chain of IWaveProvider filters to convert to mono, change bit