[alsa-devel] Timeout issues in wait_for_avail function