/* */ package quicktime.std.sg;
/* */
/* */ import quicktime.QTException;
/* */ import quicktime.QTSession;
/* */ import quicktime.std.StdQTException;
/* */ import quicktime.std.movies.media.MusicDescription;
/* */ import quicktime.std.movies.media.SampleDescription;
/* */ import quicktime.std.music.ToneDescription;
/* */
/* */ public final class SGMusicChannel extends AudioChannel
/* */ {
/* 28 */ private static boolean apriori = QTSession.apriori();
/* */
/* */ SGMusicChannel(int paramInt, SequenceGrabber paramSequenceGrabber) throws StdQTException
/* */ {
/* 32 */ super(paramInt, paramSequenceGrabber);
/* */ }
/* */
/* */ public SGMusicChannel(SequenceGrabber paramSequenceGrabber)
/* */ throws StdQTException
/* */ {
/* 42 */ super(paramSequenceGrabber, 1836413801);
/* */ }
/* */
/* */ final SampleDescription makeDescription()
/* */ throws QTException
/* */ {
/* 48 */ return new MusicDescription();
/* */ }
/* */
/* */ public final MusicDescription getMusicDescription()
/* */ throws QTException
/* */ {
/* 57 */ return (MusicDescription)getSampleDescription();
/* */ }
/* */
/* */ public ToneDescription getInstrument()
/* */ throws StdQTException
/* */ {
/* 66 */ ToneDescription localToneDescription = new ToneDescription();
/* 67 */ int i = SGGetInstrument(_ID(), localToneDescription.getBytes());
/* 68 */ StdQTException.checkError(i);
/* 69 */ return localToneDescription;
/* */ }
/* */
/* */ public void setInstrument(ToneDescription paramToneDescription)
/* */ throws StdQTException
/* */ {
/* 78 */ int i = SGSetInstrument(_ID(), paramToneDescription.getBytes());
/* 79 */ StdQTException.checkError(i);
/* */ }
/* */
/* */ private static native int SGGetInstrument(int paramInt, byte[] paramArrayOfByte);
/* */
/* */ private static native int SGSetInstrument(int paramInt, byte[] paramArrayOfByte);
/* */ }
/* Location: Z:\System\Library\Java\Extensions\QTJava.zip
* Qualified Name: quicktime.std.sg.SGMusicChannel
* JD-Core Version: 0.6.2
*/