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

Commit 766e025a authored by android-build-team Robot's avatar android-build-team Robot
Browse files

release-request-319cd093-b0d8-4b32-b6ef-e921d10edf73-for-git_oc-dr1-release-40...

release-request-319cd093-b0d8-4b32-b6ef-e921d10edf73-for-git_oc-dr1-release-4012016 snap-temp-L54300000064339674

Change-Id: I049904a05dce0d25ed28c50e2dbacb06e0b606ef
parents aec1a388 42424bd4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -410,6 +410,7 @@ status_t DrmHal::destroyPlugin() {
    }

    setListener(NULL);
    mPlugin->setListener(NULL);
    mPlugin.clear();

    return OK;
+17 −14
Original line number Diff line number Diff line
@@ -209,14 +209,13 @@ AAUDIO_API void AAudioStreamBuilder_setDeviceId(AAudioStreamBuilder* builder,
/**
 * Request a sample rate in Hertz.
 *
 * The stream may be opened with a different sample rate.
 * So the application should query for the actual rate after the stream is opened.
 *
 * Technically, this should be called the "frame rate" or "frames per second",
 * because it refers to the number of complete frames transferred per second.
 * But it is traditionally called "sample rate". So we use that term.
 *
 * The default, if you do not call this function, is AAUDIO_UNSPECIFIED.
 * An optimal value will then be chosen when the stream is opened.
 * After opening a stream with an unspecified value, the application must
 * query for the actual value, which may vary by device.
 *
 * If an exact value is specified then an opened stream will use that value.
 * If a stream cannot be opened with the specified value then the open will fail.
 *
 * @param builder reference provided by AAudio_createStreamBuilder()
 * @param sampleRate frames per second. Common rates include 44100 and 48000 Hz.
@@ -227,12 +226,13 @@ AAUDIO_API void AAudioStreamBuilder_setSampleRate(AAudioStreamBuilder* builder,
/**
 * Request a number of channels for the stream.
 *
 * The stream may be opened with a different value.
 * So the application should query for the actual value after the stream is opened.
 *
 * The default, if you do not call this function, is AAUDIO_UNSPECIFIED.
 * An optimal value will then be chosen when the stream is opened.
 * After opening a stream with an unspecified value, the application must
 * query for the actual value, which may vary by device.
 *
 * Note, this quantity is sometimes referred to as "samples per frame".
 * If an exact value is specified then an opened stream will use that value.
 * If a stream cannot be opened with the specified value then the open will fail.
 *
 * @param builder reference provided by AAudio_createStreamBuilder()
 * @param channelCount Number of channels desired.
@@ -252,12 +252,15 @@ AAUDIO_API void AAudioStreamBuilder_setSamplesPerFrame(AAudioStreamBuilder* buil
 * Request a sample data format, for example AAUDIO_FORMAT_PCM_I16.
 *
 * The default, if you do not call this function, is AAUDIO_UNSPECIFIED.
 * An optimal value will then be chosen when the stream is opened.
 * After opening a stream with an unspecified value, the application must
 * query for the actual value, which may vary by device.
 *
 * The stream may be opened with a different value.
 * So the application should query for the actual value after the stream is opened.
 * If an exact value is specified then an opened stream will use that value.
 * If a stream cannot be opened with the specified value then the open will fail.
 *
 * @param builder reference provided by AAudio_createStreamBuilder()
 * @param format Most common formats are AAUDIO_FORMAT_PCM_FLOAT and AAUDIO_FORMAT_PCM_I16.
 * @param format common formats are AAUDIO_FORMAT_PCM_FLOAT and AAUDIO_FORMAT_PCM_I16.
 */
AAUDIO_API void AAudioStreamBuilder_setFormat(AAudioStreamBuilder* builder,
                                                   aaudio_audio_format_t format);
+3 −3
Original line number Diff line number Diff line
@@ -14,8 +14,8 @@
 * limitations under the License.
 */

#ifndef AAUDIO_AAUDIO_BINDER_CLIENT_H
#define AAUDIO_AAUDIO_BINDER_CLIENT_H
#ifndef ANDROID_AAUDIO_AAUDIO_BINDER_CLIENT_H
#define ANDROID_AAUDIO_AAUDIO_BINDER_CLIENT_H

#include <aaudio/AAudio.h>
#include "AAudioServiceDefinitions.h"
@@ -91,4 +91,4 @@ public:

} /* namespace aaudio */

#endif //AAUDIO_AAUDIO_BINDER_CLIENT_H
#endif //ANDROID_AAUDIO_AAUDIO_BINDER_CLIENT_H
+3 −3
Original line number Diff line number Diff line
@@ -14,8 +14,8 @@
 * limitations under the License.
 */

#ifndef AAUDIO_BINDING_AAUDIO_SERVICE_INTERFACE_H
#define AAUDIO_BINDING_AAUDIO_SERVICE_INTERFACE_H
#ifndef ANDROID_AAUDIO_BINDING_AAUDIO_SERVICE_INTERFACE_H
#define ANDROID_AAUDIO_BINDING_AAUDIO_SERVICE_INTERFACE_H

#include "binding/AAudioServiceDefinitions.h"
#include "binding/AAudioStreamRequest.h"
@@ -87,4 +87,4 @@ public:

} /* namespace aaudio */

#endif //AAUDIO_BINDING_AAUDIO_SERVICE_INTERFACE_H
#endif //ANDROID_AAUDIO_BINDING_AAUDIO_SERVICE_INTERFACE_H
+3 −3
Original line number Diff line number Diff line
@@ -14,8 +14,8 @@
 * limitations under the License.
 */

#ifndef AAUDIO_AAUDIO_SERVICE_MESSAGE_H
#define AAUDIO_AAUDIO_SERVICE_MESSAGE_H
#ifndef ANDROID_AAUDIO_AAUDIO_SERVICE_MESSAGE_H
#define ANDROID_AAUDIO_AAUDIO_SERVICE_MESSAGE_H

#include <stdint.h>

@@ -64,4 +64,4 @@ typedef struct AAudioServiceMessage_s {

} /* namespace aaudio */

#endif //AAUDIO_AAUDIO_SERVICE_MESSAGE_H
#endif //ANDROID_AAUDIO_AAUDIO_SERVICE_MESSAGE_H
Loading