|
|
|
|
@ -46,7 +46,7 @@ public Format[] getSupportedOutputFormats(Format in)
|
|
|
|
|
|
|
|
|
|
if (in == null)
|
|
|
|
|
{
|
|
|
|
|
return new Format[]{new AudioFormat("ALAW")};
|
|
|
|
|
return new Format[]{new AudioFormat(AudioFormat.ALAW)};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (matches(in, inputFormats) == null)
|
|
|
|
|
@ -56,14 +56,14 @@ public Format[] getSupportedOutputFormats(Format in)
|
|
|
|
|
|
|
|
|
|
if (! (in instanceof AudioFormat))
|
|
|
|
|
{
|
|
|
|
|
return new Format[]{new AudioFormat("ALAW")};
|
|
|
|
|
return new Format[]{new AudioFormat(AudioFormat.ALAW)};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
AudioFormat af = (AudioFormat) in;
|
|
|
|
|
return new Format[]
|
|
|
|
|
{
|
|
|
|
|
new AudioFormat(
|
|
|
|
|
"ALAW",
|
|
|
|
|
AudioFormat.ALAW,
|
|
|
|
|
af.getSampleRate(),
|
|
|
|
|
af.getSampleSizeInBits(),
|
|
|
|
|
af.getChannels())
|
|
|
|
|
|