optimize GPIO expander + external decoder fix

- external decoders sink callback had infinite loop when output buffer was full and would never empty
- race condition when playback stopped/restarted while waiting for output buffer to empty
This commit is contained in:
Philippe G
2021-12-10 23:03:13 -08:00
parent af7c181063
commit 344730e1bc
3 changed files with 45 additions and 16 deletions

View File

@@ -16,7 +16,7 @@ struct gpio_exp_s;
typedef struct {
char model[32];
uint8_t intr;
int intr;
uint8_t count;
uint32_t base;
struct gpio_exp_phy_s {