Package quicktime.std

Examples of quicktime.std.StdQTException


/*     */
/*     */   public int getNumberOfNoteChannels()
/*     */     throws StdQTException
/*     */   {
/* 113 */     int i = TuneGetIndexedNoteChannel(_ID(), 0, null);
/* 114 */     if (i < 0) throw new StdQTException(i);
/* 115 */     return i;
/*     */   }
View Full Code Here


/*     */     throws StdQTException
/*     */   {
/* 125 */     if (paramInt > 0) {
/* 126 */       int[] arrayOfInt = { 0 };
/* 127 */       int i = TuneGetIndexedNoteChannel(_ID(), paramInt, arrayOfInt);
/* 128 */       if (i < 0) throw new StdQTException(i);
/* 129 */       return new NoteChannel(getNoteAllocator(), arrayOfInt[0], this);
/*     */     }
/* 131 */     throw new StdQTException(-2075);
/*     */   }
View Full Code Here

/*     */
/*     */   public float getVolume()
/*     */     throws StdQTException
/*     */   {
/* 207 */     int i = TuneGetVolume(_ID());
/* 208 */     if (i < 0) throw new StdQTException(i);
/* 209 */     return QTUtils.Fix2X(i);
/*     */   }
View Full Code Here

/*     */   {
/* 185 */     int i = getValueKind();
/* 186 */     if (i == 4) {
/* 187 */       return getIntFromPointer(_ID(), 12) != 0;
/*     */     }
/* 189 */     throw new StdQTException("XMLAttribute.getBoolean() : kind not attributeValueKindBoolean");
/*     */   }
View Full Code Here

/*     */   {
/* 197 */     int i = getValueKind();
/* 198 */     if (i == 8) {
/* 199 */       return getIntFromPointer(_ID(), 12) != 0;
/*     */     }
/* 201 */     throw new StdQTException("XMLAttribute.getOnOff() : kind not attributeValueKindOnOff");
/*     */   }
View Full Code Here

/* 213 */         arrayOfByte[j] = getByteFromPointer(_ID(), 12 + j);
/*     */       }
/* 215 */       return QDColor.fromArray(arrayOfByte, 6);
/*     */     }
/*     */
/* 218 */     throw new StdQTException(-50);
/*     */   }
View Full Code Here

/*     */     case 32:
/*     */     case 64:
/* 230 */       return getIntFromPointer(_ID(), 12);
/*     */     }
/*     */
/* 233 */     throw new StdQTException(-50);
/*     */   }
View Full Code Here

/*      */
/*      */   private static int allocate() throws StdQTException
/*      */   {
/*  299 */     int[] arrayOfInt = { 0 };
/*  300 */     int i = QTNewAtomContainer(arrayOfInt);
/*  301 */     if (i != 0) throw new StdQTException(i);
/*  302 */     return arrayOfInt[0];
/*      */   }
View Full Code Here

/*      */
/*      */   public void insertChildren(Atom paramAtom, AtomContainer paramAtomContainer)
/*      */     throws StdQTException
/*      */   {
/*  876 */     if (QTObject.ID(paramAtomContainer) == 0) {
/*  877 */       throw new StdQTException(-2107);
/*      */     }
/*  879 */     StdQTException.checkError(QTInsertChildren(_ID(), paramAtom != null ? paramAtom.getAtom() : 0, QTObject.ID(paramAtomContainer)));
/*      */   }
View Full Code Here

/*      */
/*      */   public void replaceAtom(Atom paramAtom1, AtomContainer paramAtomContainer, Atom paramAtom2)
/*      */     throws StdQTException
/*      */   {
/*  917 */     if (QTObject.ID(paramAtomContainer) == 0) {
/*  918 */       throw new StdQTException(-2107);
/*      */     }
/*  920 */     StdQTException.checkError(QTReplaceAtom(_ID(), paramAtom1.getAtom(), QTObject.ID(paramAtomContainer), paramAtom2.getAtom()));
/*      */   }
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.