I thought I can find anything on this great site but now I seem to face the issue with no answer :) Please help!

Thing is, I need to play up to 6 different wav files with 1 channel each into 6 channels supported by system mixer (left, right, surround left, etc).

Using 6 different SourceDataLines looks logical but from what I see, Mixer cannot do per-sample synchronisation for them, so I came up with interleaving them in separate thread and use only one SourceDataLine to play it. It works fine for two channels, left and right but for more channels I need to know precise channels layout (may be different on diff. system, and sound cards). I thought that one of system Mixers (I have two: "linear input" and "java sound system mixer") might have this metadata but I can't find it.

Does anybody know how to get this info?

Thanks.