Class AudioSystem
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/sound/sampled/AudioSystem.html
public class AudioSystem : JVMBridgeBase<AudioSystem>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<AudioSystem>AudioSystem
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<AudioSystem>.SExecuteWithSignatureArray<T>(IJavaType, string, string, params object[])JVMBridgeBase<AudioSystem>.IsAssignableFrom(IJavaType)JVMBridgeBase<AudioSystem>.IsAssignableFrom<T>()JVMBridgeBase<AudioSystem>.Execute<T>(params T[])JVMBridgeBase<AudioSystem>.DynBridgeClazzJVMBridgeBase<AudioSystem>.BridgeClazzJVMBridgeBase.RuntimeClassNameOf<T>()JVMBridgeBase.ClassNameOf<T>()JVMBridgeBase.ClassOf<T>()JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)JVMBridgeBase.MonitorEnter()JVMBridgeBase.MonitorExit()JVMBridgeBase.IsInstanceOf(IJavaType)JVMBridgeBase.IsInstanceOf<T>()JVMBridgeBase.RuntimeIsInstanceOf<T>()JVMBridgeBase.CastTo<TNewClass>()JVMBridgeBase.CastDirect<TNewClass>()JVMBridgeBase.Dispose()JVMBridgeBase.ToString()JVMBridgeBase.GetHashCode()JVMBridgeBase.Notify()JVMBridgeBase.NotifyAll()JVMBridgeBase.Wait()JVMBridgeBase.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeListener
- Extension Methods
Constructors
AudioSystem()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public AudioSystem()
AudioSystem(params object[])
Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
public AudioSystem(params object[] args)
Parameters
args
object[]
Properties
AudioFileTypes
public static AudioFileFormat.Type[] AudioFileTypes { get; }
Property Value
- Type[]
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
Clip
public static Clip Clip { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
MixerInfo
public static Mixer.Info[] MixerInfo { get; }
Property Value
- Info[]
NOT_SPECIFIED
public static int NOT_SPECIFIED { get; }
Property Value
Methods
GetAudioFileFormat(File)
public static AudioFileFormat GetAudioFileFormat(File arg0)
Parameters
Returns
Exceptions
GetAudioFileFormat(InputStream)
public static AudioFileFormat GetAudioFileFormat(InputStream arg0)
Parameters
arg0
InputStream
Returns
Exceptions
GetAudioFileFormat(URL)
public static AudioFileFormat GetAudioFileFormat(URL arg0)
Parameters
Returns
Exceptions
GetAudioFileTypes(AudioInputStream)
public static AudioFileFormat.Type[] GetAudioFileTypes(AudioInputStream arg0)
Parameters
Returns
GetAudioInputStream(File)
public static AudioInputStream GetAudioInputStream(File arg0)
Parameters
Returns
Exceptions
GetAudioInputStream(InputStream)
public static AudioInputStream GetAudioInputStream(InputStream arg0)
Parameters
arg0
InputStream
Returns
Exceptions
GetAudioInputStream(URL)
public static AudioInputStream GetAudioInputStream(URL arg0)
Parameters
Returns
Exceptions
GetAudioInputStream(AudioFormat, AudioInputStream)
public static AudioInputStream GetAudioInputStream(AudioFormat arg0, AudioInputStream arg1)
Parameters
Returns
GetAudioInputStream(Encoding, AudioInputStream)
public static AudioInputStream GetAudioInputStream(AudioFormat.Encoding arg0, AudioInputStream arg1)
Parameters
Returns
GetClip(Info)
public static Clip GetClip(Mixer.Info arg0)
Parameters
Returns
Exceptions
GetLine(Info)
public static Line GetLine(Line.Info arg0)
Parameters
Returns
Exceptions
GetMixer(Info)
public static Mixer GetMixer(Mixer.Info arg0)
Parameters
Returns
GetSourceDataLine(AudioFormat)
public static SourceDataLine GetSourceDataLine(AudioFormat arg0)
Parameters
arg0
AudioFormat
Returns
Exceptions
GetSourceDataLine(AudioFormat, Info)
public static SourceDataLine GetSourceDataLine(AudioFormat arg0, Mixer.Info arg1)
Parameters
arg0
AudioFormatarg1
Mixer.Info
Returns
Exceptions
GetSourceLineInfo(Info)
public static Line.Info[] GetSourceLineInfo(Line.Info arg0)
Parameters
Returns
GetTargetDataLine(AudioFormat)
public static TargetDataLine GetTargetDataLine(AudioFormat arg0)
Parameters
arg0
AudioFormat
Returns
Exceptions
GetTargetDataLine(AudioFormat, Info)
public static TargetDataLine GetTargetDataLine(AudioFormat arg0, Mixer.Info arg1)
Parameters
arg0
AudioFormatarg1
Mixer.Info
Returns
Exceptions
GetTargetEncodings(AudioFormat)
public static AudioFormat.Encoding[] GetTargetEncodings(AudioFormat arg0)
Parameters
arg0
AudioFormat
Returns
GetTargetEncodings(Encoding)
public static AudioFormat.Encoding[] GetTargetEncodings(AudioFormat.Encoding arg0)
Parameters
Returns
GetTargetFormats(Encoding, AudioFormat)
public static AudioFormat[] GetTargetFormats(AudioFormat.Encoding arg0, AudioFormat arg1)
Parameters
Returns
GetTargetLineInfo(Info)
public static Line.Info[] GetTargetLineInfo(Line.Info arg0)
Parameters
Returns
IsConversionSupported(AudioFormat, AudioFormat)
public static bool IsConversionSupported(AudioFormat arg0, AudioFormat arg1)
Parameters
arg0
AudioFormatarg1
AudioFormat
Returns
IsConversionSupported(Encoding, AudioFormat)
public static bool IsConversionSupported(AudioFormat.Encoding arg0, AudioFormat arg1)
Parameters
Returns
IsFileTypeSupported(Type)
public static bool IsFileTypeSupported(AudioFileFormat.Type arg0)
Parameters
Returns
IsFileTypeSupported(Type, AudioInputStream)
public static bool IsFileTypeSupported(AudioFileFormat.Type arg0, AudioInputStream arg1)
Parameters
Returns
IsLineSupported(Info)
public static bool IsLineSupported(Line.Info arg0)
Parameters
Returns
Write(AudioInputStream, Type, File)
public static int Write(AudioInputStream arg0, AudioFileFormat.Type arg1, File arg2)
Parameters
arg0
AudioInputStreamarg1
AudioFileFormat.Typearg2
File
Returns
Exceptions
Write(AudioInputStream, Type, OutputStream)
public static int Write(AudioInputStream arg0, AudioFileFormat.Type arg1, OutputStream arg2)
Parameters
arg0
AudioInputStreamarg1
AudioFileFormat.Typearg2
OutputStream