Philippe G 3 年之前
父节点
当前提交
7b361a0c2c
共有 1 个文件被更改,包括 1 次插入3 次删除
  1. 1 3
      components/squeezelite/decode_external.c

+ 1 - 3
components/squeezelite/decode_external.c

@@ -92,9 +92,7 @@ static void sink_data_handler(const uint8_t *data, uint32_t len)
 		// allow i2s to empty the buffer if needed
 		if (len && !space) {
 			wait--;
-			UNLOCK_O;
-			usleep(50000);
-			LOCK_O;
+			UNLOCK_O; usleep(50000); LOCK_O;
 		}
 	}