• Max Kellermann's avatar
    merged start, stop, seek into DecoderControl.command · 8d3942e0
    Max Kellermann authored
    Much of the existing code queries all three variables sequentially.
    Since only one of them can be set at a time, this can be optimized and
    unified by merging all of them into one enum variable.  Later, the
    "command" checks can be expressed in a "switch" statement.
    8d3942e0
playerData.c 2.55 KB