Max lines always 1?

Greetings

I have been playing with the code in Developing Games in Java (Brackeen et al.), and I found some strange behavior on linux. I am running Mandriva 2006, and when I try to access the maximum number of lines, I always get one. Relevant code is:

public static int getMaxSimultaneousSounds(AudioFormat playbackFormat) {
    DataLine.Info lineInfo = new DataLine.Info(SourceDataLine.class,   playbackFormat);
    Mixer mixer = AudioSystem.getMixer(null);
    return mixer.getMaxLines(lineInfo);
  }

Has anyone else encountered this behavior or know a way around it?