pcmToStereo

open fun pcmToStereo(pcm: Array<Byte>, channels: Int): Array<Byte>

Experimental method to downgrade pcm with 3 channels or more to stereo. Keeps the first two channels (16 bits little endian per sample) and drops the rest.

Return

pcm buffer in stereo (2 channels)