Flash audio output is always stereo. Compute number of samples accordingly.