Fix sample count and rate with audio_index=all.