Ejemplo n.º 1
0
        public void Stop()
        {
            VerifyObjectIsNotDisposed();
            //
            libvlc_exception_t exc = new libvlc_exception_t();

            LibVlcInterop.libvlc_exception_init(ref exc);
            LibVlcInterop.libvlc_media_player_stop(descriptor, ref exc);
            if (exc.b_raised != 0)
            {
                throw new VlcInternalException(exc.Message);
            }
        }
Ejemplo n.º 2
0
 public void Stop()
 {
     VerifyObjectIsNotDisposed();
     //
     LibVlcInterop.libvlc_media_player_stop(descriptor);
 }