def pad_data(pcm_frames, channels, bits_per_sample):
    """returns True if the given stream combination
    requires an extra padding byte at the end of the 'data' chunk"""
    return pcm_frames * channels * (bits_per_sample // 8) % 2
