Uses of Class
javax.sound.sampled.AudioFileFormat.Type
-
Packages that use AudioFileFormat.Type Package Description javax.sound.sampled Provides interfaces and classes for capture, processing, and playback of sampled audio data.javax.sound.sampled.spi Supplies abstract classes for service providers to subclass when offering new audio devices, sound file readers and writers, or audio format converters. -
-
Uses of AudioFileFormat.Type in javax.sound.sampled
Fields in javax.sound.sampled declared as AudioFileFormat.Type Modifier and Type Field Description static AudioFileFormat.TypeAudioFileFormat.Type. AIFCSpecifies an AIFF-C file.static AudioFileFormat.TypeAudioFileFormat.Type. AIFFSpecifies an AIFF file.static AudioFileFormat.TypeAudioFileFormat.Type. AUSpecifies an AU file.static AudioFileFormat.TypeAudioFileFormat.Type. SNDSpecifies a SND file.static AudioFileFormat.TypeAudioFileFormat.Type. WAVESpecifies a WAVE file.Methods in javax.sound.sampled that return AudioFileFormat.Type Modifier and Type Method Description static AudioFileFormat.Type[]AudioSystem. getAudioFileTypes()Obtains the file types for which file writing support is provided by the system.static AudioFileFormat.Type[]AudioSystem. getAudioFileTypes(AudioInputStream stream)Obtains the file types that the system can write from the audio input stream specified.AudioFileFormat.TypeAudioFileFormat. getType()Obtains the audio file type, such asWAVEorAU.Methods in javax.sound.sampled with parameters of type AudioFileFormat.Type Modifier and Type Method Description static booleanAudioSystem. isFileTypeSupported(AudioFileFormat.Type fileType)Indicates whether file writing support for the specified file type is provided by the system.static booleanAudioSystem. isFileTypeSupported(AudioFileFormat.Type fileType, AudioInputStream stream)Indicates whether an audio file of the specified file type can be written from the indicated audio input stream.static intAudioSystem. write(AudioInputStream stream, AudioFileFormat.Type fileType, File out)Writes a stream of bytes representing an audio file of the specified file type to the external file provided.static intAudioSystem. write(AudioInputStream stream, AudioFileFormat.Type fileType, OutputStream out)Writes a stream of bytes representing an audio file of the specified file type to the output stream provided.Constructors in javax.sound.sampled with parameters of type AudioFileFormat.Type Constructor Description AudioFileFormat(AudioFileFormat.Type type, int byteLength, AudioFormat format, int frameLength)Constructs an audio file format object.AudioFileFormat(AudioFileFormat.Type type, AudioFormat format, int frameLength)Constructs an audio file format object.AudioFileFormat(AudioFileFormat.Type type, AudioFormat format, int frameLength, Map<String,Object> properties)Construct an audio file format object with a set of defined properties. -
Uses of AudioFileFormat.Type in javax.sound.sampled.spi
Methods in javax.sound.sampled.spi that return AudioFileFormat.Type Modifier and Type Method Description abstract AudioFileFormat.Type[]AudioFileWriter. getAudioFileTypes()Obtains the file types for which file writing support is provided by this audio file writer.abstract AudioFileFormat.Type[]AudioFileWriter. getAudioFileTypes(AudioInputStream stream)Obtains the file types that this audio file writer can write from the audio input stream specified.Methods in javax.sound.sampled.spi with parameters of type AudioFileFormat.Type Modifier and Type Method Description booleanAudioFileWriter. isFileTypeSupported(AudioFileFormat.Type fileType)Indicates whether file writing support for the specified file type is provided by this audio file writer.booleanAudioFileWriter. isFileTypeSupported(AudioFileFormat.Type fileType, AudioInputStream stream)Indicates whether an audio file of the type specified can be written from the audio input stream indicated.abstract intAudioFileWriter. write(AudioInputStream stream, AudioFileFormat.Type fileType, File out)Writes a stream of bytes representing an audio file of the file format indicated to the external file provided.abstract intAudioFileWriter. write(AudioInputStream stream, AudioFileFormat.Type fileType, OutputStream out)Writes a stream of bytes representing an audio file of the file type indicated to the output stream provided.
-