コード例 #1
0
 void SetSamplerate(uint samplerate)
 {
     if (pObject != IntPtr.Zero)
     {
         SuperpoweredRecorderWrapper.SetSamplerate(pObject, samplerate);
     }
 }
コード例 #2
0
 void AddToTracklist(char[] artist, char[] title, int offsetSeconds, bool takeOwnership)
 {
     if (pObject != IntPtr.Zero)
     {
         SuperpoweredRecorderWrapper.AddToTracklist(pObject, artist, title, offsetSeconds, takeOwnership);
     }
 }
コード例 #3
0
 void Stop()
 {
     if (pObject != IntPtr.Zero)
     {
         SuperpoweredRecorderWrapper.Stop(pObject);
     }
 }
コード例 #4
0
        uint Process2(float[] input, uint numberOfSamples)
        {
            if (pObject != IntPtr.Zero)
            {
                return(SuperpoweredRecorderWrapper.Process2(pObject, input, numberOfSamples));
            }

            return(0);
        }
コード例 #5
0
        public bool Start(char[] destinationPath)
        {
            if (pObject != IntPtr.Zero)
            {
                return(SuperpoweredRecorderWrapper.Start(pObject, destinationPath));
            }

            return(false);
        }
コード例 #6
0
 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);
 }