Skip to content

Commit 11d96a5

Browse files
committed
add comments
1 parent 703177f commit 11d96a5

File tree

1 file changed

+1
-0
lines changed
  • firebase-ai/src/main/kotlin/com/google/firebase/ai/common/util

1 file changed

+1
-0
lines changed

firebase-ai/src/main/kotlin/com/google/firebase/ai/common/util/android.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ internal fun AudioRecord.readAsFlow() = flow {
4040

4141
while (true) {
4242
if (recordingState != AudioRecord.RECORDSTATE_RECORDING) {
43+
// TODO(vguthal): Investigate if both yield and delay are required.
4344
delay(10.milliseconds)
4445
yield()
4546
continue

0 commit comments

Comments
 (0)