KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > media > engine > audio > AudioGenericPluginSupport


1 /*
2  * JBoss, the OpenSource J2EE webOS
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  */

7
8
9 package org.jboss.media.engine.audio;
10
11 import javax.media.Format;
12 import javax.media.format.AudioFormat;
13
14 import org.jboss.media.engine.JmfAbstractMediaPlugin;
15
16 /**
17  * @version <tt>$Revision: 1.3 $</tt>
18  * @author <a HREF="mailto:spyridon_samothrakis@yahoo.com">Spyridon Samothrakis</a>
19  */

20 public class AudioGenericPluginSupport
21    extends JmfAbstractMediaPlugin
22 {
23    // support everything
24
AudioFormat[] inputFormats = new AudioFormat[] {new AudioFormat(null)};
25         
26
27     /**
28      * @see org.jboss.media.engine.MediaGenericPlugin#getSupportedFormats()
29      */

30     public Format[] getSupportedFormats()
31     {
32         return inputFormats;
33     }
34
35 }
36
Popular Tags