Save This Page
Home » openjdk-7 » com.sun.media » sound » [javadoc | source]
com.sun.media.sound
static class: DirectAudioDevice.DirectDLI [javadoc | source]
java.lang.Object
   javax.sound.sampled.Line.Info
      javax.sound.sampled.DataLine.Info
         com.sun.media.sound.DirectAudioDevice$DirectDLI
Private inner class for the DataLine.Info objects adds a little magic for the isFormatSupported so that the automagic conversion of endianness and sign does not show up in the formats array. I.e. the formats array contains only the formats that are really supported by the hardware, but isFormatSupported() also returns true for formats with wrong endianness.
Field Summary
 AudioFormat[] hardwareFormats     
Method from com.sun.media.sound.DirectAudioDevice$DirectDLI Summary:
isFormatSupportedInHardware
Methods from javax.sound.sampled.DataLine$Info:
getFormats,   getMaxBufferSize,   getMinBufferSize,   isFormatSupported,   matches,   toString
Methods from javax.sound.sampled.Line$Info:
getLineClass,   matches,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.sun.media.sound.DirectAudioDevice$DirectDLI Detail:
 public boolean isFormatSupportedInHardware(AudioFormat format)