Skip to content

Commit 09a3663

Browse files
committed
use data
1 parent b2606b1 commit 09a3663

File tree

1 file changed

+3
-3
lines changed
  • firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/type

1 file changed

+3
-3
lines changed

firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/type/LiveSession.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,13 +183,13 @@ internal constructor(
183183
private fun playServerResponseAudio() {
184184
CoroutineScope(backgroundDispatcher).launch {
185185
while (isRecording) {
186-
val x = playBackQueue.poll()
187-
if (x == null) {
186+
val data = playBackQueue.poll()
187+
if (data == null) {
188188
audioHelper?.start()
189189
continue
190190
}
191191
audioHelper?.stopRecording()
192-
audioHelper?.playAudio(x)
192+
audioHelper?.playAudio(data)
193193
}
194194
}
195195
}

0 commit comments

Comments
 (0)