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

net.sf.fmj.media.multiplexer.audio.GsmMux Maven / Gradle / Ivy

There is a newer version: 1.0.2-jitsi
Show newest version
package net.sf.fmj.media.multiplexer.audio;

import javax.media.*;
import javax.media.format.*;
import javax.media.protocol.*;

import net.sf.fmj.media.multiplexer.*;

/**
 * Gsm Multiplexer class, actually just provides unmodified input to the output.
 *
 * @author Martin Harvan
 */
public class GsmMux extends AbstractStreamCopyMux
{
    public GsmMux()
    {
        super(new ContentDescriptor(FileTypeDescriptor.GSM));
    }

    @Override
    public Format[] getSupportedInputFormats()
    {
        return new Format[] { new AudioFormat(AudioFormat.GSM, 8000, 8, 1, -1,
                -1) };
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy