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

Commit 8a770c21 authored by jiabin's avatar jiabin
Browse files

Update doc for presentation end callback.

Bug: 381269808
Test: TH
Flag: DOCS_ONLY
Change-Id: Ib1fbfff6f1b4793df52e21384b0031601959f6b0
parent 0cbc6751
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()