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

Commit ec3fa35d authored by jiabin's avatar jiabin
Browse files

Update doc of setUsage and setContentType in AAudioStreamBuilder.

The usage and content type are only used for output stream. Update the
doc of AAudioStreamBuilder_setUsage/setContentType to indicate this two
APIs must only be used for output stream.

Test: make
Bug: 143772798
Change-Id: I8b500aa1d5b660d19552cbbaec305d3a8c37e39d
parent 1d2a1593
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -689,7 +689,7 @@ AAUDIO_API void AAudioStreamBuilder_setPerformanceMode(AAudioStreamBuilder* buil
        aaudio_performance_mode_t mode) __INTRODUCED_IN(26);

/**
 * Set the intended use case for the stream.
 * Set the intended use case for the output stream.
 *
 * The AAudio system will use this information to optimize the
 * behavior of the stream.
@@ -706,7 +706,7 @@ AAUDIO_API void AAudioStreamBuilder_setUsage(AAudioStreamBuilder* builder,
        aaudio_usage_t usage) __INTRODUCED_IN(28);

/**
 * Set the type of audio data that the stream will carry.
 * Set the type of audio data that the output stream will carry.
 *
 * The AAudio system will use this information to optimize the
 * behavior of the stream.