[alsa] Remove risky negative enum (risky when AND'ing with ALSA_F_STARTED)

This commit is contained in:
ejurgensen 2016-08-13 17:08:14 +02:00
parent d3db30e46d
commit 8a9d8c31da

View File

@ -60,11 +60,10 @@ static int offset;
enum alsa_state
{
ALSA_STATE_STOPPED = 0,
ALSA_STATE_FAILED = 0,
ALSA_STATE_STOPPED = 1,
ALSA_STATE_STARTED = ALSA_F_STARTED,
ALSA_STATE_STREAMING = ALSA_F_STARTED | 0x01,
ALSA_STATE_FAILED = -1,
};
enum alsa_sync_state