public void setupFormat(int channels, int bitsPerSample, int sampleRate) {
        if (id != -1)
            throw new IllegalStateException("Already set up");

        this.channels = channels;
        this.bitsPerSample = bitsPerSample;
        this.sampleRate = sampleRate;
    }
Sets the format of the audio data.
@param channels # of channels, 1 = mono, 2 = stereo
@param bitsPerSample Bits per sample, e.g 8 bits, 16 bits.
@param sampleRate Sample rate, 44100, 22050, etc.
jme3-core/src/main/java/com/jme3/audio/AudioData.java