Пример #1
0
 protected internal override void  closeImpl()
 {
     if (source != null)
     {
         source.close();
     }
 }
Пример #2
0
        public virtual void stopSound()
        {
            done = true;
            while (!threadExit)
            {
                Utilities.sleep(1, 0);
            }

            if (mLine != null)
            {
                mLine.close();
            }

            if (memInfo != null)
            {
                Modules.SysMemUserForUserModule.free(memInfo);
                memInfo     = null;
                samplesAddr = 0;
                inputAddr   = 0;
            }
        }