diff options
Diffstat (limited to 'libjava/classpath/gnu/javax/sound/sampled/gstreamer/GStreamerMixer.java')
-rw-r--r-- | libjava/classpath/gnu/javax/sound/sampled/gstreamer/GStreamerMixer.java | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/libjava/classpath/gnu/javax/sound/sampled/gstreamer/GStreamerMixer.java b/libjava/classpath/gnu/javax/sound/sampled/gstreamer/GStreamerMixer.java index aa42a4c3da8..1910ea655dd 100644 --- a/libjava/classpath/gnu/javax/sound/sampled/gstreamer/GStreamerMixer.java +++ b/libjava/classpath/gnu/javax/sound/sampled/gstreamer/GStreamerMixer.java @@ -58,43 +58,43 @@ public class GStreamerMixer public static class GstInfo extends Info { /* Mixer Properties */ - + /** Name */ private static final String name = "Classpath GStreamer Sound Audio Engine"; - + /** Vendor */ private static final String vendor = "GNU Classpath"; - + /** Description */ private static final String desc = "GStreamer-based software mixer"; - + /** Version */ private static final String vers = "0.0.1"; - + protected GstInfo() { super(name, vendor, desc, vers); } } - + public static final String GST_BACKEND = GstInfo.name; public static final String GST_DECODER = "decoder"; public static final String GST_TYPE_NAME = "type"; public static final String GST_FILE_EXTENSION = "ext"; - + /** Mixer Info */ private static final Mixer.Info INFO = new GStreamerMixer.GstInfo(); - + public Line getLine(Line.Info info) throws LineUnavailableException { // get all the lines formats supported by this mixer and // and see if there is one matching the given line - // if the format comes from the gstreamer backend + // if the format comes from the gstreamer backend // gstreamer will be able to deal with it Class clazz = info.getLineClass(); DataLine.Info _info = (DataLine.Info) info; - + if (clazz == SourceDataLine.class) { for (AudioFormat format : _info.getFormats()) @@ -107,9 +107,9 @@ public class GStreamerMixer } } } - + // TODO: we also support basic PCM - + throw new LineUnavailableException("Cannot open a line"); } @@ -162,7 +162,7 @@ public class GStreamerMixer public boolean isLineSupported(Line.Info info) { - // We support any kind of mixer that comes + // We support any kind of mixer that comes // from our gstreamer backend. // In addition, we support PCM based audio streams for // direct playback. @@ -171,7 +171,7 @@ public class GStreamerMixer DataLine.Info _dinfo = (DataLine.Info) info; _dinfo.getFormats(); } - + return true; } @@ -228,7 +228,7 @@ public class GStreamerMixer // TODO Auto-generated method stub return false; } - + public boolean isOpen() { // TODO Auto-generated method stub |