org.jcodec.movtool.streaming.tracks
Class StereoDownmixTrack

java.lang.Object
  extended by org.jcodec.movtool.streaming.tracks.StereoDownmixTrack
All Implemented Interfaces:
VirtualTrack

public class StereoDownmixTrack
extends Object
implements VirtualTrack

This class is part of JCodec ( www.jcodec.org ) This software is distributed under FreeBSD License Downmixes a set of input audio tracks ( possibly with multiple channels ) to one stereo track. Produces frames of exactly equal size regarless of underlying tracks PCM chunk sizes

Author:
The JCodec project

Nested Class Summary
protected  class StereoDownmixTrack.DownmixVirtualPacket
           
 
Nested classes/interfaces inherited from interface org.jcodec.movtool.streaming.VirtualTrack
VirtualTrack.VirtualEdit
 
Constructor Summary
StereoDownmixTrack(VirtualTrack... tracks)
           
 
Method Summary
 boolean[][] bulkGetSolo()
           
 void bulkSetSolo(boolean[][] solo)
           
 void close()
           
 VirtualTrack.VirtualEdit[] getEdits()
           
 int getPreferredTimescale()
           
 SampleEntry getSampleEntry()
           
 boolean isChannelMute(int track, int channel)
           
 VirtualPacket nextPacket()
           
 void soloChannel(int track, int channel, boolean s)
           
 void soloTrack(int track, boolean s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StereoDownmixTrack

public StereoDownmixTrack(VirtualTrack... tracks)
Method Detail

soloTrack

public void soloTrack(int track,
                      boolean s)

soloChannel

public void soloChannel(int track,
                        int channel,
                        boolean s)

isChannelMute

public boolean isChannelMute(int track,
                             int channel)

bulkGetSolo

public boolean[][] bulkGetSolo()

bulkSetSolo

public void bulkSetSolo(boolean[][] solo)

nextPacket

public VirtualPacket nextPacket()
                         throws IOException
Specified by:
nextPacket in interface VirtualTrack
Throws:
IOException

getSampleEntry

public SampleEntry getSampleEntry()
Specified by:
getSampleEntry in interface VirtualTrack

close

public void close()
           throws IOException
Specified by:
close in interface VirtualTrack
Throws:
IOException

getEdits

public VirtualTrack.VirtualEdit[] getEdits()
Specified by:
getEdits in interface VirtualTrack

getPreferredTimescale

public int getPreferredTimescale()
Specified by:
getPreferredTimescale in interface VirtualTrack


Copyright © 2013. All Rights Reserved.