public void TestToxAvAudioBitrateChange() { int bitrate = 16; var error = ToxAvErrorSetBitrate.Ok; bool result = _toxAv1.SetAudioBitrate(0, bitrate, out error); if (!result || error != ToxAvErrorSetBitrate.Ok) { Assert.Fail("Failed to set audio bitrate, error: {0}, result: {1}", error, result); } }