void SetSamplerate(uint samplerate) { if (pObject != IntPtr.Zero) { SuperpoweredRecorderWrapper.SetSamplerate(pObject, samplerate); } }
void AddToTracklist(char[] artist, char[] title, int offsetSeconds, bool takeOwnership) { if (pObject != IntPtr.Zero) { SuperpoweredRecorderWrapper.AddToTracklist(pObject, artist, title, offsetSeconds, takeOwnership); } }
void Stop() { if (pObject != IntPtr.Zero) { SuperpoweredRecorderWrapper.Stop(pObject); } }
uint Process2(float[] input, uint numberOfSamples) { if (pObject != IntPtr.Zero) { return(SuperpoweredRecorderWrapper.Process2(pObject, input, numberOfSamples)); } return(0); }
public bool Start(char[] destinationPath) { if (pObject != IntPtr.Zero) { return(SuperpoweredRecorderWrapper.Start(pObject, destinationPath)); } return(false); }
public SuperpoweredRecorder(char[] tempPath, uint samplerate, uint minSeconds, byte numChannels, bool applyFade, SuperpoweredRecorderStoppedCallback callback, IntPtr clientData) { pObject = SuperpoweredRecorderWrapper.Create(tempPath, samplerate, minSeconds, numChannels, applyFade, callback, clientData); }