Package ipsk.audio.ajs
Class AJSAudioSystem
- java.lang.Object
-
- ipsk.audio.ThreadSafeAudioSystem
-
- ipsk.audio.ajs.AJSAudioSystem
-
public class AJSAudioSystem extends ThreadSafeAudioSystem
- Author:
- klausj
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AJSAudioSystem.DeviceType
-
Field Summary
-
Fields inherited from class ipsk.audio.ThreadSafeAudioSystem
NOT_SPECIFIED
-
-
Constructor Summary
Constructors Constructor Description AJSAudioSystem()
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from class ipsk.audio.ThreadSafeAudioSystem
_write, getAudioFileFormat, getAudioFileFormat, getAudioFileReaderTypes, getAudioFileTypes, getAudioInputStream, getAudioInputStream, getAudioInputStream, getAudioInputStream, isEnabled, reload, setEnabled, write
-
-
-
-
Method Detail
-
getFreeDesktopApplicationIconName
public static java.lang.String getFreeDesktopApplicationIconName()
- Returns:
- the freeDesktopApplicationIconName
-
setFreeDesktopApplicationIconName
public static void setFreeDesktopApplicationIconName(java.lang.String freeDesktopApplicationIconName)
- Parameters:
freeDesktopApplicationIconName
- the freeDesktopApplicationIconName to set
-
getApplicationName
public static java.lang.String getApplicationName()
- Returns:
- the applicationName
-
setApplicationName
public static void setApplicationName(java.lang.String applicationName)
- Parameters:
applicationName
- the applicationName to set
-
init
public static void init()
-
listMixerProviderDescriptors
public static java.util.List<MixerProviderServiceDescriptor> listMixerProviderDescriptors()
-
getMixerProvider
public static javax.sound.sampled.spi.MixerProvider getMixerProvider(MixerProviderServiceDescriptor mpsd)
-
getMixerProviderServiceDescriptor
public static MixerProviderServiceDescriptor getMixerProviderServiceDescriptor(javax.sound.sampled.spi.MixerProvider mp)
-
getDefaultResolvedCaptureDevice
public static AJSDevice getDefaultResolvedCaptureDevice()
-
getResolvedCaptureDevice
public static AJSDevice getResolvedCaptureDevice(AJSDeviceInfo deviceInfo)
-
getDefaultResolvedPlaybackDevice
public static AJSDevice getDefaultResolvedPlaybackDevice()
-
getResolvedPlaybackDevice
public static AJSDevice getResolvedPlaybackDevice(AJSDeviceInfo deviceInfo)
-
getDevice
public static AJSDevice getDevice(AJSDeviceInfo deviceInfo)
-
availableCaptureMixerInfos
public static java.util.List<javax.sound.sampled.Mixer.Info> availableCaptureMixerInfos(MixerProviderServiceDescriptor mixerProviderServiceDescriptor)
-
availableCaptureDeviceInfos
public static java.util.List<AJSDeviceInfo> availableCaptureDeviceInfos(MixerProviderServiceDescriptor mixerProviderServiceDescriptor)
-
availablePlaybackMixerInfos
public static java.util.List<javax.sound.sampled.Mixer.Info> availablePlaybackMixerInfos(MixerProviderServiceDescriptor mixerProviderServiceDescriptor)
-
availablePlaybackDeviceInfos
public static java.util.List<AJSDeviceInfo> availablePlaybackDeviceInfos(MixerProviderServiceDescriptor mixerProviderServiceDescriptor)
-
getDefaultCaptureDeviceInfo
public static AJSDeviceInfo getDefaultCaptureDeviceInfo()
-
getDefaultCaptureDevice
public static AJSDevice getDefaultCaptureDevice()
-
getDefaultPlaybackDeviceInfo
public static AJSDeviceInfo getDefaultPlaybackDeviceInfo()
-
getDefaultPlaybackDevice
public static AJSDevice getDefaultPlaybackDevice()
-
main
public static void main(java.lang.String[] args)
-
getLine
public static javax.sound.sampled.DataLine getLine(javax.sound.sampled.DataLine.Info lineInfo) throws javax.sound.sampled.LineUnavailableException
- Parameters:
lineInfo
- audio line info- Returns:
- capture audio line
- Throws:
javax.sound.sampled.LineUnavailableException
-
-