Esempio n. 1
0
        public AudioPlaybackBase(DataSource DataSource, Time OffsetCorrection)
        {
            _setup    = SetupStream;
            _setSpeed = SetPlaybackSpeed;
            _start    = StartStream;
            _pause    = PauseStream;
            _stop     = StopStream;

            _pointer = CreateAudioPlayback(DataSource.Pointer, OffsetCorrection, _setup, _setSpeed, _start, _pause, _stop);
        }
Esempio n. 2
0
 private static extern IntPtr CreateAudioPlayback(IntPtr DataSourcePointer, Time OffsetCorrection, SetupStreamCB SetupCB, SetPlaybackSpeedCB SetSpeedCB, ChangeStateCB StartCB, ChangeStateCB PauseCB, ChangeStateCB StopCB);