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

Commit 41561764 authored by Phil Burk's avatar Phil Burk
Browse files

aaudio: more docs for AAudioStream_release

Describe a reason for calling it.

Bug: 148954731
Test: just a comment change
Change-Id: I0bfe53de84590c8ad72178a21c109af13c3b7e93
parent b5c0071b
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1030,6 +1030,10 @@ AAUDIO_API aaudio_result_t AAudioStreamBuilder_delete(AAudioStreamBuilder* buil
 *
 * After this call, the stream will be in {@link #AAUDIO_STREAM_STATE_CLOSING}
 *
 * This function is useful if you want to release the audio resources immediately,
 * but still allow queries to the stream to occur from other threads. This often
 * happens if you are monitoring stream progress from a UI thread.
 *
 * @param stream reference provided by AAudioStreamBuilder_openStream()
 * @return {@link #AAUDIO_OK} or a negative error.
 */