jdk/src/share/classes/javax/sound/sampled/AudioSystem.java
changeset 8379 3cc0596f81a5
parent 6832 cb693e02b3ed
child 9035 1255eb81cc2f
equal deleted inserted replaced
8378:8df0a9fb4093 8379:3cc0596f81a5
   668      * and <code>getLine</code> internally.
   668      * and <code>getLine</code> internally.
   669      *
   669      *
   670      * <p>The returned <code>TargetDataLine</code>'s default
   670      * <p>The returned <code>TargetDataLine</code>'s default
   671      * audio format will be initialized with <code>format</code>.
   671      * audio format will be initialized with <code>format</code>.
   672      *
   672      *
       
   673      * <p>If the system property
       
   674      * {@code javax.sound.sampled.TargetDataLine}
       
   675      * is defined or it is defined in the file &quot;sound.properties&quot;,
       
   676      * it is used to retrieve the default target data line.
       
   677      * For details, refer to the {@link AudioSystem class description}.
       
   678      *
   673      * @param format an <code>AudioFormat</code> object specifying
   679      * @param format an <code>AudioFormat</code> object specifying
   674      *        the supported audio format of the returned line,
   680      *        the supported audio format of the returned line,
   675      *        or <code>null</code> for any audio format
   681      *        or <code>null</code> for any audio format
   676      * @return the desired <code>TargetDataLine</code> object
   682      * @return the desired <code>TargetDataLine</code> object
   677      *
   683      *
   709      * <p>This is a high-level method that uses <code>getMixer</code>
   715      * <p>This is a high-level method that uses <code>getMixer</code>
   710      * and <code>getLine</code> internally.
   716      * and <code>getLine</code> internally.
   711      *
   717      *
   712      * <p>The returned <code>TargetDataLine</code>'s default
   718      * <p>The returned <code>TargetDataLine</code>'s default
   713      * audio format will be initialized with <code>format</code>.
   719      * audio format will be initialized with <code>format</code>.
   714      *
       
   715      * <p>If the system property
       
   716      * <code>javax.sound.sampled.TargetDataLine</code>
       
   717      * is defined or it is defined in the file &quot;sound.properties&quot;,
       
   718      * it is used to retrieve the default target data line.
       
   719      * For details, refer to the {@link AudioSystem class description}.
       
   720      *
   720      *
   721      * @param format an <code>AudioFormat</code> object specifying
   721      * @param format an <code>AudioFormat</code> object specifying
   722      *        the supported audio format of the returned line,
   722      *        the supported audio format of the returned line,
   723      *        or <code>null</code> for any audio format
   723      *        or <code>null</code> for any audio format
   724      * @param mixerinfo a <code>Mixer.Info</code> object representing the
   724      * @param mixerinfo a <code>Mixer.Info</code> object representing the