Searched refs:ALAW (Results 1 - 13 of 13) sorted by relevance

/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DAlawCodec.java48 private static final AudioFormat.Encoding[] alawEncodings = { AudioFormat.Encoding.ALAW, AudioFormat.Encoding.PCM_SIGNED };
78 * Constructs a new ALAW codec object.
96 enc[0] = AudioFormat.Encoding.ALAW;
102 } else if( sourceFormat.getEncoding().equals( AudioFormat.Encoding.ALAW ) ) {
122 if( (targetEncoding.equals( AudioFormat.Encoding.PCM_SIGNED ) && sourceFormat.getEncoding().equals( AudioFormat.Encoding.ALAW)) ||
123 (targetEncoding.equals( AudioFormat.Encoding.ALAW) && sourceFormat.getEncoding().equals( AudioFormat.Encoding.PCM_SIGNED)) ) {
143 if( sourceEncoding.equals( AudioFormat.Encoding.ALAW ) &&
155 targetEncoding.equals( AudioFormat.Encoding.ALAW ) ) {
220 format = new AudioFormat(AudioFormat.Encoding.ALAW,
230 if (AudioFormat.Encoding.ALAW
[all...]
H A DAuFileFormat.java78 if( AudioFormat.Encoding.ALAW.equals(encoding) ) {
H A DWaveFileFormat.java88 if( encoding.equals(AudioFormat.Encoding.ALAW) ) {
H A DAiffFileWriter.java74 if( (AudioFormat.Encoding.ALAW.equals(encoding)) ||
177 if( (AudioFormat.Encoding.ALAW.equals(streamEncoding)) ||
188 // can't convert non-8-bit ALAW,ULAW
326 (AudioFormat.Encoding.ALAW.equals(encoding)) ) {
333 // writing PCM when ULAW/ALAW is requested. AIFC is able to write ULAW !
H A DWaveFileWriter.java96 if( AudioFormat.Encoding.ALAW.equals(encoding) ||
188 if( AudioFormat.Encoding.ALAW.equals(streamEncoding) ||
193 if (streamEncoding.equals(AudioFormat.Encoding.ALAW)) {
H A DAuFileWriter.java73 if( (AudioFormat.Encoding.ALAW.equals(encoding)) ||
161 if( (AudioFormat.Encoding.ALAW.equals(streamEncoding)) ||
H A DToolkit.java160 && !format.getEncoding().equals(AudioFormat.Encoding.ALAW)) {
H A DAuFileReader.java130 encoding = AudioFormat.Encoding.ALAW;
H A DDirectAudioDevice.java282 case ALAW:
283 enc = AudioFormat.Encoding.ALAW;
285 if (Printer.err) Printer.err("DirectAudioDevice.addFormat called with ALAW, but bitsPerSample="+bits);
436 else if (format.getEncoding().equals(AudioFormat.Encoding.ALAW)) {
437 encoding = ALAW;
H A DWaveFileReader.java298 encoding = AudioFormat.Encoding.ALAW;
H A DAbstractMixer.java47 protected static final int ALAW = 2; field in class:AbstractMixer
/openjdk7/jdk/test/javax/sound/sampled/FileWriter/
H A DAlawEncoderSync.java24 = new AudioFormat(AudioFormat.Encoding.ALAW, 8000f, 8, 2, 2, 8000f, false);
/openjdk7/jdk/src/share/classes/javax/sound/sampled/
H A DAudioFormat.java263 * @see Encoding#ALAW
609 public static final Encoding ALAW = new Encoding("ALAW"); field in class:AudioFormat.Encoding

Completed in 2793 milliseconds