Number of samples must be equal between left and right channels.
If you want to feed encoder single PCM data, then use MonoPcm
In case length of channels is not equal, it will always feed encoder minimum of both length.
In debug mode it will panic in this case also to warn you of error.