def bf_inputs(cbf, bf):
    """Input labels associated with specified beamformer."""
    reply = cbf.req.dbe_label_input()
    return [] if not reply.succeeded else \
           [m.arguments[0] for m in reply.messages[1:] if m.arguments[3] == bf]