def get_alsaplayer(session=0, name="alsaplayer", device=DEVICE, extraopts="", logfile=None):
    opts = "-i daemon -q -n %s -s '%s' -d %s --nosave" % (session, name, device)
    CMD = "%s %s %s" % (PLAYER, opts, extraopts)
    aplayer = proctools.spawnpipe(CMD, logfile=logfile)
    return aplayer
Return a process object for the alsaplayer.
dataset/ETHPy150Open kdart/pycopia/audio/pycopia/audio/alsaplayer.py/get_alsaplayer