Dehardcode magic numbers in memory.c - replace with AI_STATUS_FIFO_FULL,
AI_STATUS_DMA_BUSY