org.jcodec.movtool.streaming.tracks
Class DownmixHelper

java.lang.Object
  extended by org.jcodec.movtool.streaming.tracks.DownmixHelper

public class DownmixHelper
extends Object

This class is part of JCodec ( www.jcodec.org ) This software is distributed under FreeBSD License Downmixes PCM audio data into 16 bit stereo track

Author:
The JCodec project

Constructor Summary
DownmixHelper(AudioSampleEntry[] se, int nSamples, boolean[][] solo)
           
 
Method Summary
static float clamp1f(float f)
           
 void downmix(ByteBuffer[] data, ByteBuffer out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DownmixHelper

public DownmixHelper(AudioSampleEntry[] se,
                     int nSamples,
                     boolean[][] solo)
Method Detail

downmix

public void downmix(ByteBuffer[] data,
                    ByteBuffer out)

clamp1f

public static final float clamp1f(float f)


Copyright © 2013. All Rights Reserved.