In Alvas.Audio you need use AudioCompressionManager.MergeStereo and AudioCompressionManager.SplitStereo methods
See pseudo code below
AudioCompressionManager.SplitStereo(stereo, left, right);
PlayerEx plex = new PlayexEx();
plex.Done += new PlayerEx.DoneEventHandler(plex_Done);
plex.OpenPlayer(format);
plex.StartPlay();
enum State { Left, Right, Both }
void plex_Done(object sender, DoneEventArgs e) {
byte[] left50ms = Cut(left, 50);
byte[] right50ms = Cut(right, 50);
switch (State) {
case State.Left:
plex.AddData(AudioCompressionManager.MergeStereo(left50ms, left50ms));
break;
case State.Right:
plex.AddData(AudioCompressionManager.MergeStereo(right50ms, right50ms));
break;
case State.Both:
plex.AddData(AudioCompressionManager.MergeStereo(left50ms, right50ms));
break;
}