All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.sourceforge.jaad.aac.syntax.DSE Maven / Gradle / Ivy

There is a newer version: 0.2.5
Show newest version
package net.sourceforge.jaad.aac.syntax;

import net.sourceforge.jaad.aac.AACException;

/**
 * This class is part of JAAD ( jaadec.sourceforge.net ) that is distributed
 * under the Public Domain license. Code changes provided by the JCodec project
 * are distributed under FreeBSD license. 
 *
 * @author in-somnia
 */
class DSE extends Element {

	private byte[] dataStreamBytes;

	DSE() {
		super();
	}

	void decode(IBitStream _in) throws AACException {
		final boolean byteAlign = _in.readBool();
		int count = _in.readBits(8);
		if(count==255) count += _in.readBits(8);

		if(byteAlign) _in.byteAlign();

		dataStreamBytes = new byte[count];
		for(int i = 0; i




© 2015 - 2024 Weber Informatics LLC | Privacy Policy