alsa: small cleanups

Use flags for buffers
This commit is contained in:
Wim Taymans 2018-03-08 11:02:21 +01:00
parent 5bff143eaf
commit e7bff4293d
4 changed files with 22 additions and 17 deletions

View file

@ -53,7 +53,8 @@ struct props {
struct buffer {
struct spa_buffer *outbuf;
struct spa_meta_header *h;
bool outstanding;
#define BUFFER_FLAG_OUT (1<<0)
uint32_t flags;
struct spa_list link;
};