protected internal IVoiceCodec GetCodec(SpeechCodecs codec)
{
switch (codec)
{
case SpeechCodecs.CeltAlpha:
return this._alpha.Value;
case SpeechCodecs.Speex:
return this._speex.Value;
case SpeechCodecs.CeltBeta:
return this._beta.Value;
case SpeechCodecs.Opus:
return this._opus.Value;
}
throw new ArgumentOutOfRangeException("codec");
I'm getting null pointer exception because of this._opus.Value returns null in CodecSet.cs
I'm getting null pointer exception because of
this._opus.Valuereturns null in CodecSet.cs