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

Commit 29457edb authored by Nate Myren's avatar Nate Myren
Browse files

Clarify AAudio.h method documentation

Test: build
Fixes: 188672443
Change-Id: Ifafb54295179e47a8899199adb42a046f2cd4e09
parent c379bfd7
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -635,13 +635,14 @@ AAUDIO_API aaudio_result_t AAudio_createStreamBuilder(AAudioStreamBuilder** buil
AAUDIO_API void AAudioStreamBuilder_setDeviceId(AAudioStreamBuilder* builder,
                                                int32_t deviceId) __INTRODUCED_IN(26);

// TODO b/182392769: reexamine if Identity can be used
/**
 * Declare the name of the package creating the stream.
 *
 * This is usually {@code Context#getPackageName()}.
 *
 * The default, if you do not call this function, is a random package in the calling uid.
 * The vast majority of apps have only one package per calling UID. If the package
 * name does not match the calling UID, then requests will be rejected.
 *
 * Available since API level 31.
 *
@@ -656,7 +657,7 @@ AAUDIO_API void AAudioStreamBuilder_setPackageName(AAudioStreamBuilder* builder,
 *
 * This is usually {@code Context#getAttributionTag()}.
 *
 * The default, if you do not call this function, is the default attribution tag.
 * The default, if you do not call this function, is null.
 *
 * Available since API level 31.
 *