Examples of CAMemoryObject


Examples of com.apple.audio.util.CAMemoryObject

/*     */   {
/* 727 */     synchronized (this.outSize_A) {
/* 728 */       this.outSize_A.setIntAt(0, 4);
/* 729 */       int i = AudioDeviceGetPropertyInfo(_ID(), 0, (byte)0, 1851878757, CAObject.ID(this.outSize_A), CAObject.ID(this.outSize_B));
/* 730 */       CAException.checkError(i);
/* 731 */       CAMemoryObject localCAMemoryObject = new CAMemoryObject(this.outSize_A.getIntAt(0), false);
/* 732 */       i = AudioDeviceGetProperty(_ID(), 0, (byte)0, 1851878757, CAObject.ID(this.outSize_A), CAObject.ID(localCAMemoryObject));
/* 733 */       CAException.checkError(i);
/* 734 */       return localCAMemoryObject.getCStringAt(0);
/*     */     }
/*     */   }
View Full Code Here

Examples of com.apple.audio.util.CAMemoryObject

/*     */
/*     */   public AudioStream[] getOutputStreams()
/*     */     throws CAException
/*     */   {
/* 753 */     int i = getOutputPropertyInfoSize(0, 1937009955);
/* 754 */     CAMemoryObject localCAMemoryObject = new CAMemoryObject(i, false);
/* 755 */     i = getOutputProperty(0, 1937009955, localCAMemoryObject);
/* 756 */     AudioStream[] arrayOfAudioStream = new AudioStream[i / 4];
/* 757 */     for (int j = 0; j < arrayOfAudioStream.length; j++)
/* 758 */       arrayOfAudioStream[j] = new AudioStream(localCAMemoryObject.getIntAt(j * 4), this, true);
/* 759 */     return arrayOfAudioStream;
/*     */   }
View Full Code Here

Examples of com.apple.audio.util.CAMemoryObject

/*     */
/*     */   public AudioStream[] getInputStreams()
/*     */     throws CAException
/*     */   {
/* 766 */     int i = getInputPropertyInfoSize(0, 1937009955);
/* 767 */     CAMemoryObject localCAMemoryObject = new CAMemoryObject(i, false);
/* 768 */     i = getInputProperty(0, 1937009955, localCAMemoryObject);
/* 769 */     AudioStream[] arrayOfAudioStream = new AudioStream[i / 4];
/* 770 */     for (int j = 0; j < arrayOfAudioStream.length; j++)
/* 771 */       arrayOfAudioStream[j] = new AudioStream(localCAMemoryObject.getIntAt(j * 4), this, false);
/* 772 */     return arrayOfAudioStream;
/*     */   }
View Full Code Here

Examples of com.apple.audio.util.CAMemoryObject

/*     */   String name;
/*     */   String info;
/*     */
/*     */   public ComponentDescription()
/*     */   {
/*  35 */     this.desc = new CAMemoryObject(20, true);
/*  36 */     this.descPtr = CAObject.ID(this.desc);
/*     */   }
View Full Code Here

Examples of com.apple.audio.util.CAMemoryObject

/*     */   public boolean equals(Object paramObject)
/*     */   {
/* 249 */     if (this == paramObject)
/* 250 */       return true;
/* 251 */     if ((paramObject != null) && ((paramObject instanceof ComponentDescription))) {
/* 252 */       CAMemoryObject localCAMemoryObject = ((ComponentDescription)paramObject).desc;
/* 253 */       for (int i = 0; i < 20; i += 4) {
/* 254 */         if (this.desc.getIntAt(i) != localCAMemoryObject.getIntAt(i))
/* 255 */           return false;
/*     */       }
/* 257 */       return true;
/*     */     }
/* 259 */     return false;
View Full Code Here

Examples of com.apple.audio.util.CAMemoryObject

/*     */       }
/*     */
/*     */     }
/*     */
/*  72 */     if (this.fsspec == null)
/*  73 */       this.fsspec = new CAMemoryObject(262, true);
/*  74 */     int i = JNIUnits.makeFSSpec(str, CAObject.ID(this.fsspec));
/*  75 */     CAException.checkError(i);
/*  76 */     setProperty(1003, 0, 0, this.fsspec);
/*     */   }
View Full Code Here

Examples of com.apple.audio.util.CAMemoryObject

/*     */
/*     */   public CAMemoryObject getClassData()
/*     */     throws CAException
/*     */   {
/* 589 */     int i = getPropertySize(0, 0, 0);
/* 590 */     CAMemoryObject localCAMemoryObject = new CAMemoryObject(i, false);
/* 591 */     getProperty(0, 0, 0, localCAMemoryObject);
/* 592 */     return localCAMemoryObject;
/*     */   }
View Full Code Here

Examples of com.apple.audio.util.CAMemoryObject

/*  69 */     this.isRender = paramBoolean;
/*  70 */     this.cacheBuffer = new AUBuffer(this);
/*  71 */     this.cacheTimeStamp = new AUTimeStamp(this);
/*  72 */     this.mMethodClosure = MethodClosure.JNewMethodClosure(this, "renderCallback", "(IIII)I");
/*  73 */     if (this.isRender) {
/*  74 */       this.cbStruct = new CAMemoryObject(8, true);
/*  75 */       this.cbStruct.setIntAt(0, renderProc);
/*  76 */       this.cbStruct.setIntAt(4, this.mMethodClosure);
/*     */     }
/*     */   }
View Full Code Here

Examples of com.apple.audio.util.CAMemoryObject

/*     */
/*     */   public static synchronized AudioDevice[] getAudioDevices()
/*     */     throws CAException
/*     */   {
/* 122 */     int i = getPropertyInfoSize(1684370979);
/* 123 */     CAMemoryObject localCAMemoryObject = null;
/* 124 */     if (i == 4)
/* 125 */       localCAMemoryObject = retSize4_B;
/*     */     else
/* 127 */       localCAMemoryObject = new CAMemoryObject(i, false);
/* 128 */     retSize4_A.setIntAt(0, i);
/* 129 */     int j = AudioHardwareGetProperty(1684370979, CAObject.ID(retSize4_A), CAObject.ID(localCAMemoryObject));
/* 130 */     CAException.checkError(j);
/* 131 */     AudioDevice[] arrayOfAudioDevice = new AudioDevice[retSize4_A.getIntAt(0) / 4];
/* 132 */     for (int k = 0; k < arrayOfAudioDevice.length; k++)
/* 133 */       arrayOfAudioDevice[k] = AudioDevice.makeDevice(localCAMemoryObject.getIntAt(k * 4));
/* 134 */     return arrayOfAudioDevice;
/*     */   }
View Full Code Here

Examples of com.apple.audio.util.CAMemoryObject

/*     */
/*     */   private static int alloc(CAFString paramCAFString, MIDINotifyProc paramMIDINotifyProc)
/*     */     throws CAException
/*     */   {
/*  57 */     allocDispatcher = paramMIDINotifyProc == null ? null : new MIDIDispatcher(paramMIDINotifyProc);
/*  58 */     CAMemoryObject localCAMemoryObject = new CAMemoryObject(4, false);
/*  59 */     int i = MIDIClientCreate(CAObject.ID(paramCAFString), allocDispatcher == null ? 0 : allocDispatcher.ID(), 0, CAObject.ID(localCAMemoryObject));
/*     */
/*  63 */     CAException.checkError(i);
/*  64 */     return localCAMemoryObject.getIntAt(0);
/*     */   }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.