java - How do I combine multiple javax.sound.sampled.TargetDataLines? -


i'm creating voip server & client system, 1/amount of users connected of voice packets played. think it's because can play 1 stream of audio 1 targetdataline, , 1 targetdataline per device. , i'm writing multiple audio streams each second.

i'm calling line.write(t, 0, t.length); line targetdataline, , t byte array containing samples. there way combine multiple audio streams 1 mono stream before redistributing between clients?

i figured out(i googling wrong), need add samples together, , bitwise , frame size.


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -