function AddFromDevIn(Device: cint32; Latency: CDouble;
SampleRate: cint32; OutputIndex: cint32;
SampleFormat: cint32; FramesCount : cint32 ; ChunkCount: cint32): cint32;
// Add a Input from Device Input with custom parameters
// Device ( -1 is default Input device )
// Latency ( -1 is latency suggested ) )
// SampleRate : delault : -1 (44100)
// OutputIndex : Output index of used output// -1: all output, -2: no output, other cint32 refer to a existing OutputIndex (if multi-output then OutName = name of each output separeted by ';')
// SampleFormat : default : -1 (1:Int16) (0: Float32, 1:Int32, 2:Int16)
// FramesCount : default : -1 (4096)
// ChunkCount : default : -1 (= 512)
// result : otherwise Output Index in array -1 = error
// example : OutputIndex1 := AddFromDevice(-1,-1,-1,-1,-1, -1);