mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-14 00:05:03 -05:00
[alsa] Remove risky negative enum (risky when AND'ing with ALSA_F_STARTED)
This commit is contained in:
parent
d3db30e46d
commit
8a9d8c31da
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user