Build 0.20.9.0
This commit is contained in:
@@ -17,9 +17,7 @@ namespace Barotrauma.Networking
|
||||
get;
|
||||
private set;
|
||||
}
|
||||
|
||||
public static IReadOnlyList<string> CaptureDeviceNames =>
|
||||
Alc.GetStringList(IntPtr.Zero, OpenAL.Alc.CaptureDeviceSpecifier);
|
||||
|
||||
|
||||
private readonly IntPtr captureDevice;
|
||||
|
||||
@@ -169,6 +167,11 @@ namespace Barotrauma.Networking
|
||||
Create(GameSettings.CurrentConfig.Audio.VoiceCaptureDevice, storedBufferID);
|
||||
}
|
||||
|
||||
public static IReadOnlyList<string> GetCaptureDeviceNames()
|
||||
{
|
||||
return Alc.GetStringList(IntPtr.Zero, OpenAL.Alc.CaptureDeviceSpecifier);
|
||||
}
|
||||
|
||||
IntPtr nativeBuffer;
|
||||
readonly short[] uncompressedBuffer = new short[VoipConfig.BUFFER_SIZE];
|
||||
readonly short[] prevUncompressedBuffer = new short[VoipConfig.BUFFER_SIZE];
|
||||
|
||||
Reference in New Issue
Block a user