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

Commit eb1159fb authored by François Gaffie's avatar François Gaffie Committed by Jiabin Huang
Browse files

AAudio: add missing unmarshalling code from spatializer CL



Bug: 261513952
Test: atest test_aaudio_attributes

Change-Id: I40ac1503e2edca5c2812e4886ad45cc36b1eb271
Signed-off-by: default avatarFrançois Gaffie <francois.gaffie@renault.com>
parent a05bc448
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -92,6 +92,10 @@ StreamParameters AAudioStreamConfiguration::parcelable() const {
    result.usage = getUsage();
    static_assert(sizeof(aaudio_content_type_t) == sizeof(result.contentType));
    result.contentType = getContentType();
    static_assert(
            sizeof(aaudio_spatialization_behavior_t) == sizeof(result.spatializationBehavior));
    result.spatializationBehavior = getSpatializationBehavior();
    result.isContentSpatialized = isContentSpatialized();
    static_assert(sizeof(aaudio_input_preset_t) == sizeof(result.inputPreset));
    result.inputPreset = getInputPreset();
    result.bufferCapacity = getBufferCapacity();