Pass G_IO_ERR to asound_poll_cb, and exit gracefully if an error happens. Without this, it never passes the error and infinitely loops as fast as it can, causing 100% CPU utilization.
Signed-off-by: Steven Honeyman stevenhoneyman@users.noreply.github.com
Pass G_IO_ERR to asound_poll_cb, and exit gracefully if an error happens. Without this, it never passes the error and infinitely loops as fast as it can, causing 100% CPU utilization.
Signed-off-by: Steven Honeyman stevenhoneyman@users.noreply.github.com