jdk/src/share/classes/javax/sound/sampled/AudioFormat.java
changeset 21278 ef8a3a2a72f2
parent 20117 44caeeb854dd
child 22584 eed64ee05369
equal deleted inserted replaced
21277:bd380b80f9ea 21278:ef8a3a2a72f2
    29 import java.util.HashMap;
    29 import java.util.HashMap;
    30 import java.util.Map;
    30 import java.util.Map;
    31 
    31 
    32 /**
    32 /**
    33  * <code>AudioFormat</code> is the class that specifies a particular arrangement of data in a sound stream.
    33  * <code>AudioFormat</code> is the class that specifies a particular arrangement of data in a sound stream.
    34  * By examing the information stored in the audio format, you can discover how to interpret the bits in the
    34  * By examining the information stored in the audio format, you can discover how to interpret the bits in the
    35  * binary sound data.
    35  * binary sound data.
    36  * <p>
    36  * <p>
    37  * Every data line has an audio format associated with its data stream. The audio format of a source (playback) data line indicates
    37  * Every data line has an audio format associated with its data stream. The audio format of a source (playback) data line indicates
    38  * what kind of data the data line expects to receive for output.  For a target (capture) data line, the audio format specifies the kind
    38  * what kind of data the data line expects to receive for output.  For a target (capture) data line, the audio format specifies the kind
    39  * of the data that can be read from the line.
    39  * of the data that can be read from the line.