Commit bea73835 authored by David Reid's avatar David Reid

A very minor change for style consistency.

parent 6e1b0dbc
......@@ -38407,7 +38407,8 @@ error_disconnected:
result = ma_device_start__aaudio(pDevice);
if (result != MA_SUCCESS) {
/* We got disconnected! Retry a few times, until we find a connected device! */
if (++retries <= 3) {
retries += 1;
if (retries <= 3) {
ma_log_postf(ma_device_get_log(pDevice), MA_LOG_LEVEL_INFO, "[AAudio] Failed to start stream after route change, retrying(%d)", retries);
goto error_disconnected;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment