Lines Matching defs:sourceFormat
72 public AudioFormat.Encoding[] getTargetEncodings(AudioFormat sourceFormat){
74 if( sourceFormat.getEncoding().equals( AudioFormat.Encoding.PCM_SIGNED ) ||
75 sourceFormat.getEncoding().equals( AudioFormat.Encoding.PCM_UNSIGNED ) ) {
89 public AudioFormat[] getTargetFormats(AudioFormat.Encoding targetEncoding, AudioFormat sourceFormat){
91 // filter out targetEncoding from the old getOutputFormats( sourceFormat ) method
93 AudioFormat[] formats = getOutputFormats( sourceFormat );
117 AudioFormat sourceFormat = sourceStream.getFormat();
119 sourceFormat.getSampleRate(),
120 sourceFormat.getSampleSizeInBits(),
121 sourceFormat.getChannels(),
122 sourceFormat.getFrameSize(),
123 sourceFormat.getFrameRate(),
124 sourceFormat.isBigEndian() );