net.sf.fmj.media.multiplexer.audio.GsmMux Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fmj Show documentation
Show all versions of fmj Show documentation
Freedom for Media in Java
The 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