Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 14e91c16 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Update doc for presentation end callback." into main

parents 1cb0b527 8a770c21
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -1721,9 +1721,13 @@ typedef void (*AAudioStream_presentationEndCallback)(AAudioStream* _Nonnull stre
 * audio hardware) have been played.
 *
 * The presentation end callback must be used together with the data callback.
 * The presentation edn callback won't be called if the stream is closed before all the data
 * The presentation end callback won't be called if the stream is closed before all the data
 * is played.
 *
 * The callback function will be called from the same thread as the data callback thread,
 * which is a real-time thread owned by audio framework.
 * The callback function will not be called after AAudioStream_close() is called.
 *
 * Available since API level 36.
 *
 * @param builder reference provided by AAudio_createStreamBuilder()