pulse-server: handle seek flags and offset

Fixes #485
This commit is contained in:
Wim Taymans 2020-12-17 16:49:17 +01:00
parent 938e2b1451
commit e0580fedc1
2 changed files with 24 additions and 8 deletions

View file

@ -30,6 +30,11 @@
#define FLAG_SEEKMASK 0x000000FFLU
#define FLAG_SHMWRITABLE 0x00800000LU
#define SEEK_RELATIVE 0
#define SEEK_ABSOLUTE 1
#define SEEK_RELATIVE_ON_READ 2
#define SEEK_RELATIVE_END 3
#define FRAME_SIZE_MAX_ALLOW (1024*1024*16)
#define PROTOCOL_FLAG_MASK 0xffff0000u