Skip to content

Lazy OpusCode returns null for .NET 4.7.2 #67

Description

@mentalrob
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions