Examples of SoundInfo


Examples of flash.swf.types.SoundInfo

        return t;
    }

    private SoundInfo decodeSoundInfo() throws IOException
    {
        SoundInfo i = new SoundInfo();

        r.syncBits();

        r.readUBits(2); // reserved
        i.syncStop = r.readBit();
View Full Code Here

Examples of flash.swf.types.SoundInfo

        return t;
    }

    private SoundInfo decodeSoundInfo() throws IOException
    {
        SoundInfo i = new SoundInfo();

        r.syncBits();

        r.readUBits(2); // reserved
        i.syncStop = r.readBit();
View Full Code Here

Examples of org.apache.flex.swf.types.SoundInfo

    }

    private StartSoundTag readStartSound() throws MalformedTagException
    {
        final int soundId = bitStream.readUI16();
        final SoundInfo soundInfo = readSoundInfo();

        final StartSoundTag tag = new StartSoundTag();
        tag.setSoundTag(getTagById(soundId, tag.getTagType()));
        tag.setSoundInfo(soundInfo);
        return tag;
View Full Code Here

Examples of org.apache.flex.swf.types.SoundInfo

    }

    private StartSound2Tag readStartSound2()
    {
        final String soundClassName = bitStream.readString();
        final SoundInfo soundInfo = readSoundInfo();

        final StartSound2Tag tag = new StartSound2Tag();
        tag.setSoundClassName(soundClassName);
        tag.setSoundInfo(soundInfo);
        return tag;
View Full Code Here

Examples of org.apache.flex.swf.types.SoundInfo

            envelopeRecords[i].setPos44(bitStream.readUI32());
            envelopeRecords[i].setLeftLevel(bitStream.readUI16());
            envelopeRecords[i].setRightLevel(bitStream.readUI16());
        }

        final SoundInfo soundInfo = new SoundInfo();
        soundInfo.setSyncStop(syncStop);
        soundInfo.setSyncNoMultiple(syncNoMultiple);
        soundInfo.setHasEnvelope(hasEnvelope);
        soundInfo.setHasLoops(hasLoops);
        soundInfo.setHasOutPoint(hasOutPoint);
        soundInfo.setHasInPoint(hasInPoint);
        soundInfo.setInPoint(inPoint);
        soundInfo.setOutPoint(outPoint);
        soundInfo.setLoopCount(loopCount);
        soundInfo.setEnvPoints(envPoints);
        soundInfo.setEnvelopeRecords(envelopeRecords);
        return soundInfo;
    }
View Full Code Here

Examples of tv.porst.swfretools.parser.structures.SoundInfo

   */
  public static DefineButtonSoundTag parse(final RecordHeader header, final SWFBinaryParser parser) throws SWFParserException {

    final UINT16 buttonId = parseUINT16(parser, 0x00006, "DefineButtonSound::ButtonId");
    final UINT16 buttonSoundChar0 = parseUINT16(parser, 0x00006, "DefineButtonSound::ButtonSoundChar0");
    final SoundInfo buttonSoundInfo0 = SoundInfoParser.parseIf(parser, buttonSoundChar0.value() != 0, "DefineButtonSound::ButtonSoundInfo0");
    final UINT16 buttonSoundChar1 = parseUINT16(parser, 0x00006, "DefineButtonSound::ButtonSoundChar1");
    final SoundInfo buttonSoundInfo1 = SoundInfoParser.parseIf(parser, buttonSoundChar1.value() != 0, "DefineButtonSound::ButtonSoundInfo1");
    final UINT16 buttonSoundChar2 = parseUINT16(parser, 0x00006, "DefineButtonSound::ButtonSoundChar2");
    final SoundInfo buttonSoundInfo2 = SoundInfoParser.parseIf(parser, buttonSoundChar2.value() != 0, "DefineButtonSound::ButtonSoundInfo2");
    final UINT16 buttonSoundChar3 = parseUINT16(parser, 0x00006, "DefineButtonSound::ButtonSoundChar3");
    final SoundInfo buttonSoundInfo3 = SoundInfoParser.parseIf(parser, buttonSoundChar3.value() != 0, "DefineButtonSound::ButtonSoundInfo3");

    return new DefineButtonSoundTag(header, buttonId, buttonSoundChar0, buttonSoundInfo0,
        buttonSoundChar1, buttonSoundInfo1, buttonSoundChar2, buttonSoundInfo2,
        buttonSoundChar3, buttonSoundInfo3);
  }
View Full Code Here

Examples of tv.porst.swfretools.parser.structures.SoundInfo

   * @throws SWFParserException Thrown if parsing the tag failed.
   */
  public static StartSound2Tag parse(final RecordHeader header, final SWFBinaryParser parser) throws SWFParserException {

    final AsciiString soundClassName = parseString(parser, 0x00006, "StartSound2::SoundClassName");
    final SoundInfo soundInfo = SoundInfoParser.parse(parser, "StartSound2::SoundInfo");

    return new StartSound2Tag(header, soundClassName, soundInfo);
  }
View Full Code Here

Examples of tv.porst.swfretools.parser.structures.SoundInfo

   * @throws SWFParserException Thrown if parsing the tag failed.
   */
  public static StartSoundTag parse(final RecordHeader header, final SWFBinaryParser parser) throws SWFParserException {

    final UINT16 soundId = parseUINT16(parser, 0x00006, "StartSound::SoundId");
    final SoundInfo soundInfo = SoundInfoParser.parse(parser, "StartSound::SoundInfo");

    return new StartSoundTag(header, soundId, soundInfo);
  }
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.