Package quicktime.std

Examples of quicktime.std.StdQTException


/*     */   private static int allocate(TimeBase paramTimeBase, int paramInt) throws QTException {
/* 140 */     int i = 0;
/* 141 */     synchronized (QTNative.globalsLock) {
/* 142 */       i = NewCallBack(QTObject.ID(paramTimeBase), (short)(paramInt | 0x8000));
/*     */     }
/* 144 */     if (i == 0) throw new StdQTException("QTCallback.<init>");
/* 145 */     return i;
/*     */   }
View Full Code Here


/*     */   public int getKnob(int paramInt)
/*     */     throws StdQTException
/*     */   {
/* 101 */     int i = MusicGetKnob(_ID(), paramInt);
/* 102 */     if ((i >>> 16 == 32768) && ((i | 0xFFFF) != 0))
/* 103 */       throw new StdQTException(i | 0xFFFF);
/* 104 */     return i;
/*     */   }
View Full Code Here

/*     */   public float getMasterTune()
/*     */     throws StdQTException
/*     */   {
/* 164 */     int i = MusicGetMasterTune(_ID());
/* 165 */     if (i < 0)
/* 166 */       throw new StdQTException(i);
/* 167 */     return QTUtils.Fix2X(i);
/*     */   }
View Full Code Here

/*     */   }
/*     */
/*     */   public int addAttribute(int paramInt1, int paramInt2, String paramString, int paramInt3)
/*     */     throws StdQTException
/*     */   {
/* 187 */     if (paramInt1 == 0) throw new StdQTException(-50);
/* 188 */     int[] arrayOfInt = { paramInt3 };
/*     */
/* 190 */     int i = XMLParseAddAttribute(_ID(), paramInt1, paramInt2, QTUtils.String2CString(paramString), arrayOfInt);
/* 191 */     StdQTException.checkError(i);
/* 192 */     return arrayOfInt[0];
View Full Code Here

/*     */   }
/*     */
/*     */   public void addAttributeValueKind(int paramInt1, int paramInt2, int paramInt3, byte[] paramArrayOfByte)
/*     */     throws StdQTException
/*     */   {
/* 212 */     if (paramInt1 == 0) throw new StdQTException(-50);
/* 213 */     if (paramInt2 == 0) throw new StdQTException(-50);
/* 214 */     int i = XMLParseAddAttributeValueKind(_ID(), paramInt1, paramInt2, paramInt3, paramArrayOfByte);
/* 215 */     StdQTException.checkError(i);
/*     */   }
View Full Code Here

/*     */   }
/*     */
/*     */   public int addAttributeAndValue(int paramInt1, int paramInt2, String paramString, int paramInt3, int paramInt4, byte[] paramArrayOfByte)
/*     */     throws StdQTException
/*     */   {
/* 376 */     if (paramInt1 == 0) throw new StdQTException(-50);
/* 377 */     int[] arrayOfInt = { paramInt3 };
/* 378 */     int i = XMLParseAddAttributeAndValue(_ID(), paramInt1, paramInt2, QTUtils.String2CString(paramString), arrayOfInt, paramInt4, paramArrayOfByte);
/* 379 */     StdQTException.checkError(i);
/* 380 */     return arrayOfInt[0];
/*     */   }
View Full Code Here

/*     */   }
/*     */
/*     */   public void addNameSpace(int paramInt, String paramString)
/*     */     throws StdQTException
/*     */   {
/* 545 */     if (paramInt == 0) throw new StdQTException(-50);
/* 546 */     int[] arrayOfInt = { paramInt };
/* 547 */     int i = XMLParseAddNameSpace(_ID(), QTUtils.String2CString(paramString), arrayOfInt);
/* 548 */     StdQTException.checkError(i);
/*     */   }
View Full Code Here

/*     */   }
/*     */
/*     */   public void setGWorld(QDGraphics paramQDGraphics, GDevice paramGDevice)
/*     */     throws StdQTException
/*     */   {
/* 127 */     if (paramQDGraphics == null) throw new StdQTException(-50);
/* 128 */     int i = 0;
/* 129 */     synchronized (QTNative.globalsLock) {
/* 130 */       i = SGSetGWorld(_ID(), QTObject.ID(paramQDGraphics), QTObject.ID(paramGDevice));
/*     */     }
/*     */
View Full Code Here

/*     */   {
/* 101 */     if (getKind() == 1) {
/* 102 */       int i = getIntFromPointer(_ID(), 4);
/* 103 */       return new XMLElement(i);
/*     */     }
/* 105 */     throw new StdQTException(-50);
/*     */   }
View Full Code Here

/*     */   {
/* 114 */     if (getKind() == 2) {
/* 115 */       int i = getIntFromPointer(_ID(), 4);
/* 116 */       return getStringFromPointer(i);
/*     */     }
/* 118 */     throw new StdQTException(-50);
/*     */   }
View Full Code Here

TOP

Related Classes of quicktime.std.StdQTException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.