Search in sources :

Example 1 with Decoder

use of javazoom.jl.decoder.Decoder in project JWildfire by thargor6.

the class JWFAudioDevice method getAudioFormat.

protected AudioFormat getAudioFormat() {
    if (audioFormat == null) {
        Decoder decoder = getDecoder();
        audioFormat = new AudioFormat(decoder.getOutputFrequency(), 16, decoder.getOutputChannels(), true, false);
    }
    return audioFormat;
}
Also used : Decoder(javazoom.jl.decoder.Decoder) AudioFormat(javax.sound.sampled.AudioFormat)

Aggregations

AudioFormat (javax.sound.sampled.AudioFormat)1 Decoder (javazoom.jl.decoder.Decoder)1