We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2606b1 commit 09a3663Copy full SHA for 09a3663
firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/type/LiveSession.kt
@@ -183,13 +183,13 @@ internal constructor(
183
private fun playServerResponseAudio() {
184
CoroutineScope(backgroundDispatcher).launch {
185
while (isRecording) {
186
- val x = playBackQueue.poll()
187
- if (x == null) {
+ val data = playBackQueue.poll()
+ if (data == null) {
188
audioHelper?.start()
189
continue
190
}
191
audioHelper?.stopRecording()
192
- audioHelper?.playAudio(x)
+ audioHelper?.playAudio(data)
193
194
195
0 commit comments