Table of Contents

Class AudioSystem

Namespace
Javax.Sound.Sampled
Assembly
MASES.JNet.dll
public class AudioSystem : JVMBridgeBase<AudioSystem>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<AudioSystem>
AudioSystem
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<AudioSystem>.IsAssignableFrom(IJavaType)
JVMBridgeBase<AudioSystem>.IsAssignableFrom<T>()
JVMBridgeBase<AudioSystem>.Execute<T>(params T[])
JVMBridgeBase<AudioSystem>.DynBridgeClazz
JVMBridgeBase<AudioSystem>.BridgeClazz
JVMBridgeBase.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.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.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

public override string BridgeClassName { get; }

Property Value

string

Clip

public static Clip Clip { get; }

Property Value

Clip

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

MixerInfo

public static Mixer.Info[] MixerInfo { get; }

Property Value

Info[]

NOT_SPECIFIED

public static int NOT_SPECIFIED { get; }

Property Value

int

Methods

GetAudioFileFormat(File)

public static AudioFileFormat GetAudioFileFormat(File arg0)

Parameters

arg0 File

File

Returns

AudioFileFormat

AudioFileFormat

Exceptions

UnsupportedAudioFileException
IOException

GetAudioFileFormat(InputStream)

public static AudioFileFormat GetAudioFileFormat(InputStream arg0)

Parameters

arg0 InputStream

InputStream

Returns

AudioFileFormat

AudioFileFormat

Exceptions

UnsupportedAudioFileException
IOException

GetAudioFileFormat(URL)

public static AudioFileFormat GetAudioFileFormat(URL arg0)

Parameters

arg0 URL

URL

Returns

AudioFileFormat

AudioFileFormat

Exceptions

UnsupportedAudioFileException
IOException

GetAudioFileTypes(AudioInputStream)

public static AudioFileFormat.Type[] GetAudioFileTypes(AudioInputStream arg0)

Parameters

arg0 AudioInputStream

AudioInputStream

Returns

Type[]

AudioFileFormat.Type

GetAudioInputStream(File)

public static AudioInputStream GetAudioInputStream(File arg0)

Parameters

arg0 File

File

Returns

AudioInputStream

AudioInputStream

Exceptions

UnsupportedAudioFileException
IOException

GetAudioInputStream(InputStream)

public static AudioInputStream GetAudioInputStream(InputStream arg0)

Parameters

arg0 InputStream

InputStream

Returns

AudioInputStream

AudioInputStream

Exceptions

UnsupportedAudioFileException
IOException

GetAudioInputStream(URL)

public static AudioInputStream GetAudioInputStream(URL arg0)

Parameters

arg0 URL

URL

Returns

AudioInputStream

AudioInputStream

Exceptions

UnsupportedAudioFileException
IOException

GetAudioInputStream(AudioFormat, AudioInputStream)

public static AudioInputStream GetAudioInputStream(AudioFormat arg0, AudioInputStream arg1)

Parameters

arg0 AudioFormat

AudioFormat

arg1 AudioInputStream

AudioInputStream

Returns

AudioInputStream

AudioInputStream

GetAudioInputStream(Encoding, AudioInputStream)

public static AudioInputStream GetAudioInputStream(AudioFormat.Encoding arg0, AudioInputStream arg1)

Parameters

arg0 AudioFormat.Encoding

AudioFormat.Encoding

arg1 AudioInputStream

AudioInputStream

Returns

AudioInputStream

AudioInputStream

GetClip(Info)

public static Clip GetClip(Mixer.Info arg0)

Parameters

arg0 Mixer.Info

Mixer.Info

Returns

Clip

Clip

Exceptions

LineUnavailableException

GetLine(Info)

public static Line GetLine(Line.Info arg0)

Parameters

arg0 Line.Info

Line.Info

Returns

Line

Line

Exceptions

LineUnavailableException

GetMixer(Info)

public static Mixer GetMixer(Mixer.Info arg0)

Parameters

arg0 Mixer.Info

Mixer.Info

Returns

Mixer

Mixer

GetSourceDataLine(AudioFormat)

public static SourceDataLine GetSourceDataLine(AudioFormat arg0)

Parameters

arg0 AudioFormat

AudioFormat

Returns

SourceDataLine

SourceDataLine

Exceptions

LineUnavailableException

GetSourceDataLine(AudioFormat, Info)

public static SourceDataLine GetSourceDataLine(AudioFormat arg0, Mixer.Info arg1)

Parameters

arg0 AudioFormat

AudioFormat

arg1 Mixer.Info

Mixer.Info

Returns

SourceDataLine

SourceDataLine

Exceptions

LineUnavailableException

GetSourceLineInfo(Info)

public static Line.Info[] GetSourceLineInfo(Line.Info arg0)

Parameters

arg0 Line.Info

Line.Info

Returns

Info[]

Line.Info

GetTargetDataLine(AudioFormat)

public static TargetDataLine GetTargetDataLine(AudioFormat arg0)

Parameters

arg0 AudioFormat

AudioFormat

Returns

TargetDataLine

TargetDataLine

Exceptions

LineUnavailableException

GetTargetDataLine(AudioFormat, Info)

public static TargetDataLine GetTargetDataLine(AudioFormat arg0, Mixer.Info arg1)

Parameters

arg0 AudioFormat

AudioFormat

arg1 Mixer.Info

Mixer.Info

Returns

TargetDataLine

TargetDataLine

Exceptions

LineUnavailableException

GetTargetEncodings(AudioFormat)

public static AudioFormat.Encoding[] GetTargetEncodings(AudioFormat arg0)

Parameters

arg0 AudioFormat

AudioFormat

Returns

Encoding[]

AudioFormat.Encoding

GetTargetEncodings(Encoding)

public static AudioFormat.Encoding[] GetTargetEncodings(AudioFormat.Encoding arg0)

Parameters

arg0 AudioFormat.Encoding

AudioFormat.Encoding

Returns

Encoding[]

AudioFormat.Encoding

GetTargetFormats(Encoding, AudioFormat)

public static AudioFormat[] GetTargetFormats(AudioFormat.Encoding arg0, AudioFormat arg1)

Parameters

arg0 AudioFormat.Encoding

AudioFormat.Encoding

arg1 AudioFormat

AudioFormat

Returns

AudioFormat[]

AudioFormat

GetTargetLineInfo(Info)

public static Line.Info[] GetTargetLineInfo(Line.Info arg0)

Parameters

arg0 Line.Info

Line.Info

Returns

Info[]

Line.Info

IsConversionSupported(AudioFormat, AudioFormat)

public static bool IsConversionSupported(AudioFormat arg0, AudioFormat arg1)

Parameters

arg0 AudioFormat

AudioFormat

arg1 AudioFormat

AudioFormat

Returns

bool

bool

IsConversionSupported(Encoding, AudioFormat)

public static bool IsConversionSupported(AudioFormat.Encoding arg0, AudioFormat arg1)

Parameters

arg0 AudioFormat.Encoding

AudioFormat.Encoding

arg1 AudioFormat

AudioFormat

Returns

bool

bool

IsFileTypeSupported(Type)

public static bool IsFileTypeSupported(AudioFileFormat.Type arg0)

Parameters

arg0 AudioFileFormat.Type

AudioFileFormat.Type

Returns

bool

bool

IsFileTypeSupported(Type, AudioInputStream)

public static bool IsFileTypeSupported(AudioFileFormat.Type arg0, AudioInputStream arg1)

Parameters

arg0 AudioFileFormat.Type

AudioFileFormat.Type

arg1 AudioInputStream

AudioInputStream

Returns

bool

bool

IsLineSupported(Info)

public static bool IsLineSupported(Line.Info arg0)

Parameters

arg0 Line.Info

Line.Info

Returns

bool

bool

Write(AudioInputStream, Type, File)

public static int Write(AudioInputStream arg0, AudioFileFormat.Type arg1, File arg2)

Parameters

arg0 AudioInputStream

AudioInputStream

arg1 AudioFileFormat.Type

AudioFileFormat.Type

arg2 File

File

Returns

int

int

Exceptions

IOException

Write(AudioInputStream, Type, OutputStream)

public static int Write(AudioInputStream arg0, AudioFileFormat.Type arg1, OutputStream arg2)

Parameters

arg0 AudioInputStream

AudioInputStream

arg1 AudioFileFormat.Type

AudioFileFormat.Type

arg2 OutputStream

OutputStream

Returns

int

int

Exceptions

IOException