def _get_soundfile_kwargs(device):
    """
    Return the soundfile options required by device.
    """
    assert device
    samplerate = int(device['default_samplerate'])
    return {
        'channels': 1, 
        'samplerate': samplerate
    }