Example #1
0
 public void ExitLoop(bool synchronisedStart = false)
 {
     if (pObject != IntPtr.Zero)
     {
         SuperpoweredAdvancedAudioPlayerWrapper.ExitLoop(pObject, synchronisedStart);
     }
 }
Example #2
0
 public void StartScratch(uint slipMs, bool stopImmediately)
 {
     if (pObject != IntPtr.Zero)
     {
         SuperpoweredAdvancedAudioPlayerWrapper.StartScratch(pObject, slipMs, stopImmediately);
     }
 }
Example #3
0
 public void SetTempFolder(char[] path)
 {
     if (pObject != IntPtr.Zero)
     {
         SuperpoweredAdvancedAudioPlayerWrapper.SetTempFolder(pObject, path);
     }
 }
Example #4
0
 public void EndContinuousPitchBend()
 {
     if (pObject != IntPtr.Zero)
     {
         SuperpoweredAdvancedAudioPlayerWrapper.EndContinuousPitchBend(pObject);
     }
 }
Example #5
0
 public void ResetBendMsOffset()
 {
     if (pObject != IntPtr.Zero)
     {
         SuperpoweredAdvancedAudioPlayerWrapper.ResetBendMsOffset(pObject);
     }
 }
Example #6
0
 public void OnMediaserverInterrupt()
 {
     if (pObject != IntPtr.Zero)
     {
         SuperpoweredAdvancedAudioPlayerWrapper.OnMediaserverInterrupt(pObject);
     }
 }
Example #7
0
 public void PitchBend(float maxPercent, bool bendStretch, bool faster, uint holdMs)
 {
     if (pObject != IntPtr.Zero)
     {
         SuperpoweredAdvancedAudioPlayerWrapper.PitchBend(pObject, maxPercent, bendStretch, faster, holdMs);
     }
 }
Example #8
0
 public void SetTempo(double tempo, bool masterTempo)
 {
     if (pObject != IntPtr.Zero)
     {
         SuperpoweredAdvancedAudioPlayerWrapper.SetTempo(pObject, tempo, masterTempo);
     }
 }
Example #9
0
 public void SetPitchShiftCents(int pitchShiftCents)
 {
     if (pObject != IntPtr.Zero)
     {
         SuperpoweredAdvancedAudioPlayerWrapper.SetPitchShiftCents(pObject, pitchShiftCents);
     }
 }
Example #10
0
 public void JogTick(int value, bool bendStretch, float bendMaxPercent, uint bendHoldMs, bool parameterMode)
 {
     if (pObject != IntPtr.Zero)
     {
         SuperpoweredAdvancedAudioPlayerWrapper.JogTick(pObject, value, bendStretch, bendMaxPercent, bendHoldMs, parameterMode);
     }
 }
Example #11
0
 public void JogTouchEnd(float decelerate, bool synchronisedStart)
 {
     if (pObject != IntPtr.Zero)
     {
         SuperpoweredAdvancedAudioPlayerWrapper.JogTouchEnd(pObject, decelerate, synchronisedStart);
     }
 }
Example #12
0
 public void JogTouchBegin(int ticksPerTurn, SuperpoweredAdvancedAudioPlayerJogMode mode, uint scratchSlipMs)
 {
     if (pObject != IntPtr.Zero)
     {
         SuperpoweredAdvancedAudioPlayerWrapper.JogTouchBegin(pObject, ticksPerTurn, mode, scratchSlipMs);
     }
 }
Example #13
0
 public void SetFirstBeatMs(double ms)
 {
     if (pObject != IntPtr.Zero)
     {
         SuperpoweredAdvancedAudioPlayerWrapper.SetFirstBeatMs(pObject, ms);
     }
 }
Example #14
0
 public void SetBpm(double newBpm)
 {
     if (pObject != IntPtr.Zero)
     {
         SuperpoweredAdvancedAudioPlayerWrapper.SetBpm(pObject, newBpm);
     }
 }
Example #15
0
 public void EndScratch(bool returnToStateBeforeScratch)
 {
     if (pObject != IntPtr.Zero)
     {
         SuperpoweredAdvancedAudioPlayerWrapper.EndScratch(pObject, returnToStateBeforeScratch);
     }
 }
Example #16
0
 public void SetReverse(bool reverse, uint slipMs)
 {
     if (pObject != IntPtr.Zero)
     {
         SuperpoweredAdvancedAudioPlayerWrapper.SetReverse(pObject, reverse, slipMs);
     }
 }
Example #17
0
 public void SetSamplerate(uint sampleRate)
 {
     if (pObject != IntPtr.Zero)
     {
         SuperpoweredAdvancedAudioPlayerWrapper.SetSamplerate(pObject, sampleRate);
     }
 }
Example #18
0
 public void Scratch(double pitch, float smoothing)
 {
     if (pObject != IntPtr.Zero)
     {
         SuperpoweredAdvancedAudioPlayerWrapper.Scratch(pObject, pitch, smoothing);
     }
 }
Example #19
0
 public void SetPosition(double ms, bool andStop, bool synchronisedStart, bool forceDefaultQuantum = false, bool preferWaitingforSynchronisedStart = false)
 {
     if (pObject != IntPtr.Zero)
     {
         SuperpoweredAdvancedAudioPlayerWrapper.SetPosition(pObject, ms, andStop, synchronisedStart, forceDefaultQuantum, preferWaitingforSynchronisedStart);
     }
 }
Example #20
0
 public void Seek(double percent)
 {
     if (pObject != IntPtr.Zero)
     {
         SuperpoweredAdvancedAudioPlayerWrapper.Seek(pObject, percent);
     }
 }
Example #21
0
 public void CachePosition(double ms, byte pointID)
 {
     if (pObject != IntPtr.Zero)
     {
         SuperpoweredAdvancedAudioPlayerWrapper.CachePosition(pObject, ms, pointID);
     }
 }
Example #22
0
 public void Pause(float decelerateSeconds = 0, uint slipMs = 0)
 {
     if (pObject != IntPtr.Zero)
     {
         SuperpoweredAdvancedAudioPlayerWrapper.Pause(pObject, decelerateSeconds, slipMs);
     }
 }
Example #23
0
 public void TogglePlayback()
 {
     if (pObject != IntPtr.Zero)
     {
         SuperpoweredAdvancedAudioPlayerWrapper.TogglePlayback(pObject);
     }
 }
Example #24
0
 public void OpenHLS(string url, char[] customHTTPHeaders)
 {
     if (pObject != IntPtr.Zero)
     {
         SuperpoweredAdvancedAudioPlayerWrapper.OpenHLS(pObject, url, customHTTPHeaders);
     }
 }
Example #25
0
 public void Play(bool synchronised)
 {
     if (pObject != IntPtr.Zero)
     {
         SuperpoweredAdvancedAudioPlayerWrapper.Play(pObject, synchronised);
     }
 }
Example #26
0
 //public void Open(char[] path, int offset, int length, char[] customHTTPHeaders)
 public void Open(string path, int offset, int length, char[] customHTTPHeaders)
 {
     if (pObject != IntPtr.Zero)
     {
         SuperpoweredAdvancedAudioPlayerWrapper.Open(pObject, path, offset, length, customHTTPHeaders);
     }
 }
Example #27
0
 public void Open1(string path, char[] customHTTPHeaders = null)
 {
     if (pObject != IntPtr.Zero)
     {
         SuperpoweredAdvancedAudioPlayerWrapper.Open1(pObject, path, customHTTPHeaders);
     }
 }
Example #28
0
 public void ClearTempFolder()
 {
     if (pObject != IntPtr.Zero)
     {
         SuperpoweredAdvancedAudioPlayerWrapper.ClearTempFolder(pObject);
     }
 }
Example #29
0
        public bool ProcessMulti(float[] buffers, bool[] bufferAdds, uint numberOfSamples, float[] volumes, double masterBpm = 0.0f, double masterMsElapsedSinceLastBeat = -1.0, double phase = -1.0, double quantum = -1.0)
        {
            if (pObject != IntPtr.Zero)
            {
                return(SuperpoweredAdvancedAudioPlayerWrapper.ProcessMulti(pObject, buffers, bufferAdds, numberOfSamples, volumes, masterBpm, masterMsElapsedSinceLastBeat, phase, quantum));
            }

            return(false);
        }
Example #30
0
        public double GetMsDifference(double phase, double quantum)
        {
            if (pObject != IntPtr.Zero)
            {
                return(SuperpoweredAdvancedAudioPlayerWrapper.GetMsDifference(pObject, phase, quantum));
            }

            return(0);
        }