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

Commit 18d21b8c authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "aaudio: fix routing for FAST track"

parents b66931ce ed816010
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -113,7 +113,7 @@ aaudio_result_t AudioStreamRecord::open(const AudioStreamBuilder& builder)
            .content_type = contentType,
            .usage = AUDIO_USAGE_UNKNOWN, // only used for output
            .source = source,
            .flags = flags, // If attributes are set then the other flags parameter is ignored.
            .flags = AUDIO_FLAG_NONE, // Different than the AUDIO_INPUT_FLAGS
            .tags = ""
    };

+2 −1
Original line number Diff line number Diff line
@@ -22,6 +22,7 @@
#include <media/AudioTrack.h>

#include <aaudio/AAudio.h>
#include <system/audio.h>
#include "utility/AudioClock.h"
#include "legacy/AudioStreamLegacy.h"
#include "legacy/AudioStreamTrack.h"
@@ -130,7 +131,7 @@ aaudio_result_t AudioStreamTrack::open(const AudioStreamBuilder& builder)
            .content_type = contentType,
            .usage = usage,
            .source = AUDIO_SOURCE_DEFAULT, // only used for recording
            .flags = flags, // If attributes are set then the other flags parameter is ignored.
            .flags = AUDIO_FLAG_NONE, // Different than the AUDIO_OUTPUT_FLAGS
            .tags = ""
    };