move check for n_speakers so that we avoid needless work